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.0009159/0.0009159, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0009277/0.0009277, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8928/0.8928, allocations: 177.1 MB / 202.8 MB, free: 5.539 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo): time 0.008193/0.008193, allocations: 1.989 MB / 261.2 MB, free: 11.15 MB / 250.7 MB " [Timeout remaining time 180] Using package ExternalMedia with version 4.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/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: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 384.7 MB, free: 11.91 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.938e-05/2.113e-05, allocations: 6.219 kB / 384.7 MB, free: 11.9 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical): time 0.01301/0.01303, allocations: 17.28 MB / 402 MB, free: 10.55 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003399/0.01643, allocations: 5.266 MB / 407.2 MB, free: 5.266 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00016/0.01659, allocations: 0 / 407.2 MB, free: 5.266 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004889/0.01708, allocations: 218.6 kB / 407.4 MB, free: 5.051 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00267/0.01975, allocations: 1.213 MB / 408.6 MB, free: 3.828 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002454/0.02, allocations: 95.23 kB / 408.7 MB, free: 3.734 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003171/0.02031, allocations: 321.5 kB / 409.1 MB, free: 3.418 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.559e-05/0.02037, allocations: 12.94 kB / 409.1 MB, free: 3.406 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/0.02048, allocations: 151.5 kB / 409.2 MB, free: 3.258 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.948e-05/0.02058, allocations: 83.77 kB / 409.3 MB, free: 3.176 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.817e-05/0.0206, allocations: 8 kB / 409.3 MB, free: 3.168 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.8647/0.8853, allocations: 39.15 MB / 448.5 MB, free: 4.445 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.219e-05/0.8853, allocations: 31.67 kB / 448.5 MB, free: 4.441 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001561/0.8855, allocations: 86.98 kB / 448.6 MB, free: 4.375 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001369/0.8869, allocations: 0.5065 MB / 449.1 MB, free: 4.117 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.8869, allocations: 0 / 449.1 MB, free: 4.117 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.8869, allocations: 3.938 kB / 449.1 MB, free: 4.113 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.8869, allocations: 0 / 449.1 MB, free: 4.113 MB / 330.7 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.0004069/0.8873, allocations: 0.499 MB / 449.6 MB, free: 3.652 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.8873, allocations: 8.031 kB / 449.6 MB, free: 3.645 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.287e-05/0.8874, allocations: 69.28 kB / 449.7 MB, free: 3.594 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003925/0.8878, allocations: 201.8 kB / 449.9 MB, free: 3.512 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.689e-05/0.8878, allocations: 136.8 kB / 450 MB, free: 3.367 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.8879, allocations: 14.75 kB / 450 MB, free: 3.355 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.778e-05/0.8879, allocations: 23.56 kB / 450 MB, free: 3.34 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002867/0.8882, allocations: 342.5 kB / 450.4 MB, free: 3.152 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.8882, allocations: 3.938 kB / 450.4 MB, free: 3.148 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.8882, allocations: 11.69 kB / 450.4 MB, free: 3.145 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.228e-06/0.8882, allocations: 11.89 kB / 450.4 MB, free: 3.137 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001701/0.8884, allocations: 272.2 kB / 450.7 MB, free: 3 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007119/0.8891, allocations: 0.8552 MB / 451.5 MB, free: 2.379 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.791e-05/0.8892, allocations: 95.97 kB / 451.6 MB, free: 2.309 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.9e-05/0.8892, allocations: 80.48 kB / 451.7 MB, free: 2.258 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003108/0.8895, allocations: 0.4992 MB / 452.2 MB, free: 1.777 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.573e-05/0.8895, allocations: 33.84 kB / 452.2 MB, free: 1.738 MB / 330.7 MB Notification: Performance of pre-optimization done (n=32): time 1.744e-06/0.8896, allocations: 0 / 452.2 MB, free: 1.738 MB / 330.7 MB Notification: Performance of matching and sorting (n=32): time 0.0002384/0.8898, allocations: 190.6 kB / 452.4 MB, free: 1.602 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.313e-05/0.8898, allocations: 77.11 kB / 452.5 MB, free: 1.508 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.108e-05/0.8899, allocations: 108.7 kB / 452.6 MB, free: 1.398 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.781e-06/0.8899, allocations: 29.7 kB / 452.6 MB, free: 1.363 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.482e-05/0.8899, allocations: 174.9 kB / 452.8 MB, free: 1.199 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.525e-05/0.8899, allocations: 95.52 kB / 452.9 MB, free: 1.117 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.901e-05/0.89, allocations: 41.22 kB / 452.9 MB, free: 1.078 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.253e-05/0.89, allocations: 322.8 kB / 453.2 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.483e-05/0.89, allocations: 32.11 kB / 453.3 MB, free: 0.7422 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.433e-05/0.8901, allocations: 83.25 kB / 453.3 MB, free: 0.6641 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.882e-05/0.8902, allocations: 141.9 kB / 453.5 MB, free: 0.5586 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.8902, allocations: 0 / 453.5 MB, free: 0.5586 MB / 330.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0001298/0.8903, allocations: 164.3 kB / 453.6 MB, free: 452 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.8903, allocations: 8 kB / 453.6 MB, free: 444 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.8903, allocations: 0 / 453.6 MB, free: 444 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.8904, allocations: 4 kB / 453.7 MB, free: 440 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.794e-05/0.8904, allocations: 8 kB / 453.7 MB, free: 432 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.8904, allocations: 0 / 453.7 MB, free: 432 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.816e-05/0.8905, allocations: 21.34 kB / 453.7 MB, free: 412 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.8905, allocations: 8 kB / 453.7 MB, free: 404 kB / 330.7 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 6.787e-05/0.8905, allocations: 138.5 kB / 453.8 MB, free: 268 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.473e-05/0.8906, allocations: 11.91 kB / 453.8 MB, free: 256 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.681e-05/0.8906, allocations: 12.03 kB / 453.8 MB, free: 256 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.8906, allocations: 4 kB / 453.9 MB, free: 252 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.8906, allocations: 0 / 453.9 MB, free: 252 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.8906, allocations: 0 / 453.9 MB, free: 252 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001785/0.8908, allocations: 246.5 kB / 454.1 MB, free: 4 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.8908, allocations: 0 / 454.1 MB, free: 4 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.032e-05/0.8908, allocations: 12.42 kB / 454.1 MB, free: 15.99 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.8908, allocations: 0 / 454.1 MB, free: 15.99 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.8908, allocations: 0 / 454.1 MB, free: 15.99 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.8908, allocations: 8 kB / 454.1 MB, free: 15.98 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.8908, allocations: 3.281 kB / 454.1 MB, free: 15.98 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002161/0.8911, allocations: 312.6 kB / 454.4 MB, free: 15.7 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.644e-05/0.8911, allocations: 11.89 kB / 454.4 MB, free: 15.69 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.231e-05/0.8911, allocations: 0 / 454.4 MB, free: 15.69 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.32e-05/0.8912, allocations: 7.875 kB / 454.4 MB, free: 15.69 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.68e-05/0.8912, allocations: 3.984 kB / 454.4 MB, free: 15.68 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.8912, allocations: 4 kB / 454.4 MB, free: 15.68 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.906e-05/0.8912, allocations: 79.28 kB / 454.5 MB, free: 15.6 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.8912, allocations: 0 / 454.5 MB, free: 15.6 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002601/0.8915, allocations: 87.66 kB / 454.6 MB, free: 15.52 MB / 346.7 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.0005956/0.8921, allocations: 0.953 MB / 455.6 MB, free: 14.6 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002406/0.8923, allocations: 205.4 kB / 455.8 MB, free: 14.44 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.8923, allocations: 0 / 455.8 MB, free: 14.44 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.865e-05/0.8924, allocations: 172.2 kB / 455.9 MB, free: 14.3 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004706/0.8929, allocations: 87.66 kB / 456 MB, free: 14.22 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007655/0.8936, allocations: 0.5673 MB / 456.6 MB, free: 13.64 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001842/0.8938, allocations: 195 kB / 456.8 MB, free: 13.43 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001025/0.8939, allocations: 29.12 kB / 456.8 MB, free: 13.4 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.229e-05/0.894, allocations: 120 kB / 456.9 MB, free: 13.36 MB / 346.7 MB Notification: Performance of SimCode: time 9.42e-07/0.894, allocations: 0 / 456.9 MB, free: 13.36 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01908/0.9131, allocations: 9.041 MB / 466 MB, free: 4.391 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.062/7.975, allocations: 0 / 466 MB, free: 4.391 MB / 346.7 MB " [Timeout remaining time 652] (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: 10.643010284751654] Failed to read output from testmodel.py, exit status != 0: 8.314022959209979 8.32308764 7.433518105 Calling exit ...