Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.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.001322/0.001322, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001467/0.001467, allocations: 219.8 kB / 22.26 MB, free: 5.125 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.51/1.51, allocations: 230.6 MB / 256 MB, free: 7.984 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.01286/0.01286, allocations: 2.81 MB / 315.2 MB, free: 400 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_Tabular.TestStatesSupercritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestStatesSupercritical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_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.002011/0.002011, allocations: 75.89 kB / 438.7 MB, free: 13.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1066, allocations: 54.17 MB / 492.9 MB, free: 7.434 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical): time 0.02223/0.1289, allocations: 19.4 MB / 0.5003 GB, free: 3.965 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2404/0.3692, allocations: 6.087 MB / 0.5062 GB, free: 4.113 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000303/0.3695, allocations: 1.656 kB / 0.5062 GB, free: 4.113 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008395/0.3704, allocations: 252.7 kB / 0.5065 GB, free: 4.113 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004032/0.3744, allocations: 1.211 MB / 0.5077 GB, free: 4.086 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003138/0.3747, allocations: 85.69 kB / 0.5077 GB, free: 4.086 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00054/0.3753, allocations: 306.6 kB / 0.508 GB, free: 4.086 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.035e-05/0.3753, allocations: 13.05 kB / 0.508 GB, free: 4.086 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001777/0.3755, allocations: 99.47 kB / 0.5081 GB, free: 4.086 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001904/0.3757, allocations: 112.5 kB / 0.5082 GB, free: 4.082 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.322e-05/0.3757, allocations: 8 kB / 0.5082 GB, free: 4.082 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.6721/1.048, allocations: 39.16 MB / 0.5465 GB, free: 15.95 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001236/1.048, allocations: 34.67 kB / 0.5465 GB, free: 15.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005776/1.048, allocations: 133.5 kB / 0.5467 GB, free: 15.84 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003658/1.052, allocations: 0.5086 MB / 0.5471 GB, free: 15.53 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.947e-06/1.052, allocations: 0 / 0.5471 GB, free: 15.53 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.975e-06/1.052, allocations: 0 / 0.5471 GB, free: 15.53 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.075e-05/1.052, allocations: 4 kB / 0.5472 GB, free: 15.53 MB / 398.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.000909/1.053, allocations: 0.502 MB / 0.5476 GB, free: 15.04 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.941e-05/1.053, allocations: 8.031 kB / 0.5476 GB, free: 15.03 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.93e-05/1.053, allocations: 69.09 kB / 0.5477 GB, free: 14.97 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008805/1.054, allocations: 204.6 kB / 0.5479 GB, free: 14.84 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/1.054, allocations: 132 kB / 0.548 GB, free: 14.69 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.928e-05/1.054, allocations: 20.12 kB / 0.5481 GB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.71e-05/1.054, allocations: 27.19 kB / 0.5481 GB, free: 14.66 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000585/1.055, allocations: 343 kB / 0.5484 GB, free: 14.43 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/1.055, allocations: 0 / 0.5484 GB, free: 14.43 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.81e-05/1.055, allocations: 13.94 kB / 0.5484 GB, free: 14.43 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.16e-05/1.055, allocations: 7.984 kB / 0.5484 GB, free: 14.42 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003765/1.055, allocations: 274.4 kB / 0.5487 GB, free: 14.25 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002548/1.058, allocations: 2.096 MB / 0.5507 GB, free: 11.99 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000199/1.058, allocations: 103.5 kB / 0.5508 GB, free: 11.91 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001416/1.058, allocations: 75.06 kB / 0.5509 GB, free: 11.86 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008/1.059, allocations: 0.5149 MB / 0.5514 GB, free: 11.37 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.609e-05/1.059, allocations: 34.5 kB / 0.5514 GB, free: 11.33 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 1.483e-06/1.059, allocations: 3.938 kB / 0.5514 GB, free: 11.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.0005883/1.06, allocations: 188.6 kB / 0.5516 GB, free: 11.18 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.729e-05/1.06, allocations: 77.11 kB / 0.5517 GB, free: 11.09 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001504/1.06, allocations: 112.9 kB / 0.5518 GB, free: 10.98 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.361e-05/1.06, allocations: 25.7 kB / 0.5518 GB, free: 10.95 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001497/1.06, allocations: 155.2 kB / 0.552 GB, free: 10.8 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001155/1.06, allocations: 110.2 kB / 0.5521 GB, free: 10.7 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.643e-05/1.06, allocations: 40.84 kB / 0.5521 GB, free: 10.66 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002004/1.06, allocations: 329.6 kB / 0.5524 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.954e-05/1.061, allocations: 30.31 kB / 0.5525 GB, free: 10.32 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/1.061, allocations: 83.44 kB / 0.5525 GB, free: 10.25 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002266/1.061, allocations: 150.2 kB / 0.5527 GB, free: 10.13 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/1.061, allocations: 0 / 0.5527 GB, free: 10.13 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002763/1.061, allocations: 154.4 kB / 0.5528 GB, free: 10.01 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.894e-05/1.061, allocations: 4 kB / 0.5528 GB, free: 10.01 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.088e-06/1.061, allocations: 0 / 0.5528 GB, free: 10.01 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/1.061, allocations: 4 kB / 0.5528 GB, free: 10 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.2e-05/1.061, allocations: 8 kB / 0.5529 GB, free: 9.996 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.552e-05/1.061, allocations: 7.984 kB / 0.5529 GB, free: 9.988 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.068e-05/1.061, allocations: 23.97 kB / 0.5529 GB, free: 9.965 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.398e-05/1.061, allocations: 4 kB / 0.5529 GB, free: 9.961 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.0001644/1.062, allocations: 134.2 kB / 0.553 GB, free: 9.832 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.788e-05/1.062, allocations: 7.953 kB / 0.553 GB, free: 9.824 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.247e-05/1.062, allocations: 11.97 kB / 0.553 GB, free: 9.816 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.411e-06/1.062, allocations: 0 / 0.553 GB, free: 9.816 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/1.062, allocations: 0 / 0.553 GB, free: 9.816 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/1.062, allocations: 192 / 0.553 GB, free: 9.816 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003913/1.062, allocations: 258 kB / 0.5533 GB, free: 9.566 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/1.062, allocations: 7.984 kB / 0.5533 GB, free: 9.559 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.195e-05/1.062, allocations: 4 kB / 0.5533 GB, free: 9.555 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/1.062, allocations: 0 / 0.5533 GB, free: 9.555 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/1.062, allocations: 7.984 kB / 0.5533 GB, free: 9.547 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/1.062, allocations: 0 / 0.5533 GB, free: 9.547 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/1.062, allocations: 0 / 0.5533 GB, free: 9.547 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002495/1.065, allocations: 309.2 kB / 0.5536 GB, free: 9.27 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.598e-05/1.065, allocations: 19.84 kB / 0.5536 GB, free: 9.25 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.983e-05/1.065, allocations: 7.938 kB / 0.5536 GB, free: 9.242 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/1.065, allocations: 2.875 kB / 0.5536 GB, free: 9.242 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.277e-05/1.065, allocations: 7.922 kB / 0.5536 GB, free: 9.234 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/1.065, allocations: 8 kB / 0.5536 GB, free: 9.227 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.527e-05/1.065, allocations: 86.34 kB / 0.5537 GB, free: 9.145 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/1.065, allocations: 0 / 0.5537 GB, free: 9.145 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004773/1.065, allocations: 87.66 kB / 0.5538 GB, free: 9.059 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.0009367/1.066, allocations: 0.9272 MB / 0.5547 GB, free: 8.148 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003663/1.067, allocations: 213.1 kB / 0.5549 GB, free: 7.934 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/1.067, allocations: 4.375 kB / 0.5549 GB, free: 7.93 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001745/1.067, allocations: 177.4 kB / 0.5551 GB, free: 7.746 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007751/1.068, allocations: 87.72 kB / 0.5552 GB, free: 7.66 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/1.069, allocations: 0.5978 MB / 0.5558 GB, free: 7.023 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004626/1.069, allocations: 0.7994 MB / 0.5565 GB, free: 6.195 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001094/1.069, allocations: 25.14 kB / 0.5566 GB, free: 6.172 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000151/1.069, allocations: 119.4 kB / 0.5567 GB, free: 6.059 MB / 398.1 MB Notification: Performance of SimCode: time 5.71e-07/1.069, allocations: 3.938 kB / 0.5567 GB, free: 6.055 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03867/1.108, allocations: 8.778 MB / 0.5652 GB, free: 13.36 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/12.56, allocations: 3.984 kB / 0.5653 GB, free: 13.35 MB / 414.1 MB " [Timeout remaining time 647] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical.sim & python3 -m fmpy simulate --output-file ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.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_Tabular_TestStatesSupercritical.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.796767141997407] Failed to read output from testmodel.py, exit status != 0: 12.894249851000495 12.912921065 11.857108564 Calling exit ...