Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.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.001242/0.001242, allocations: 116.8 kB / 17.17 MB, free: 5.977 MB / 14.72 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.001377/0.001377, allocations: 209.5 kB / 20.13 MB, free: 3.035 MB / 14.72 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 1.527/1.527, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01297/0.01297, allocations: 2.803 MB / 312.3 MB, free: 2.336 MB / 238.1 MB " [Timeout remaining time 180] Using package ExternalMedia with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.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(ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestStatesSupercritical",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestStatesSupercritical",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ExternalMedia 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.00201/0.00201, allocations: 66.61 kB / 434.2 MB, free: 38.99 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0936/0.09561, allocations: 54.13 MB / 488.4 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical): time 0.01588/0.1115, allocations: 19.29 MB / 0.4958 GB, free: 13.04 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006625/0.1181, allocations: 6.076 MB / 0.5017 GB, free: 6.945 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004807/0.1186, allocations: 4 kB / 0.5017 GB, free: 6.941 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001112/0.1197, allocations: 258.5 kB / 0.5019 GB, free: 6.688 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004033/0.1237, allocations: 1.198 MB / 0.5031 GB, free: 5.48 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004021/0.1241, allocations: 83.36 kB / 0.5032 GB, free: 5.398 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005328/0.1247, allocations: 309.8 kB / 0.5035 GB, free: 5.094 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.89e-05/0.1248, allocations: 20.73 kB / 0.5035 GB, free: 5.07 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001416/0.1249, allocations: 99.52 kB / 0.5036 GB, free: 4.973 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001933/0.1251, allocations: 115.5 kB / 0.5037 GB, free: 4.859 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.629e-05/0.1251, allocations: 8 kB / 0.5037 GB, free: 4.852 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3421/0.4672, allocations: 38.56 MB / 0.5414 GB, free: 15.25 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.073e-05/0.4673, allocations: 27.8 kB / 0.5414 GB, free: 15.22 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002307/0.4675, allocations: 139.3 kB / 0.5415 GB, free: 15.08 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00208/0.4696, allocations: 0.5061 MB / 0.542 GB, free: 14.57 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.351e-06/0.4696, allocations: 0 / 0.542 GB, free: 14.57 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.4696, allocations: 0 / 0.542 GB, free: 14.57 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.139e-05/0.4696, allocations: 0 / 0.542 GB, free: 14.57 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.0008666/0.4705, allocations: 0.5764 MB / 0.5426 GB, free: 13.95 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.4705, allocations: 11.98 kB / 0.5426 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.791e-05/0.4706, allocations: 8.75 kB / 0.5426 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.373e-05/0.4706, allocations: 66.72 kB / 0.5427 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008605/0.4715, allocations: 212.5 kB / 0.5429 GB, free: 13.65 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001668/0.4717, allocations: 188.1 kB / 0.5431 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.63e-05/0.4717, allocations: 24.5 kB / 0.5431 GB, free: 13.4 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.782e-05/0.4717, allocations: 24 kB / 0.5431 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000523/0.4722, allocations: 333.6 kB / 0.5434 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.4723, allocations: 3.984 kB / 0.5434 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.043e-05/0.4723, allocations: 8 kB / 0.5434 GB, free: 13.03 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.564e-05/0.4723, allocations: 8 kB / 0.5434 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000353/0.4726, allocations: 267.8 kB / 0.5437 GB, free: 12.76 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002095/0.4747, allocations: 2.122 MB / 0.5458 GB, free: 10.29 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001691/0.4749, allocations: 101.1 kB / 0.5459 GB, free: 10.17 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/0.475, allocations: 73.73 kB / 0.5459 GB, free: 10.09 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006998/0.4757, allocations: 0.6931 MB / 0.5466 GB, free: 9.336 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.4757, allocations: 34.56 kB / 0.5467 GB, free: 9.293 MB / 414.1 MB Notification: Performance of pre-optimization done (n=32): time 1.503e-06/0.4757, allocations: 0 / 0.5467 GB, free: 9.293 MB / 414.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003992/0.4761, allocations: 189.5 kB / 0.5468 GB, free: 9.102 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.01e-05/0.4762, allocations: 77.11 kB / 0.5469 GB, free: 9.008 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.4763, allocations: 105.8 kB / 0.547 GB, free: 8.895 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.4763, allocations: 29.64 kB / 0.547 GB, free: 8.859 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.4764, allocations: 168.5 kB / 0.5472 GB, free: 8.691 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.878e-05/0.4765, allocations: 114.9 kB / 0.5473 GB, free: 8.578 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.054e-05/0.4766, allocations: 37.7 kB / 0.5473 GB, free: 8.535 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.4767, allocations: 326.8 kB / 0.5477 GB, free: 8.207 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.368e-05/0.4768, allocations: 35.98 kB / 0.5477 GB, free: 8.172 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.694e-05/0.4769, allocations: 73.14 kB / 0.5478 GB, free: 8.082 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001949/0.4771, allocations: 141.9 kB / 0.5479 GB, free: 7.926 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.4771, allocations: 0 / 0.5479 GB, free: 7.926 MB / 414.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002711/0.4774, allocations: 157.6 kB / 0.548 GB, free: 7.766 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.4774, allocations: 8 kB / 0.5481 GB, free: 7.758 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.525e-06/0.4774, allocations: 0 / 0.5481 GB, free: 7.758 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.555e-05/0.4774, allocations: 4 kB / 0.5481 GB, free: 7.754 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.488e-05/0.4775, allocations: 15.92 kB / 0.5481 GB, free: 7.738 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.4775, allocations: 0 / 0.5481 GB, free: 7.738 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.544e-05/0.4776, allocations: 23.72 kB / 0.5481 GB, free: 7.715 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/0.4776, allocations: 12 kB / 0.5481 GB, free: 7.703 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 (state2.phase,state1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 0.0001412/0.4777, allocations: 121.8 kB / 0.5482 GB, free: 7.574 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.113e-05/0.4778, allocations: 15.94 kB / 0.5482 GB, free: 7.559 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.852e-05/0.4778, allocations: 8.438 kB / 0.5482 GB, free: 7.551 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.4778, allocations: 4 kB / 0.5482 GB, free: 7.547 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.4778, allocations: 0 / 0.5482 GB, free: 7.547 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.4778, allocations: 7.922 kB / 0.5483 GB, free: 7.539 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003768/0.4782, allocations: 281.6 kB / 0.5485 GB, free: 7.215 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.4782, allocations: 0 / 0.5485 GB, free: 7.215 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.907e-05/0.4782, allocations: 7.984 kB / 0.5485 GB, free: 7.207 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.4782, allocations: 0 / 0.5485 GB, free: 7.207 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.385e-06/0.4783, allocations: 0 / 0.5485 GB, free: 7.207 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.312e-06/0.4783, allocations: 7.938 kB / 0.5485 GB, free: 7.199 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.4783, allocations: 7.938 kB / 0.5485 GB, free: 7.191 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001838/0.4801, allocations: 315.2 kB / 0.5488 GB, free: 6.867 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.999e-05/0.4802, allocations: 89 kB / 0.5489 GB, free: 6.762 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.4802, allocations: 0 / 0.5489 GB, free: 6.762 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.4803, allocations: 0 / 0.5489 GB, free: 6.762 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.834e-05/0.4803, allocations: 11.92 kB / 0.5489 GB, free: 6.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.4803, allocations: 0 / 0.5489 GB, free: 6.75 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.536e-05/0.4804, allocations: 87.28 kB / 0.549 GB, free: 6.664 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4804, allocations: 0 / 0.549 GB, free: 6.664 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004418/0.4808, allocations: 87.67 kB / 0.5491 GB, free: 6.578 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (state2.phase,state1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0009031/0.4817, allocations: 0.9327 MB / 0.55 GB, free: 5.613 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003382/0.482, allocations: 215.7 kB / 0.5502 GB, free: 5.391 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.482, allocations: 0 / 0.5502 GB, free: 5.391 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009714/0.483, allocations: 185.3 kB / 0.5504 GB, free: 5.195 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/0.484, allocations: 88.02 kB / 0.5505 GB, free: 5.109 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/0.4853, allocations: 0.5789 MB / 0.5511 GB, free: 4.484 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00048/0.4858, allocations: 0.7955 MB / 0.5518 GB, free: 3.66 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001238/0.4859, allocations: 29.19 kB / 0.5519 GB, free: 3.633 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001503/0.4861, allocations: 123.3 kB / 0.552 GB, free: 3.516 MB / 414.1 MB Notification: Performance of SimCode: time 1.022e-06/0.4861, allocations: 0 / 0.552 GB, free: 3.516 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02737/0.5134, allocations: 8.175 MB / 0.56 GB, free: 11.39 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.716/9.229, allocations: 14.48 kB / 0.56 GB, free: 11.38 MB / 430.1 MB " [Timeout remaining time 650] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestStatesSupercritical_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestStatesSupercritical.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.417004666000139] Failed to read output from testmodel.py, exit status != 0: 9.58178794302512 9.606075158 9.131966397 Calling exit ...