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.001301/0.001301, allocations: 108.2 kB / 16.45 MB, free: 6.508 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.001431/0.001431, allocations: 215.2 kB / 19.43 MB, free: 3.648 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.502/1.502, allocations: 230.6 MB / 252.8 MB, free: 9.121 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.0138/0.0138, allocations: 2.792 MB / 311.6 MB, free: 1.484 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.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.002866/0.002866, allocations: 67.89 kB / 433.5 MB, free: 15.47 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1073, allocations: 54.13 MB / 487.7 MB, free: 9.234 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical): time 0.02122/0.1285, allocations: 19.29 MB / 0.4951 GB, free: 5.871 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006013/0.1345, allocations: 6.084 MB / 0.501 GB, free: 15.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001789/0.1347, allocations: 0 / 0.501 GB, free: 15.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006472/0.1353, allocations: 254.5 kB / 0.5013 GB, free: 15.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0032/0.1385, allocations: 1.21 MB / 0.5024 GB, free: 14.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002944/0.1388, allocations: 87.36 kB / 0.5025 GB, free: 14.21 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000441/0.1393, allocations: 305.8 kB / 0.5028 GB, free: 13.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.547e-05/0.1393, allocations: 20.72 kB / 0.5028 GB, free: 13.89 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.1394, allocations: 95.59 kB / 0.5029 GB, free: 13.79 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001562/0.1396, allocations: 111.4 kB / 0.503 GB, free: 13.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.112e-05/0.1396, allocations: 8 kB / 0.503 GB, free: 13.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.9322/1.072, allocations: 39.04 MB / 0.5412 GB, free: 9.535 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.348e-05/1.072, allocations: 31.73 kB / 0.5412 GB, free: 9.523 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002035/1.072, allocations: 131.5 kB / 0.5413 GB, free: 9.484 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001867/1.074, allocations: 0.5096 MB / 0.5418 GB, free: 9.422 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/1.074, allocations: 0 / 0.5418 GB, free: 9.422 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.293e-06/1.074, allocations: 0 / 0.5418 GB, free: 9.422 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.95e-05/1.074, allocations: 0 / 0.5418 GB, free: 9.422 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.0006679/1.075, allocations: 0.5728 MB / 0.5424 GB, free: 8.961 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/1.075, allocations: 17.8 kB / 0.5424 GB, free: 8.953 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.462e-05/1.075, allocations: 68.66 kB / 0.5425 GB, free: 8.914 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008159/1.076, allocations: 207.2 kB / 0.5427 GB, free: 8.898 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/1.076, allocations: 187.4 kB / 0.5428 GB, free: 8.691 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.869e-05/1.076, allocations: 20.53 kB / 0.5429 GB, free: 8.688 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.833e-05/1.076, allocations: 29.75 kB / 0.5429 GB, free: 8.684 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004848/1.076, allocations: 335.8 kB / 0.5432 GB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/1.076, allocations: 0 / 0.5432 GB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.14e-05/1.076, allocations: 16.34 kB / 0.5432 GB, free: 8.629 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.827e-05/1.076, allocations: 8.516 kB / 0.5432 GB, free: 8.629 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003216/1.077, allocations: 269 kB / 0.5435 GB, free: 8.621 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001347/1.078, allocations: 2.122 MB / 0.5456 GB, free: 6.688 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001447/1.078, allocations: 95.44 kB / 0.5457 GB, free: 6.641 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.421e-05/1.078, allocations: 72.69 kB / 0.5457 GB, free: 6.625 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005344/1.079, allocations: 0.6902 MB / 0.5464 GB, free: 5.988 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/1.079, allocations: 35.72 kB / 0.5464 GB, free: 5.949 MB / 382.1 MB Notification: Performance of pre-optimization done (n=32): time 1.463e-06/1.079, allocations: 0 / 0.5464 GB, free: 5.949 MB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003825/1.079, allocations: 182.1 kB / 0.5466 GB, free: 5.91 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.986e-05/1.079, allocations: 80.98 kB / 0.5467 GB, free: 5.816 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.928e-05/1.079, allocations: 113.4 kB / 0.5468 GB, free: 5.711 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/1.079, allocations: 27.08 kB / 0.5468 GB, free: 5.68 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.65e-05/1.079, allocations: 156.3 kB / 0.547 GB, free: 5.551 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.57e-05/1.079, allocations: 108.3 kB / 0.5471 GB, free: 5.477 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.757e-05/1.079, allocations: 44.22 kB / 0.5471 GB, free: 5.457 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.046e-05/1.079, allocations: 327.9 kB / 0.5474 GB, free: 5.137 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.798e-05/1.08, allocations: 32.52 kB / 0.5475 GB, free: 5.137 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.641e-05/1.08, allocations: 82.83 kB / 0.5475 GB, free: 5.086 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001539/1.08, allocations: 144.9 kB / 0.5477 GB, free: 5.031 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/1.08, allocations: 0 / 0.5477 GB, free: 5.031 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000219/1.08, allocations: 157.7 kB / 0.5478 GB, free: 4.988 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/1.08, allocations: 7.734 kB / 0.5478 GB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/1.08, allocations: 1.75 kB / 0.5478 GB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/1.08, allocations: 2.125 kB / 0.5478 GB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.342e-05/1.08, allocations: 9.125 kB / 0.5478 GB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/1.08, allocations: 3.406 kB / 0.5478 GB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.041e-05/1.08, allocations: 22.78 kB / 0.5479 GB, free: 4.973 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.446e-05/1.08, allocations: 9.25 kB / 0.5479 GB, free: 4.973 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.462e-05/1.08, allocations: 130.5 kB / 0.548 GB, free: 4.852 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.822e-05/1.08, allocations: 9.547 kB / 0.548 GB, free: 4.848 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.641e-05/1.08, allocations: 13.47 kB / 0.548 GB, free: 4.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/1.08, allocations: 0 / 0.548 GB, free: 4.84 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/1.08, allocations: 0 / 0.548 GB, free: 4.84 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/1.08, allocations: 7.219 kB / 0.548 GB, free: 4.836 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002805/1.081, allocations: 283.8 kB / 0.5483 GB, free: 4.629 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/1.081, allocations: 0 / 0.5483 GB, free: 4.629 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.399e-05/1.081, allocations: 4.25 kB / 0.5483 GB, free: 4.629 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/1.081, allocations: 3.938 kB / 0.5483 GB, free: 4.625 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-06/1.081, allocations: 12.25 kB / 0.5483 GB, free: 4.621 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/1.081, allocations: 0 / 0.5483 GB, free: 4.621 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/1.081, allocations: 80 / 0.5483 GB, free: 4.621 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001493/1.082, allocations: 318.2 kB / 0.5486 GB, free: 4.398 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.384e-05/1.082, allocations: 97.83 kB / 0.5487 GB, free: 4.293 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/1.082, allocations: 6.781 kB / 0.5487 GB, free: 4.289 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/1.082, allocations: 1.125 kB / 0.5487 GB, free: 4.289 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.298e-05/1.082, allocations: 9.656 kB / 0.5487 GB, free: 4.285 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/1.082, allocations: 3.375 kB / 0.5487 GB, free: 4.285 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.23e-05/1.082, allocations: 84.19 kB / 0.5488 GB, free: 4.207 MB / 382.1 MB Notification: Performance of sort global known variables: time 6.1e-08/1.082, allocations: 0 / 0.5488 GB, free: 4.207 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000407/1.083, allocations: 87.72 kB / 0.5489 GB, free: 4.188 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.0006617/1.083, allocations: 0.9356 MB / 0.5498 GB, free: 3.398 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003089/1.084, allocations: 201.6 kB / 0.55 GB, free: 3.324 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/1.084, allocations: 0 / 0.55 GB, free: 3.324 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000125/1.084, allocations: 189.5 kB / 0.5502 GB, free: 3.211 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000688/1.085, allocations: 88.64 kB / 0.5503 GB, free: 3.188 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009726/1.086, allocations: 0.5907 MB / 0.5508 GB, free: 2.859 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002438/1.086, allocations: 0.798 MB / 0.5516 GB, free: 2.152 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001249/1.086, allocations: 23.05 kB / 0.5516 GB, free: 2.152 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/1.086, allocations: 122 kB / 0.5518 GB, free: 2.145 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/1.086, allocations: 4 kB / 0.5518 GB, free: 2.141 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03469/1.121, allocations: 8.181 MB / 0.5598 GB, free: 12.82 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.645/9.766, allocations: 15.73 kB / 0.5598 GB, free: 12.8 MB / 398.1 MB " [Timeout remaining time 650] (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: 12.98674198705703] Failed to read output from testmodel.py, exit status != 0: 10.063695293385535 10.088102648 9.009477843 Calling exit ...