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.001283/0.001283, allocations: 114.3 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.001406/0.001406, allocations: 215 kB / 22.25 MB, free: 5.082 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.469/1.469, allocations: 230.6 MB / 256 MB, free: 8.039 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.01283/0.01283, allocations: 2.803 MB / 315.2 MB, free: 332 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.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.002014/0.002014, allocations: 71.89 kB / 438.7 MB, free: 13.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09206/0.09408, allocations: 54.17 MB / 492.9 MB, free: 7.375 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical): time 0.02166/0.1157, allocations: 19.4 MB / 0.5003 GB, free: 3.902 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2271/0.3429, allocations: 6.08 MB / 0.5062 GB, free: 4.07 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003115/0.3432, allocations: 1.031 kB / 0.5062 GB, free: 4.07 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008447/0.344, allocations: 256.6 kB / 0.5065 GB, free: 4.07 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003668/0.3477, allocations: 1.208 MB / 0.5076 GB, free: 4.051 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000342/0.348, allocations: 89.27 kB / 0.5077 GB, free: 4.047 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000551/0.3486, allocations: 303.7 kB / 0.508 GB, free: 4.047 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.383e-05/0.3487, allocations: 15.67 kB / 0.508 GB, free: 4.047 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001658/0.3488, allocations: 99.73 kB / 0.5081 GB, free: 4.047 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002013/0.349, allocations: 110.5 kB / 0.5082 GB, free: 4.043 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.459e-05/0.3491, allocations: 11.03 kB / 0.5082 GB, free: 4.043 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3393/0.6884, allocations: 38.68 MB / 0.546 GB, free: 456 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.992e-05/0.6884, allocations: 33.62 kB / 0.546 GB, free: 440 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003966/0.6888, allocations: 133.7 kB / 0.5462 GB, free: 336 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002129/0.691, allocations: 0.5111 MB / 0.5467 GB, free: 24 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.691, allocations: 0 / 0.5467 GB, free: 24 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.691, allocations: 0 / 0.5467 GB, free: 24 kB / 382.1 MB Notification: Performance of Transformations before backend: time 1.244e-05/0.691, allocations: 0 / 0.5467 GB, free: 24 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.0007593/0.6918, allocations: 0.5015 MB / 0.5472 GB, free: 15.56 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.6918, allocations: 8.031 kB / 0.5472 GB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.155e-05/0.6919, allocations: 73.58 kB / 0.5472 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007612/0.6926, allocations: 199.7 kB / 0.5474 GB, free: 15.36 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.6927, allocations: 130.3 kB / 0.5476 GB, free: 15.22 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.279e-05/0.6928, allocations: 19.31 kB / 0.5476 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.861e-05/0.6928, allocations: 27.06 kB / 0.5476 GB, free: 15.19 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004631/0.6933, allocations: 346.1 kB / 0.5479 GB, free: 14.96 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.6933, allocations: 7.938 kB / 0.5479 GB, free: 14.95 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.6933, allocations: 6.438 kB / 0.5479 GB, free: 14.95 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.053e-05/0.6933, allocations: 13.42 kB / 0.548 GB, free: 14.94 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003123/0.6936, allocations: 274.5 kB / 0.5482 GB, free: 14.77 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001879/0.6955, allocations: 2.095 MB / 0.5503 GB, free: 12.52 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001674/0.6957, allocations: 93.25 kB / 0.5504 GB, free: 12.44 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.799e-05/0.6958, allocations: 74.88 kB / 0.5504 GB, free: 12.39 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005932/0.6964, allocations: 0.521 MB / 0.5509 GB, free: 11.9 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.363e-05/0.6964, allocations: 33.62 kB / 0.551 GB, free: 11.86 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 1.423e-06/0.6964, allocations: 0 / 0.551 GB, free: 11.86 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003645/0.6968, allocations: 186.3 kB / 0.5511 GB, free: 11.72 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.358e-05/0.6968, allocations: 81.17 kB / 0.5512 GB, free: 11.62 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.695e-05/0.6969, allocations: 105.9 kB / 0.5513 GB, free: 11.52 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.6969, allocations: 25.7 kB / 0.5513 GB, free: 11.48 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.443e-05/0.697, allocations: 157.1 kB / 0.5515 GB, free: 11.34 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.899e-05/0.6971, allocations: 108.3 kB / 0.5516 GB, free: 11.24 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.297e-05/0.6972, allocations: 48.39 kB / 0.5516 GB, free: 11.2 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.6973, allocations: 322.2 kB / 0.552 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.602e-05/0.6974, allocations: 33.69 kB / 0.552 GB, free: 10.86 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.683e-05/0.6975, allocations: 82.5 kB / 0.5521 GB, free: 10.79 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001737/0.6976, allocations: 146.9 kB / 0.5522 GB, free: 10.67 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.6976, allocations: 0 / 0.5522 GB, free: 10.67 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002201/0.6979, allocations: 154.1 kB / 0.5523 GB, free: 10.55 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.6979, allocations: 11.94 kB / 0.5524 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.6979, allocations: 0 / 0.5524 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.6979, allocations: 4 kB / 0.5524 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.884e-05/0.698, allocations: 8 kB / 0.5524 GB, free: 10.53 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.698, allocations: 0 / 0.5524 GB, free: 10.53 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.578e-05/0.698, allocations: 22.78 kB / 0.5524 GB, free: 10.51 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.446e-05/0.6981, allocations: 16.17 kB / 0.5524 GB, free: 10.49 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.000123/0.6982, allocations: 132.5 kB / 0.5525 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.892e-05/0.6982, allocations: 11.94 kB / 0.5525 GB, free: 10.35 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.585e-05/0.6983, allocations: 8.094 kB / 0.5526 GB, free: 10.35 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.6983, allocations: 4 kB / 0.5526 GB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.6983, allocations: 0 / 0.5526 GB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.6983, allocations: 0 / 0.5526 GB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003458/0.6986, allocations: 258.8 kB / 0.5528 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.6986, allocations: 4 kB / 0.5528 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.175e-05/0.6986, allocations: 8 kB / 0.5528 GB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.6987, allocations: 0 / 0.5528 GB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.6987, allocations: 4 kB / 0.5528 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.6987, allocations: 0 / 0.5528 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.6987, allocations: 7.922 kB / 0.5528 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001653/0.7003, allocations: 315 kB / 0.5531 GB, free: 9.785 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.307e-05/0.7004, allocations: 15.84 kB / 0.5531 GB, free: 9.77 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.7004, allocations: 0 / 0.5531 GB, free: 9.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001208/0.7005, allocations: 4 kB / 0.5531 GB, free: 9.766 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.723e-05/0.7005, allocations: 4 kB / 0.5532 GB, free: 9.762 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.7005, allocations: 11.61 kB / 0.5532 GB, free: 9.754 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.449e-05/0.7006, allocations: 83.22 kB / 0.5532 GB, free: 9.672 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.7006, allocations: 0 / 0.5532 GB, free: 9.672 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004784/0.701, allocations: 91.09 kB / 0.5533 GB, free: 9.586 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.0008782/0.7019, allocations: 0.9225 MB / 0.5542 GB, free: 8.688 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003296/0.7022, allocations: 215.6 kB / 0.5544 GB, free: 8.484 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.7022, allocations: 0 / 0.5544 GB, free: 8.484 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001753/0.7024, allocations: 185.7 kB / 0.5546 GB, free: 8.293 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006685/0.7031, allocations: 87.78 kB / 0.5547 GB, free: 8.207 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.7042, allocations: 0.5827 MB / 0.5553 GB, free: 7.582 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004439/0.7046, allocations: 0.7995 MB / 0.556 GB, free: 6.754 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000104/0.7047, allocations: 25.12 kB / 0.5561 GB, free: 6.73 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001462/0.7049, allocations: 119.4 kB / 0.5562 GB, free: 6.617 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.7049, allocations: 4 kB / 0.5562 GB, free: 6.613 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03703/0.7419, allocations: 8.736 MB / 0.5647 GB, free: 13.96 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/12.3, allocations: 3.859 kB / 0.5647 GB, free: 13.95 MB / 414.1 MB " [Timeout remaining time 647] (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: 15.53052453300188] Failed to read output from testmodel.py, exit status != 0: 12.626066712000465 12.658568793 11.962006563 Calling exit ...