Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.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.0007572/0.0007572, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.0008161/0.0008161, allocations: 212.1 kB / 22.25 MB, free: 3.727 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.9483/0.9483, allocations: 230.6 MB / 256 MB, free: 9.594 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.79/0.79, allocations: 203.8 MB / 0.5042 GB, free: 10.45 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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(IDEAS.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.001003/0.001003, allocations: 68.2 kB / 0.7182 GB, free: 4.004 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5546/0.5556, allocations: 102 MB / 0.8178 GB, free: 1.043 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterProperties): time 0.004431/0.56, allocations: 4.24 MB / 0.822 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001891/0.5619, allocations: 2.446 MB / 0.8244 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.042e-05/0.562, allocations: 6.156 kB / 0.8244 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002935/0.5623, allocations: 41.89 kB / 0.8244 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002652/0.5625, allocations: 102.6 kB / 0.8245 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001071/0.5636, allocations: 0.5065 MB / 0.825 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003559/0.564, allocations: 235 kB / 0.8252 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.513e-05/0.564, allocations: 7.297 kB / 0.8252 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001131/0.5652, allocations: 496.3 kB / 0.8257 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001534/0.5653, allocations: 85.38 kB / 0.8258 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.31e-05/0.5653, allocations: 12.06 kB / 0.8258 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007588/0.5661, allocations: 482 kB / 0.8262 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.081e-05/0.5662, allocations: 45.33 kB / 0.8263 GB, free: 11.65 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.589e-05/0.5663, allocations: 67.7 kB / 0.8264 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004891/0.5667, allocations: 353.8 kB / 0.8267 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.5667, allocations: 0 / 0.8267 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.695e-06/0.5667, allocations: 0 / 0.8267 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.5668, allocations: 0 / 0.8267 GB, free: 11.5 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001259/0.568, allocations: 436.9 kB / 0.8271 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.187e-05/0.5681, allocations: 10.73 kB / 0.8271 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.984e-05/0.5681, allocations: 52.66 kB / 0.8272 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001483/0.5683, allocations: 23.16 kB / 0.8272 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000352/0.5686, allocations: 154 kB / 0.8273 GB, free: 10.94 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.144e-05/0.5687, allocations: 15.42 kB / 0.8274 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.523e-05/0.5687, allocations: 22.97 kB / 0.8274 GB, free: 10.92 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004696/0.5692, allocations: 459.5 kB / 0.8278 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.5692, allocations: 1.469 kB / 0.8278 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.175e-05/0.5692, allocations: 15.48 kB / 0.8278 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.972e-05/0.5692, allocations: 6.016 kB / 0.8278 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004496/0.5697, allocations: 422.5 kB / 0.8282 GB, free: 10.44 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008764/0.5706, allocations: 0.8722 MB / 0.8291 GB, free: 9.676 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002808/0.5708, allocations: 156.5 kB / 0.8292 GB, free: 9.609 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8e-05/0.5709, allocations: 59.14 kB / 0.8293 GB, free: 9.582 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005314/0.5714, allocations: 455.7 kB / 0.8297 GB, free: 9.262 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.5715, allocations: 33.81 kB / 0.8298 GB, free: 9.223 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 1.353e-06/0.5715, allocations: 0 / 0.8298 GB, free: 9.223 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.0002691/0.5717, allocations: 156.6 kB / 0.8299 GB, free: 9.145 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.048e-05/0.5718, allocations: 57 kB / 0.83 GB, free: 9.078 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.5719, allocations: 173.3 kB / 0.8301 GB, free: 8.945 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.5719, allocations: 32.33 kB / 0.8302 GB, free: 8.91 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.747e-05/0.572, allocations: 149.6 kB / 0.8303 GB, free: 8.773 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.999e-05/0.572, allocations: 51.14 kB / 0.8304 GB, free: 8.734 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.186e-05/0.5721, allocations: 52.98 kB / 0.8304 GB, free: 8.699 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.733e-05/0.5721, allocations: 326.9 kB / 0.8307 GB, free: 8.379 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.609e-05/0.5722, allocations: 36.78 kB / 0.8308 GB, free: 8.371 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.5723, allocations: 143.5 kB / 0.8309 GB, free: 8.227 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001702/0.5725, allocations: 198 kB / 0.8311 GB, free: 8.051 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.5725, allocations: 1.406 kB / 0.8311 GB, free: 8.051 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002698/0.5727, allocations: 216 kB / 0.8313 GB, free: 7.949 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.5728, allocations: 6.875 kB / 0.8313 GB, free: 7.949 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/0.5728, allocations: 3.406 kB / 0.8313 GB, free: 7.949 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.159e-05/0.5728, allocations: 9.875 kB / 0.8313 GB, free: 7.945 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.573, allocations: 59.45 kB / 0.8314 GB, free: 7.938 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.672e-05/0.573, allocations: 14.58 kB / 0.8314 GB, free: 7.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.408e-05/0.573, allocations: 36.52 kB / 0.8314 GB, free: 7.902 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.095e-05/0.5731, allocations: 15.56 kB / 0.8314 GB, free: 7.898 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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 8.812e-05/0.5732, allocations: 127.9 kB / 0.8315 GB, free: 7.773 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.586e-05/0.5732, allocations: 16.19 kB / 0.8316 GB, free: 7.766 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000271/0.5735, allocations: 147.2 kB / 0.8317 GB, free: 7.691 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.766e-06/0.5735, allocations: 5.625 kB / 0.8317 GB, free: 7.688 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.5735, allocations: 1.422 kB / 0.8317 GB, free: 7.688 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.5735, allocations: 1.25 kB / 0.8317 GB, free: 7.688 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001907/0.5737, allocations: 187.4 kB / 0.8319 GB, free: 7.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.5737, allocations: 0.5938 kB / 0.8319 GB, free: 7.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.643e-05/0.5738, allocations: 38.53 kB / 0.8319 GB, free: 7.488 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.5738, allocations: 1.031 kB / 0.8319 GB, free: 7.488 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.5738, allocations: 6.422 kB / 0.8319 GB, free: 7.484 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.5738, allocations: 5.062 kB / 0.8319 GB, free: 7.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.5738, allocations: 1.281 kB / 0.8319 GB, free: 7.48 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002273/0.574, allocations: 221.7 kB / 0.8321 GB, free: 7.316 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.607e-05/0.5741, allocations: 28.72 kB / 0.8322 GB, free: 7.305 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.73e-05/0.5741, allocations: 2.109 kB / 0.8322 GB, free: 7.305 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.5742, allocations: 25.31 kB / 0.8322 GB, free: 7.293 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.18e-05/0.5742, allocations: 12.22 kB / 0.8322 GB, free: 7.289 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.594e-05/0.5742, allocations: 12.17 kB / 0.8322 GB, free: 7.285 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.731e-05/0.5743, allocations: 120.5 kB / 0.8323 GB, free: 7.199 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5743, allocations: 0 / 0.8323 GB, free: 7.199 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002731/0.5746, allocations: 76.67 kB / 0.8324 GB, free: 7.184 MB / 0.6198 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0005448/0.5751, allocations: 0.8274 MB / 0.8332 GB, free: 6.465 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001845/0.5753, allocations: 117.2 kB / 0.8333 GB, free: 6.43 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.5753, allocations: 1.062 kB / 0.8333 GB, free: 6.43 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.692e-05/0.5754, allocations: 44.75 kB / 0.8334 GB, free: 6.418 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002884/0.5757, allocations: 57.36 kB / 0.8334 GB, free: 6.395 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001675/0.5773, allocations: 2.035 MB / 0.8354 GB, free: 4.723 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.322e-05/0.5774, allocations: 106.1 kB / 0.8355 GB, free: 4.637 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001196/0.5775, allocations: 50.47 kB / 0.8356 GB, free: 4.613 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.185e-05/0.5776, allocations: 45.19 kB / 0.8356 GB, free: 4.586 MB / 0.6198 GB Notification: Performance of SimCode: time 3.7e-07/0.5776, allocations: 0 / 0.8356 GB, free: 4.586 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02064/0.5982, allocations: 5.996 MB / 0.8415 GB, free: 2.477 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.8/7.398, allocations: 12.16 kB / 0.8415 GB, free: 2.469 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterProperties.fmu > IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.32199838431552] Failed to read output from testmodel.py, exit status != 0: 7.476742446888238 7.490089707 6.920929142 Calling exit ...