Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.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.001582/0.001582, allocations: 113 kB / 18.94 MB, free: 2.934 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.00194/0.00194, allocations: 209.8 kB / 22.25 MB, free: 5.086 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.499/1.499, allocations: 230.6 MB / 256 MB, free: 8 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.0126/0.0126, allocations: 2.791 MB / 315.2 MB, free: 292 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.TestStatesTranscritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestStatesTranscritical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_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.001997/0.001997, allocations: 63.89 kB / 438.7 MB, free: 13.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09793/0.09992, allocations: 54.17 MB / 492.9 MB, free: 7.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical): time 0.02248/0.1224, allocations: 19.4 MB / 0.5003 GB, free: 3.848 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2159/0.3383, allocations: 6.082 MB / 0.5062 GB, free: 4.094 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002185/0.3385, allocations: 4.656 kB / 0.5062 GB, free: 4.094 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006075/0.3391, allocations: 258.2 kB / 0.5065 GB, free: 4.094 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003489/0.3426, allocations: 1.206 MB / 0.5076 GB, free: 4.074 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000292/0.3429, allocations: 81.67 kB / 0.5077 GB, free: 4.07 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005544/0.3434, allocations: 311.8 kB / 0.508 GB, free: 4.07 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.956e-05/0.3435, allocations: 15.44 kB / 0.508 GB, free: 4.07 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001492/0.3437, allocations: 94.98 kB / 0.5081 GB, free: 4.07 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001942/0.3439, allocations: 113.5 kB / 0.5082 GB, free: 4.062 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.148e-05/0.3439, allocations: 8.156 kB / 0.5082 GB, free: 4.062 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3401/0.684, allocations: 38.67 MB / 0.546 GB, free: 480 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.875e-05/0.684, allocations: 31.22 kB / 0.546 GB, free: 464 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003504/0.6844, allocations: 131.6 kB / 0.5462 GB, free: 364 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002581/0.687, allocations: 0.5123 MB / 0.5467 GB, free: 48 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.687, allocations: 3.938 kB / 0.5467 GB, free: 44 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.687, allocations: 0 / 0.5467 GB, free: 44 kB / 382.1 MB Notification: Performance of Transformations before backend: time 7.905e-06/0.687, allocations: 0 / 0.5467 GB, free: 44 kB / 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.0007283/0.6877, allocations: 0.5028 MB / 0.5472 GB, free: 15.57 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.6878, allocations: 12.03 kB / 0.5472 GB, free: 15.56 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.318e-05/0.6878, allocations: 72.42 kB / 0.5472 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007546/0.6886, allocations: 209 kB / 0.5474 GB, free: 15.36 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.6887, allocations: 128.9 kB / 0.5476 GB, free: 15.22 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.893e-05/0.6887, allocations: 16.81 kB / 0.5476 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.385e-05/0.6888, allocations: 26.44 kB / 0.5476 GB, free: 15.19 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005021/0.6893, allocations: 339 kB / 0.5479 GB, free: 14.96 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.6893, allocations: 4 kB / 0.5479 GB, free: 14.96 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.848e-05/0.6893, allocations: 13.38 kB / 0.5479 GB, free: 14.96 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.631e-05/0.6893, allocations: 11.98 kB / 0.548 GB, free: 14.95 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000353/0.6897, allocations: 278.5 kB / 0.5482 GB, free: 14.78 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00209/0.6918, allocations: 2.081 MB / 0.5503 GB, free: 12.54 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001552/0.6919, allocations: 100.3 kB / 0.5503 GB, free: 12.46 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.692, allocations: 68.55 kB / 0.5504 GB, free: 12.42 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000621/0.6926, allocations: 0.5245 MB / 0.5509 GB, free: 11.92 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.726e-05/0.6927, allocations: 38.12 kB / 0.551 GB, free: 11.88 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 1.824e-06/0.6927, allocations: 0 / 0.551 GB, free: 11.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.0004041/0.6931, allocations: 182.5 kB / 0.5511 GB, free: 11.74 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.869e-05/0.6931, allocations: 81.17 kB / 0.5512 GB, free: 11.64 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.6932, allocations: 109.4 kB / 0.5513 GB, free: 11.53 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.328e-05/0.6933, allocations: 25.7 kB / 0.5513 GB, free: 11.5 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.6934, allocations: 162.8 kB / 0.5515 GB, free: 11.35 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.168e-05/0.6935, allocations: 106 kB / 0.5516 GB, free: 11.25 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.767e-05/0.6936, allocations: 44.34 kB / 0.5516 GB, free: 11.21 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001894/0.6937, allocations: 326 kB / 0.552 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.786e-05/0.6938, allocations: 35.05 kB / 0.552 GB, free: 10.88 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.233e-05/0.6939, allocations: 82.02 kB / 0.5521 GB, free: 10.8 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001737/0.6941, allocations: 137.1 kB / 0.5522 GB, free: 10.69 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.6941, allocations: 4 kB / 0.5522 GB, free: 10.69 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000232/0.6943, allocations: 153.1 kB / 0.5523 GB, free: 10.57 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.6943, allocations: 4 kB / 0.5523 GB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.6943, allocations: 4 kB / 0.5524 GB, free: 10.56 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.6943, allocations: 3.938 kB / 0.5524 GB, free: 10.56 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.179e-05/0.6944, allocations: 19.92 kB / 0.5524 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.6944, allocations: 0 / 0.5524 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.498e-05/0.6945, allocations: 19.78 kB / 0.5524 GB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/0.6945, allocations: 8.188 kB / 0.5524 GB, free: 10.51 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.0001318/0.6946, allocations: 137 kB / 0.5525 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.731e-05/0.6947, allocations: 11.89 kB / 0.5525 GB, free: 10.37 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.999e-05/0.6947, allocations: 7.844 kB / 0.5526 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.6947, allocations: 7.984 kB / 0.5526 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.6947, allocations: 0 / 0.5526 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.6948, allocations: 4 kB / 0.5526 GB, free: 10.35 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003622/0.6951, allocations: 257.8 kB / 0.5528 GB, free: 10.1 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.6951, allocations: 4 kB / 0.5528 GB, free: 10.1 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.069e-05/0.6951, allocations: 5.75 kB / 0.5528 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.6951, allocations: 4 kB / 0.5528 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.6951, allocations: 0 / 0.5528 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.6951, allocations: 3.938 kB / 0.5528 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.6952, allocations: 4 kB / 0.5528 GB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001754/0.6969, allocations: 311.3 kB / 0.5531 GB, free: 9.805 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.096e-05/0.6969, allocations: 19.84 kB / 0.5531 GB, free: 9.785 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.699e-05/0.697, allocations: 4 kB / 0.5531 GB, free: 9.781 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.6971, allocations: 3.984 kB / 0.5532 GB, free: 9.777 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.035e-05/0.6971, allocations: 4 kB / 0.5532 GB, free: 9.773 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.6971, allocations: 0 / 0.5532 GB, free: 9.773 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.864e-05/0.6972, allocations: 86.47 kB / 0.5532 GB, free: 9.691 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6972, allocations: 0 / 0.5532 GB, free: 9.691 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008559/0.698, allocations: 95.14 kB / 0.5533 GB, free: 9.602 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.001056/0.6991, allocations: 0.9279 MB / 0.5542 GB, free: 8.695 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003703/0.6994, allocations: 211.3 kB / 0.5544 GB, free: 8.488 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.6994, allocations: 0 / 0.5544 GB, free: 8.488 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000194/0.6996, allocations: 181.7 kB / 0.5546 GB, free: 8.301 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000715/0.7003, allocations: 87.78 kB / 0.5547 GB, free: 8.215 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001138/0.7015, allocations: 0.5829 MB / 0.5553 GB, free: 7.59 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004802/0.702, allocations: 0.8034 MB / 0.556 GB, free: 6.758 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001111/0.7021, allocations: 21.12 kB / 0.5561 GB, free: 6.738 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001733/0.7022, allocations: 123.4 kB / 0.5562 GB, free: 6.621 MB / 398.1 MB Notification: Performance of SimCode: time 6.21e-07/0.7022, allocations: 0 / 0.5562 GB, free: 6.621 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03726/0.7395, allocations: 8.743 MB / 0.5647 GB, free: 13.96 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/12.4, allocations: 3.859 kB / 0.5647 GB, free: 13.96 MB / 414.1 MB " [Timeout remaining time 647] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.sim & python3 -m fmpy simulate --output-file ExternalMedia_ExternalMedia.Test.CoolProp.CO2.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_TestStatesTranscritical.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.492367146005563] Failed to read output from testmodel.py, exit status != 0: 12.73216942200088 12.749379315 12.059106638 Calling exit ...