Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.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.001287/0.001287, allocations: 102.9 kB / 16.45 MB, free: 6.449 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.001574/0.001574, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.513/1.513, allocations: 230.6 MB / 252.8 MB, free: 8.992 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.01274/0.01274, allocations: 2.784 MB / 311.6 MB, free: 1.488 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_Tabular.TestStatesTranscritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestStatesTranscritical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestStatesTranscritical",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.001915/0.001915, allocations: 67.89 kB / 433.5 MB, free: 15.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09136/0.09327, allocations: 54.13 MB / 487.7 MB, free: 9.133 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical): time 0.02194/0.1152, allocations: 19.3 MB / 0.4951 GB, free: 5.758 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006654/0.1219, allocations: 6.076 MB / 0.501 GB, free: 15.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001997/0.1221, allocations: 4 kB / 0.501 GB, free: 15.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007019/0.1228, allocations: 258.5 kB / 0.5013 GB, free: 15.4 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00354/0.1263, allocations: 1.202 MB / 0.5024 GB, free: 14.19 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000397/0.1267, allocations: 87.36 kB / 0.5025 GB, free: 14.11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004683/0.1272, allocations: 305.8 kB / 0.5028 GB, free: 13.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.797e-05/0.1273, allocations: 20.73 kB / 0.5028 GB, free: 13.78 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001172/0.1274, allocations: 95.58 kB / 0.5029 GB, free: 13.69 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001845/0.1276, allocations: 115.4 kB / 0.503 GB, free: 13.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.046e-05/0.1276, allocations: 8 kB / 0.503 GB, free: 13.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.8128/0.9404, allocations: 39.03 MB / 0.5412 GB, free: 9.488 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.21e-05/0.9404, allocations: 32.59 kB / 0.5412 GB, free: 9.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002398/0.9407, allocations: 130.2 kB / 0.5413 GB, free: 9.441 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002109/0.9428, allocations: 0.513 MB / 0.5418 GB, free: 9.379 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.9428, allocations: 0 / 0.5418 GB, free: 9.379 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.066e-06/0.9428, allocations: 3 kB / 0.5418 GB, free: 9.379 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.065e-05/0.9428, allocations: 0 / 0.5418 GB, free: 9.379 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.0007473/0.9435, allocations: 0.5701 MB / 0.5424 GB, free: 8.918 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.9436, allocations: 18.2 kB / 0.5424 GB, free: 8.91 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.092e-05/0.9437, allocations: 68.2 kB / 0.5425 GB, free: 8.871 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008474/0.9445, allocations: 207.6 kB / 0.5427 GB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.9446, allocations: 185.9 kB / 0.5428 GB, free: 8.648 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.022e-05/0.9446, allocations: 18 kB / 0.5429 GB, free: 8.648 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.572e-05/0.9447, allocations: 28.56 kB / 0.5429 GB, free: 8.641 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005146/0.9452, allocations: 338.3 kB / 0.5432 GB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.9452, allocations: 0 / 0.5432 GB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.216e-05/0.9452, allocations: 16.36 kB / 0.5432 GB, free: 8.586 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.028e-05/0.9452, allocations: 14.03 kB / 0.5432 GB, free: 8.582 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003331/0.9456, allocations: 267.8 kB / 0.5435 GB, free: 8.574 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001281/0.9469, allocations: 2.113 MB / 0.5456 GB, free: 6.648 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001319/0.947, allocations: 102 kB / 0.5457 GB, free: 6.598 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.895e-05/0.9471, allocations: 70 kB / 0.5457 GB, free: 6.582 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005127/0.9476, allocations: 0.6933 MB / 0.5464 GB, free: 5.945 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/0.9476, allocations: 35.25 kB / 0.5464 GB, free: 5.906 MB / 382.1 MB Notification: Performance of pre-optimization done (n=32): time 1.383e-06/0.9476, allocations: 0 / 0.5464 GB, free: 5.906 MB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003556/0.948, allocations: 188.5 kB / 0.5466 GB, free: 5.863 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.844e-05/0.948, allocations: 78.3 kB / 0.5467 GB, free: 5.77 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.521e-05/0.9481, allocations: 111 kB / 0.5468 GB, free: 5.664 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.877e-06/0.9481, allocations: 25.7 kB / 0.5468 GB, free: 5.633 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.002e-05/0.9481, allocations: 160.8 kB / 0.547 GB, free: 5.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.994e-05/0.9482, allocations: 110.9 kB / 0.5471 GB, free: 5.426 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.54e-05/0.9482, allocations: 37.47 kB / 0.5471 GB, free: 5.406 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.917e-05/0.9483, allocations: 330.9 kB / 0.5474 GB, free: 5.09 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.384e-05/0.9483, allocations: 32.61 kB / 0.5475 GB, free: 5.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.087e-05/0.9484, allocations: 82.42 kB / 0.5475 GB, free: 5.039 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000139/0.9485, allocations: 134.2 kB / 0.5477 GB, free: 4.992 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.9485, allocations: 0 / 0.5477 GB, free: 4.992 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000204/0.9487, allocations: 168.5 kB / 0.5478 GB, free: 4.941 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.9488, allocations: 6.344 kB / 0.5478 GB, free: 4.941 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.9488, allocations: 48 / 0.5478 GB, free: 4.941 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.9488, allocations: 10.39 kB / 0.5478 GB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.823e-05/0.9489, allocations: 8.969 kB / 0.5478 GB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.9489, allocations: 3.312 kB / 0.5479 GB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.693e-05/0.9489, allocations: 19.34 kB / 0.5479 GB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.282e-05/0.9489, allocations: 4.781 kB / 0.5479 GB, free: 4.922 MB / 382.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 8.189e-05/0.949, allocations: 140.7 kB / 0.548 GB, free: 4.801 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.653e-05/0.9491, allocations: 7.391 kB / 0.548 GB, free: 4.797 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.544e-05/0.9491, allocations: 11.59 kB / 0.548 GB, free: 4.789 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.9491, allocations: 0 / 0.548 GB, free: 4.789 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.9491, allocations: 4 kB / 0.548 GB, free: 4.785 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.9491, allocations: 0 / 0.548 GB, free: 4.785 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002805/0.9494, allocations: 291.4 kB / 0.5483 GB, free: 4.574 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.9494, allocations: 0 / 0.5483 GB, free: 4.574 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.294e-05/0.9494, allocations: 5.75 kB / 0.5483 GB, free: 4.574 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.9494, allocations: 0 / 0.5483 GB, free: 4.574 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.9494, allocations: 11.38 kB / 0.5483 GB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.9494, allocations: 0.8906 kB / 0.5483 GB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.9494, allocations: 0 / 0.5483 GB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001489/0.9509, allocations: 314.3 kB / 0.5486 GB, free: 4.352 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.464e-05/0.951, allocations: 95.89 kB / 0.5487 GB, free: 4.246 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.951, allocations: 3.969 kB / 0.5487 GB, free: 4.246 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004032/0.9514, allocations: 0 / 0.5487 GB, free: 4.246 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.994e-05/0.9514, allocations: 8.188 kB / 0.5487 GB, free: 4.242 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.9514, allocations: 3.531 kB / 0.5487 GB, free: 4.242 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.754e-05/0.9514, allocations: 88.09 kB / 0.5488 GB, free: 4.164 MB / 382.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.9514, allocations: 0 / 0.5488 GB, free: 4.164 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004509/0.9519, allocations: 82.03 kB / 0.5489 GB, free: 4.145 MB / 382.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.0006589/0.9525, allocations: 0.9325 MB / 0.5498 GB, free: 3.359 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000263/0.9528, allocations: 207.1 kB / 0.55 GB, free: 3.285 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.9528, allocations: 0 / 0.55 GB, free: 3.285 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.9529, allocations: 183.8 kB / 0.5502 GB, free: 3.168 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006538/0.9536, allocations: 89.09 kB / 0.5503 GB, free: 3.148 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009154/0.9545, allocations: 0.594 MB / 0.5508 GB, free: 2.812 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000213/0.9547, allocations: 0.798 MB / 0.5516 GB, free: 2.109 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001161/0.9548, allocations: 29.12 kB / 0.5517 GB, free: 2.102 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.9549, allocations: 122.2 kB / 0.5518 GB, free: 2.098 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.9549, allocations: 0 / 0.5518 GB, free: 2.098 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03249/0.9874, allocations: 8.177 MB / 0.5598 GB, free: 12.71 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.536/9.523, allocations: 21.92 kB / 0.5598 GB, free: 12.69 MB / 398.1 MB " [Timeout remaining time 650] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.sim & python3 -m fmpy simulate --output-file ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical_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_TestStatesTranscritical.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.722185174003243] Failed to read output from testmodel.py, exit status != 0: 9.819809034932405 9.84365409 8.897385438 Calling exit ...