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.001356/0.001356, allocations: 104.3 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.001418/0.001418, allocations: 212 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.459/1.459, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.01366/0.01366, allocations: 2.785 MB / 311.6 MB, free: 1.457 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.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.001972/0.001972, allocations: 67.89 kB / 433.5 MB, free: 15.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1036, allocations: 54.14 MB / 487.7 MB, free: 9.344 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical): time 0.02377/0.1274, allocations: 19.29 MB / 0.4951 GB, free: 5.984 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2496/0.377, allocations: 6.075 MB / 0.501 GB, free: 3.629 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002368/0.3772, allocations: 1.625 kB / 0.501 GB, free: 3.629 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006386/0.3779, allocations: 258 kB / 0.5013 GB, free: 3.629 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003416/0.3813, allocations: 1.201 MB / 0.5024 GB, free: 3.617 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003383/0.3816, allocations: 87.88 kB / 0.5025 GB, free: 3.617 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004796/0.3821, allocations: 308.8 kB / 0.5028 GB, free: 3.613 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.402e-05/0.3822, allocations: 13.61 kB / 0.5028 GB, free: 3.609 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001272/0.3823, allocations: 92.2 kB / 0.5029 GB, free: 3.609 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001675/0.3825, allocations: 114.3 kB / 0.503 GB, free: 3.609 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.287e-05/0.3825, allocations: 7.375 kB / 0.503 GB, free: 3.609 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3396/0.7221, allocations: 38.57 MB / 0.5407 GB, free: 168 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000105/0.7222, allocations: 32.95 kB / 0.5407 GB, free: 148 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004547/0.7227, allocations: 139.9 kB / 0.5409 GB, free: 36 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003328/0.726, allocations: 0.5053 MB / 0.5413 GB, free: 15.67 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.726, allocations: 0 / 0.5413 GB, free: 15.67 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.726, allocations: 0 / 0.5413 GB, free: 15.67 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.213e-05/0.726, allocations: 0 / 0.5413 GB, free: 15.67 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.0008856/0.7269, allocations: 0.5727 MB / 0.5419 GB, free: 15.09 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.66e-05/0.727, allocations: 11.98 kB / 0.5419 GB, free: 15.08 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.522e-05/0.7271, allocations: 74.34 kB / 0.542 GB, free: 15.02 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008504/0.7279, allocations: 202.7 kB / 0.5422 GB, free: 14.88 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001753/0.7281, allocations: 193.5 kB / 0.5424 GB, free: 14.66 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.477e-05/0.7281, allocations: 19.94 kB / 0.5424 GB, free: 14.65 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.481e-05/0.7282, allocations: 27 kB / 0.5424 GB, free: 14.63 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004976/0.7287, allocations: 330.8 kB / 0.5427 GB, free: 14.41 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.7287, allocations: 2.625 kB / 0.5427 GB, free: 14.41 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.117e-05/0.7287, allocations: 12.75 kB / 0.5427 GB, free: 14.41 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.624e-05/0.7287, allocations: 15.55 kB / 0.5428 GB, free: 14.39 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003328/0.729, allocations: 265.3 kB / 0.543 GB, free: 14.24 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002323/0.7314, allocations: 2.126 MB / 0.5451 GB, free: 11.96 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001886/0.7315, allocations: 98.77 kB / 0.5452 GB, free: 11.88 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001173/0.7317, allocations: 70.98 kB / 0.5452 GB, free: 11.84 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008515/0.7325, allocations: 0.6911 MB / 0.5459 GB, free: 11.13 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.7325, allocations: 30.56 kB / 0.546 GB, free: 11.09 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 1.913e-06/0.7325, allocations: 1.875 kB / 0.546 GB, free: 11.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.0004233/0.733, allocations: 193.6 kB / 0.5461 GB, free: 10.95 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.446e-05/0.733, allocations: 77.11 kB / 0.5462 GB, free: 10.86 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.7331, allocations: 106.2 kB / 0.5463 GB, free: 10.75 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/0.7332, allocations: 29.77 kB / 0.5463 GB, free: 10.71 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.7333, allocations: 161 kB / 0.5465 GB, free: 10.55 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.548e-05/0.7334, allocations: 106.1 kB / 0.5466 GB, free: 10.46 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.778e-05/0.7334, allocations: 42.28 kB / 0.5466 GB, free: 10.43 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.7336, allocations: 326.1 kB / 0.5469 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.582e-05/0.7336, allocations: 33.61 kB / 0.547 GB, free: 10.09 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.881e-05/0.7337, allocations: 88.42 kB / 0.5471 GB, free: 10.01 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001659/0.7339, allocations: 133.5 kB / 0.5472 GB, free: 9.906 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.7339, allocations: 0 / 0.5472 GB, free: 9.906 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002394/0.7341, allocations: 165.6 kB / 0.5474 GB, free: 9.785 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.7342, allocations: 4 kB / 0.5474 GB, free: 9.781 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.517e-06/0.7342, allocations: 4 kB / 0.5474 GB, free: 9.777 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.7342, allocations: 4 kB / 0.5474 GB, free: 9.773 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.525e-05/0.7343, allocations: 12.34 kB / 0.5474 GB, free: 9.766 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.7343, allocations: 4 kB / 0.5474 GB, free: 9.762 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.582e-05/0.7344, allocations: 19.28 kB / 0.5474 GB, free: 9.746 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/0.7344, allocations: 4 kB / 0.5474 GB, free: 9.742 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.0001404/0.7345, allocations: 137.1 kB / 0.5475 GB, free: 9.605 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.907e-05/0.7346, allocations: 11.2 kB / 0.5475 GB, free: 9.598 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.926e-05/0.7346, allocations: 11.94 kB / 0.5476 GB, free: 9.594 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.7346, allocations: 0 / 0.5476 GB, free: 9.594 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.7346, allocations: 0 / 0.5476 GB, free: 9.594 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.7346, allocations: 192 / 0.5476 GB, free: 9.594 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004417/0.7351, allocations: 283.5 kB / 0.5478 GB, free: 9.309 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.7351, allocations: 0 / 0.5478 GB, free: 9.309 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.921e-05/0.7351, allocations: 11.42 kB / 0.5478 GB, free: 9.301 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.7351, allocations: 3.938 kB / 0.5478 GB, free: 9.297 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.7351, allocations: 4 kB / 0.5478 GB, free: 9.293 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.7351, allocations: 4 kB / 0.5478 GB, free: 9.289 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.7351, allocations: 0 / 0.5478 GB, free: 9.289 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001773/0.7369, allocations: 321.1 kB / 0.5482 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.587e-05/0.737, allocations: 96.39 kB / 0.5482 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.737, allocations: 0 / 0.5482 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.848e-05/0.7371, allocations: 0 / 0.5482 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.201e-05/0.7371, allocations: 8 kB / 0.5483 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.455e-06/0.7371, allocations: 7.938 kB / 0.5483 GB, free: 8.879 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.457e-05/0.7372, allocations: 90.83 kB / 0.5483 GB, free: 8.793 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.7372, allocations: 0 / 0.5483 GB, free: 8.793 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004398/0.7376, allocations: 79.78 kB / 0.5484 GB, free: 8.715 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.0009914/0.7386, allocations: 0.927 MB / 0.5493 GB, free: 7.82 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003437/0.7389, allocations: 211.9 kB / 0.5495 GB, free: 7.652 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.7389, allocations: 0 / 0.5495 GB, free: 7.652 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002962/0.7392, allocations: 181.8 kB / 0.5497 GB, free: 7.496 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007162/0.74, allocations: 82.8 kB / 0.5498 GB, free: 7.422 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.7411, allocations: 0.5939 MB / 0.5504 GB, free: 6.82 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005142/0.7416, allocations: 0.7956 MB / 0.5511 GB, free: 5.996 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001205/0.7418, allocations: 29.19 kB / 0.5512 GB, free: 5.965 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001315/0.7419, allocations: 113.2 kB / 0.5513 GB, free: 5.938 MB / 398.1 MB Notification: Performance of SimCode: time 4.41e-07/0.7419, allocations: 0 / 0.5513 GB, free: 5.938 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03491/0.7768, allocations: 8.145 MB / 0.5592 GB, free: 13.87 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.493/9.27, allocations: 10.64 kB / 0.5592 GB, free: 13.86 MB / 414.1 MB " [Timeout remaining time 650] (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: 12.457502191886306] Failed to read output from testmodel.py, exit status != 0: 9.568695791065693 9.598549201 8.86695992 Calling exit ...