Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007861/0.0007861, allocations: 109.9 kB / 18.93 MB, free: 1.27 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000872/0.000872, allocations: 217.7 kB / 22.26 MB, free: 3.699 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9766/0.9766, allocations: 230.6 MB / 256 MB, free: 9.809 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.03754/0.03754, allocations: 12.18 MB / 324.6 MB, free: 6.289 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004735/0.0004735, allocations: 27.95 kB / 384.1 MB, free: 10.7 MB / 314.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo): time 1.725/1.725, allocations: 353.8 MB / 0.7787 GB, free: 3.102 MB / 0.5105 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Constant,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Constant,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: AixLib requested package Modelica_DeviceDrivers of version 2.1.1. Modelica_DeviceDrivers 2.2.0 is used instead which states that it is fully compatible without conversion script needed. Notification: AixLib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 122.8 kB / 1.06 GB, free: 25.02 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2124/0.2137, allocations: 134.9 MB / 1.192 GB, free: 7.867 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001333/0.215, allocations: 0.5686 MB / 1.192 GB, free: 7.301 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 3.626e-05/0.2151, allocations: 7.938 kB / 1.192 GB, free: 7.293 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.485e-05/0.2151, allocations: 4 kB / 1.192 GB, free: 7.289 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.136e-05/0.2151, allocations: 0 / 1.192 GB, free: 7.289 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 2.527e-05/0.2151, allocations: 0 / 1.192 GB, free: 7.289 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 2.622e-05/0.2152, allocations: 0 / 1.192 GB, free: 7.289 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 4.958e-05/0.2152, allocations: 0 / 1.192 GB, free: 7.289 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.327e-05/0.2153, allocations: 11.92 kB / 1.192 GB, free: 7.277 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 1.44e-05/0.2153, allocations: 3.938 kB / 1.192 GB, free: 7.273 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 1.669e-05/0.2153, allocations: 0 / 1.192 GB, free: 7.273 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.13e-05/0.2153, allocations: 0 / 1.192 GB, free: 7.273 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 5.47e-06/0.2153, allocations: 0 / 1.192 GB, free: 7.273 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.236e-05/0.2153, allocations: 3.984 kB / 1.192 GB, free: 7.27 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 2.017e-05/0.2153, allocations: 8 kB / 1.192 GB, free: 7.262 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 6.35e-05/0.2154, allocations: 4 kB / 1.192 GB, free: 7.258 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.2154, allocations: 0 / 1.192 GB, free: 7.258 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.494e-06/0.2154, allocations: 3.938 kB / 1.192 GB, free: 7.254 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.2154, allocations: 0 / 1.192 GB, free: 7.254 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002652/0.2157, allocations: 242.6 kB / 1.193 GB, free: 6.984 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.2157, allocations: 8.031 kB / 1.193 GB, free: 6.977 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.258e-05/0.2157, allocations: 30.75 kB / 1.193 GB, free: 6.938 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.83e-05/0.2158, allocations: 4.938 kB / 1.193 GB, free: 6.934 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.82e-05/0.2158, allocations: 110.5 kB / 1.193 GB, free: 6.801 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.017e-06/0.2158, allocations: 384 / 1.193 GB, free: 6.801 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.715e-06/0.2158, allocations: 384 / 1.193 GB, free: 6.801 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.639e-05/0.2159, allocations: 30.27 kB / 1.193 GB, free: 6.766 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.2159, allocations: 3.938 kB / 1.193 GB, free: 6.762 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.011e-06/0.2159, allocations: 0 / 1.193 GB, free: 6.762 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.2159, allocations: 4 kB / 1.193 GB, free: 6.758 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.347e-05/0.2159, allocations: 3.984 kB / 1.193 GB, free: 6.754 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002232/0.2162, allocations: 358.5 kB / 1.193 GB, free: 6.359 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.039e-05/0.2162, allocations: 169.1 kB / 1.193 GB, free: 6.184 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.486e-05/0.2162, allocations: 84.61 kB / 1.193 GB, free: 6.098 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.023e-05/0.2163, allocations: 79.28 kB / 1.193 GB, free: 6.02 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.118e-05/0.2164, allocations: 113.8 kB / 1.194 GB, free: 5.898 MB / 0.823 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.2164, allocations: 0 / 1.194 GB, free: 5.898 MB / 0.823 GB Notification: Performance of matching and sorting (n=0): time 5.284e-05/0.2164, allocations: 33.64 kB / 1.194 GB, free: 5.859 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001694/0.2166, allocations: 126.7 kB / 1.194 GB, free: 5.723 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.091e-05/0.2166, allocations: 93.86 kB / 1.194 GB, free: 5.621 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 6.562e-06/0.2166, allocations: 25.7 kB / 1.194 GB, free: 5.59 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 2.057e-05/0.2167, allocations: 84.14 kB / 1.194 GB, free: 5.504 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.753e-06/0.2167, allocations: 0 / 1.194 GB, free: 5.504 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.248e-05/0.2167, allocations: 17.84 kB / 1.194 GB, free: 5.48 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.635e-05/0.2167, allocations: 314.8 kB / 1.194 GB, free: 5.164 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.388e-06/0.2168, allocations: 0 / 1.194 GB, free: 5.164 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.015e-06/0.2168, allocations: 0 / 1.194 GB, free: 5.164 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.668e-05/0.2168, allocations: 75.28 kB / 1.194 GB, free: 5.09 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.645e-05/0.2168, allocations: 79.22 kB / 1.194 GB, free: 5.012 MB / 0.823 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.272e-05/0.2168, allocations: 33.64 kB / 1.194 GB, free: 4.973 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.477e-05/0.2168, allocations: 79.28 kB / 1.194 GB, free: 4.895 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.922e-05/0.2169, allocations: 91.2 kB / 1.195 GB, free: 4.805 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.148e-05/0.2169, allocations: 154.5 kB / 1.195 GB, free: 4.652 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.735e-05/0.2169, allocations: 83.22 kB / 1.195 GB, free: 4.57 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.94e-05/0.217, allocations: 150.6 kB / 1.195 GB, free: 4.422 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.353e-05/0.217, allocations: 88.62 kB / 1.195 GB, free: 4.336 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.217, allocations: 75.28 kB / 1.195 GB, free: 4.262 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.347e-05/0.2171, allocations: 265.4 kB / 1.195 GB, free: 3.992 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.27e-05/0.2171, allocations: 104.9 kB / 1.195 GB, free: 3.883 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.129e-05/0.2171, allocations: 112.1 kB / 1.196 GB, free: 3.766 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.738e-05/0.2172, allocations: 180.2 kB / 1.196 GB, free: 3.582 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-05/0.2172, allocations: 180.2 kB / 1.196 GB, free: 3.398 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.435e-05/0.2173, allocations: 180.3 kB / 1.196 GB, free: 3.215 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001517/0.2174, allocations: 380.2 kB / 1.196 GB, free: 2.793 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-05/0.2175, allocations: 105 kB / 1.197 GB, free: 2.684 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.214e-05/0.2175, allocations: 105 kB / 1.197 GB, free: 2.574 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.738e-05/0.2175, allocations: 184.2 kB / 1.197 GB, free: 2.387 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.978e-05/0.2176, allocations: 176.3 kB / 1.197 GB, free: 2.207 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.693e-05/0.2176, allocations: 184.5 kB / 1.197 GB, free: 2.02 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.834e-05/0.2176, allocations: 180.2 kB / 1.197 GB, free: 1.836 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.875e-05/0.2177, allocations: 315.7 kB / 1.198 GB, free: 1.504 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.134e-05/0.2178, allocations: 105 kB / 1.198 GB, free: 1.395 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.676e-05/0.2178, allocations: 192.2 kB / 1.198 GB, free: 1.199 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.167e-05/0.2178, allocations: 101 kB / 1.198 GB, free: 1.094 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.143e-05/0.2179, allocations: 188.2 kB / 1.198 GB, free: 0.9023 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.318e-05/0.2179, allocations: 101 kB / 1.198 GB, free: 0.7969 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.366e-05/0.2179, allocations: 75.28 kB / 1.198 GB, free: 0.7227 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.2179, allocations: 0 / 1.198 GB, free: 0.7227 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.000149/0.2181, allocations: 8.094 kB / 1.198 GB, free: 0.7148 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003377/0.2184, allocations: 0.8047 MB / 1.199 GB, free: 15.88 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 3.083e-05/0.2185, allocations: 0 / 1.199 GB, free: 15.88 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2185, allocations: 0 / 1.199 GB, free: 15.88 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 8.41e-07/0.2185, allocations: 4 kB / 1.199 GB, free: 15.88 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002297/0.2187, allocations: 461.6 kB / 1.2 GB, free: 15.42 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008529/0.2195, allocations: 1.535 MB / 1.201 GB, free: 13.81 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002106/0.2197, allocations: 0.6729 MB / 1.202 GB, free: 13.11 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 6.483e-06/0.2198, allocations: 128 / 1.202 GB, free: 13.11 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.051e-05/0.2198, allocations: 11.44 kB / 1.202 GB, free: 13.1 MB / 0.8387 GB Notification: Performance of SimCode: time 5.11e-07/0.2198, allocations: 7.875 kB / 1.202 GB, free: 13.09 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01288/0.2327, allocations: 1.012 MB / 1.203 GB, free: 12.2 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.09/6.323, allocations: 13.11 kB / 1.203 GB, free: 12.2 MB / 0.8387 GB " [Timeout remaining time 654] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Controls_OBC_CDL_Reals_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 AixLib_AixLib_Controls_OBC_CDL_Reals_Sources_Validation_Constant.fmu > AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.72670085541904] Failed to read output from testmodel.py, exit status != 0: 6.396038517355919 6.406474471 6.189287826 Calling exit ...