Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.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.001274/0.001274, allocations: 117.4 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.001361/0.001361, allocations: 214.3 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.506/1.506, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.01391/0.01391, allocations: 2.794 MB / 312.3 MB, free: 2.34 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.TestStatesTranscritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestStatesTranscritical",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestStatesTranscritical",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.002001/0.002001, allocations: 66.27 kB / 434.2 MB, free: 39.05 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09327/0.09527, allocations: 54.13 MB / 488.4 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical): time 0.01652/0.1118, allocations: 19.3 MB / 0.4958 GB, free: 13.06 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005901/0.1177, allocations: 6.084 MB / 0.5017 GB, free: 6.953 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001634/0.1179, allocations: 4 kB / 0.5017 GB, free: 6.949 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006391/0.1185, allocations: 254.5 kB / 0.502 GB, free: 6.699 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002557/0.1211, allocations: 1.206 MB / 0.5031 GB, free: 5.484 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002721/0.1213, allocations: 83.36 kB / 0.5032 GB, free: 5.402 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003666/0.1217, allocations: 309.8 kB / 0.5035 GB, free: 5.098 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.163e-05/0.1218, allocations: 24.72 kB / 0.5035 GB, free: 5.07 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.851e-05/0.1219, allocations: 91.61 kB / 0.5036 GB, free: 4.98 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000145/0.122, allocations: 111.4 kB / 0.5037 GB, free: 4.871 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.122, allocations: 11.94 kB / 0.5037 GB, free: 4.859 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3344/0.4564, allocations: 38.56 MB / 0.5414 GB, free: 15.24 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.147e-05/0.4565, allocations: 31.8 kB / 0.5414 GB, free: 15.21 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007704/0.4573, allocations: 135.3 kB / 0.5415 GB, free: 15.08 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002798/0.4601, allocations: 0.5061 MB / 0.542 GB, free: 14.57 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.4601, allocations: 0 / 0.542 GB, free: 14.57 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.136e-06/0.4601, allocations: 0 / 0.542 GB, free: 14.57 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.742e-05/0.4601, 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.0008897/0.461, allocations: 0.5726 MB / 0.5426 GB, free: 13.95 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.55e-05/0.461, allocations: 11.98 kB / 0.5426 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.718e-05/0.4611, allocations: 12.75 kB / 0.5426 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.568e-05/0.4612, allocations: 74.64 kB / 0.5427 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008526/0.462, allocations: 204.5 kB / 0.5429 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/0.4622, allocations: 184.1 kB / 0.5431 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001013/0.4623, allocations: 24.5 kB / 0.5431 GB, free: 13.4 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.887e-05/0.4623, allocations: 24 kB / 0.5431 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005893/0.4629, allocations: 341.6 kB / 0.5434 GB, free: 13.03 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.4629, allocations: 0 / 0.5434 GB, free: 13.03 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.049e-05/0.4629, allocations: 4 kB / 0.5434 GB, free: 13.03 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.34e-05/0.4629, allocations: 16 kB / 0.5435 GB, free: 13.01 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004315/0.4634, allocations: 271.8 kB / 0.5437 GB, free: 12.75 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002354/0.4657, allocations: 2.126 MB / 0.5458 GB, free: 10.27 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001673/0.4659, allocations: 93.19 kB / 0.5459 GB, free: 10.16 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001191/0.466, allocations: 73.75 kB / 0.5459 GB, free: 10.09 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006888/0.4667, allocations: 0.6931 MB / 0.5466 GB, free: 9.328 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/0.4667, allocations: 34.56 kB / 0.5467 GB, free: 9.285 MB / 414.1 MB Notification: Performance of pre-optimization done (n=32): time 1.293e-06/0.4667, allocations: 0 / 0.5467 GB, free: 9.285 MB / 414.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003965/0.4671, allocations: 189.5 kB / 0.5468 GB, free: 9.094 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.898e-05/0.4672, allocations: 77.11 kB / 0.5469 GB, free: 9 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.4673, allocations: 105.8 kB / 0.547 GB, free: 8.887 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.4673, allocations: 29.77 kB / 0.547 GB, free: 8.852 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.4674, allocations: 164.4 kB / 0.5472 GB, free: 8.688 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.806e-05/0.4675, allocations: 111 kB / 0.5473 GB, free: 8.578 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.525e-05/0.4676, allocations: 33.7 kB / 0.5473 GB, free: 8.539 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001868/0.4678, allocations: 322.8 kB / 0.5476 GB, free: 8.215 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.427e-05/0.4679, allocations: 35.98 kB / 0.5477 GB, free: 8.18 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001041/0.468, allocations: 85.08 kB / 0.5478 GB, free: 8.078 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001963/0.4682, allocations: 133.9 kB / 0.5479 GB, free: 7.93 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4682, allocations: 3.938 kB / 0.5479 GB, free: 7.926 MB / 414.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002608/0.4684, allocations: 161.4 kB / 0.548 GB, free: 7.762 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.296e-05/0.4685, allocations: 8 kB / 0.5481 GB, free: 7.754 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.4685, allocations: 0 / 0.5481 GB, free: 7.754 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.4685, allocations: 7.984 kB / 0.5481 GB, free: 7.746 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.569e-05/0.4686, allocations: 8.188 kB / 0.5481 GB, free: 7.738 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.4686, allocations: 3.938 kB / 0.5481 GB, free: 7.734 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.699e-05/0.4686, allocations: 23.72 kB / 0.5481 GB, free: 7.711 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/0.4686, allocations: 8 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.0001285/0.4688, allocations: 134 kB / 0.5482 GB, free: 7.562 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.21e-05/0.4688, allocations: 11.91 kB / 0.5482 GB, free: 7.551 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.491e-05/0.4689, allocations: 12.42 kB / 0.5483 GB, free: 7.539 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.4689, allocations: 4 kB / 0.5483 GB, free: 7.535 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.4689, allocations: 0 / 0.5483 GB, free: 7.535 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.4689, allocations: 3.938 kB / 0.5483 GB, free: 7.531 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003783/0.4693, allocations: 285.6 kB / 0.5485 GB, free: 7.203 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.4693, allocations: 0 / 0.5485 GB, free: 7.203 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.238e-05/0.4693, allocations: 4 kB / 0.5485 GB, free: 7.199 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.4693, allocations: 0 / 0.5485 GB, free: 7.199 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.4693, allocations: 4 kB / 0.5485 GB, free: 7.195 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.4693, allocations: 8 kB / 0.5485 GB, free: 7.188 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4693, allocations: 0 / 0.5485 GB, free: 7.188 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001511/0.4708, allocations: 315.1 kB / 0.5488 GB, free: 6.863 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.079e-05/0.4709, allocations: 96.92 kB / 0.5489 GB, free: 6.75 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.617e-05/0.4709, allocations: 0 / 0.5489 GB, free: 6.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.928e-05/0.471, allocations: 0 / 0.5489 GB, free: 6.75 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.455e-05/0.471, allocations: 15.94 kB / 0.549 GB, free: 6.734 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.471, allocations: 4 kB / 0.549 GB, free: 6.73 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.46e-05/0.4711, allocations: 79.28 kB / 0.549 GB, free: 6.652 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4711, allocations: 0 / 0.549 GB, free: 6.652 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004279/0.4715, allocations: 95.66 kB / 0.5491 GB, free: 6.559 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.001435/0.4729, allocations: 0.9207 MB / 0.55 GB, free: 5.605 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003965/0.4733, allocations: 215.8 kB / 0.5502 GB, free: 5.383 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4733, allocations: 0 / 0.5502 GB, free: 5.383 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00018/0.4735, allocations: 169.8 kB / 0.5504 GB, free: 5.203 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007176/0.4742, allocations: 95.53 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.001125/0.4754, allocations: 0.5907 MB / 0.5511 GB, free: 4.473 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004865/0.4759, allocations: 0.7956 MB / 0.5518 GB, free: 3.648 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001111/0.476, allocations: 29.19 kB / 0.5519 GB, free: 3.621 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001546/0.4761, allocations: 115.4 kB / 0.552 GB, free: 3.512 MB / 414.1 MB Notification: Performance of SimCode: time 3.3e-07/0.4761, allocations: 0 / 0.552 GB, free: 3.512 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02689/0.503, allocations: 8.171 MB / 0.56 GB, free: 11.39 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.652/9.155, allocations: 10.52 kB / 0.56 GB, free: 11.38 MB / 430.1 MB " [Timeout remaining time 650] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestStatesTranscritical_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestStatesTranscritical.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.478839842951857] Failed to read output from testmodel.py, exit status != 0: 9.506340056017507 9.530595281 9.067171774 Calling exit ...