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.001379/0.001379, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001703/0.001703, allocations: 209.9 kB / 22.24 MB, free: 5.262 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.498/1.498, allocations: 230.6 MB / 256 MB, free: 7.785 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.01419/0.01419, allocations: 2.809 MB / 315.2 MB, free: 68 kB / 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestStatesSupercritical",fmuType="me",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.002004/0.002004, allocations: 71.89 kB / 438.6 MB, free: 13.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09443/0.09644, allocations: 54.18 MB / 492.8 MB, free: 6.969 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical): time 0.02221/0.1186, allocations: 17.35 MB / 0.4982 GB, free: 5.559 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005548/0.1242, allocations: 5.267 MB / 0.5034 GB, free: 280 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001682/0.1244, allocations: 7.938 kB / 0.5034 GB, free: 272 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005999/0.125, allocations: 202.7 kB / 0.5036 GB, free: 68 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2238/0.3488, allocations: 1.169 MB / 0.5047 GB, free: 4.457 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003716/0.3491, allocations: 84.53 kB / 0.5048 GB, free: 4.457 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005451/0.3497, allocations: 300.6 kB / 0.5051 GB, free: 4.457 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.975e-05/0.3498, allocations: 14.73 kB / 0.5051 GB, free: 4.457 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001469/0.3499, allocations: 99.33 kB / 0.5052 GB, free: 4.457 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002056/0.3501, allocations: 104.2 kB / 0.5053 GB, free: 4.457 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.028e-05/0.3501, allocations: 8.375 kB / 0.5053 GB, free: 4.457 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3409/0.691, allocations: 38.67 MB / 0.5431 GB, free: 2.086 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.6911, allocations: 27.06 kB / 0.5431 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004095/0.6915, allocations: 104.6 kB / 0.5432 GB, free: 1.988 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002618/0.6942, allocations: 0.5146 MB / 0.5437 GB, free: 1.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.6942, allocations: 0 / 0.5437 GB, free: 1.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.063e-06/0.6942, allocations: 4 kB / 0.5437 GB, free: 1.676 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.059e-05/0.6942, allocations: 4 kB / 0.5437 GB, free: 1.672 MB / 382.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.0009875/0.6952, allocations: 0.4946 MB / 0.5442 GB, free: 1.219 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.726e-05/0.6952, allocations: 8.031 kB / 0.5442 GB, free: 1.211 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001094/0.6953, allocations: 68.33 kB / 0.5442 GB, free: 1.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009571/0.6963, allocations: 210.1 kB / 0.5444 GB, free: 1.074 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001631/0.6964, allocations: 127.5 kB / 0.5446 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.675e-05/0.6965, allocations: 22 kB / 0.5446 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.605e-05/0.6965, allocations: 27.25 kB / 0.5446 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005345/0.6971, allocations: 341 kB / 0.5449 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.6971, allocations: 4 kB / 0.5449 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.078e-05/0.6971, allocations: 10.81 kB / 0.545 GB, free: 0.707 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.831e-05/0.6971, allocations: 16.06 kB / 0.545 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003377/0.6975, allocations: 277.6 kB / 0.5452 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00133/0.6988, allocations: 0.8458 MB / 0.5461 GB, free: 15.94 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00017/0.699, allocations: 98.95 kB / 0.5462 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001076/0.6991, allocations: 69.48 kB / 0.5462 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006323/0.6997, allocations: 0.5095 MB / 0.5467 GB, free: 15.36 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.6997, allocations: 33.56 kB / 0.5467 GB, free: 15.32 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 1.814e-06/0.6997, allocations: 0 / 0.5467 GB, free: 15.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003878/0.7001, allocations: 187.5 kB / 0.5469 GB, free: 15.19 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.391e-05/0.7002, allocations: 77.91 kB / 0.547 GB, free: 15.1 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.7003, allocations: 117.3 kB / 0.5471 GB, free: 14.98 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.7003, allocations: 25.7 kB / 0.5471 GB, free: 14.95 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.7004, allocations: 162 kB / 0.5473 GB, free: 14.81 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.817e-05/0.7005, allocations: 109.9 kB / 0.5474 GB, free: 14.72 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.83e-05/0.7006, allocations: 33.56 kB / 0.5474 GB, free: 14.7 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001786/0.7007, allocations: 328.3 kB / 0.5477 GB, free: 14.38 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.874e-05/0.7008, allocations: 33.97 kB / 0.5478 GB, free: 14.36 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.414e-05/0.7009, allocations: 84.25 kB / 0.5479 GB, free: 14.29 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001846/0.7011, allocations: 136.7 kB / 0.548 GB, free: 14.2 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.7011, allocations: 0 / 0.548 GB, free: 14.2 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002478/0.7013, allocations: 160.9 kB / 0.5481 GB, free: 14.09 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.7014, allocations: 7.906 kB / 0.5481 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.7014, allocations: 0 / 0.5481 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.264e-05/0.7014, allocations: 4 kB / 0.5481 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.377e-05/0.7015, allocations: 11.56 kB / 0.5482 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.7015, allocations: 6.625 kB / 0.5482 GB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.694e-05/0.7016, allocations: 27.91 kB / 0.5482 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.517e-05/0.7016, allocations: 11.05 kB / 0.5482 GB, free: 14.03 MB / 398.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.0001442/0.7017, allocations: 128.3 kB / 0.5483 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.004e-05/0.7018, allocations: 11.91 kB / 0.5483 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.758e-05/0.7018, allocations: 12.03 kB / 0.5483 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.7018, allocations: 0 / 0.5483 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.7018, allocations: 0 / 0.5483 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.7018, allocations: 0 / 0.5483 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003806/0.7022, allocations: 247.7 kB / 0.5486 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.7022, allocations: 0 / 0.5486 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.943e-05/0.7022, allocations: 5.594 kB / 0.5486 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.541e-06/0.7022, allocations: 7.984 kB / 0.5486 GB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.7023, allocations: 7.312 kB / 0.5486 GB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.7023, allocations: 0 / 0.5486 GB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.7023, allocations: 0 / 0.5486 GB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001906/0.7042, allocations: 318.4 kB / 0.5489 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.358e-05/0.7042, allocations: 15.83 kB / 0.5489 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/0.7042, allocations: 6.531 kB / 0.5489 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.7043, allocations: 0 / 0.5489 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.293e-05/0.7043, allocations: 4 kB / 0.5489 GB, free: 13.35 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.613e-06/0.7044, allocations: 0 / 0.5489 GB, free: 13.35 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.179e-05/0.7044, allocations: 89 kB / 0.549 GB, free: 13.27 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7044, allocations: 4 kB / 0.549 GB, free: 13.27 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004507/0.7049, allocations: 85.78 kB / 0.5491 GB, free: 13.18 MB / 398.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.001018/0.7059, allocations: 0.9341 MB / 0.55 GB, free: 12.28 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003339/0.7062, allocations: 213 kB / 0.5502 GB, free: 12.11 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/0.7062, allocations: 0 / 0.5502 GB, free: 12.11 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001642/0.7064, allocations: 189.7 kB / 0.5504 GB, free: 11.95 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007107/0.7071, allocations: 88.11 kB / 0.5505 GB, free: 11.87 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.7082, allocations: 0.5931 MB / 0.5511 GB, free: 11.26 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002343/0.7085, allocations: 191 kB / 0.5512 GB, free: 11.05 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001206/0.7086, allocations: 25.12 kB / 0.5513 GB, free: 11.03 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/0.7087, allocations: 117.8 kB / 0.5514 GB, free: 11 MB / 398.1 MB Notification: Performance of SimCode: time 4.91e-07/0.7087, allocations: 4 kB / 0.5514 GB, free: 11 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04026/0.749, allocations: 8.885 MB / 0.5601 GB, free: 2.219 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/12.09, allocations: 14.61 kB / 0.5601 GB, free: 2.207 MB / 398.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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: 15.36919107567519] Failed to read output from testmodel.py, exit status != 0: 12.41706540202722 12.435740066 11.737938181 Calling exit ...