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.001843/0.001843, allocations: 106.5 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.00205/0.00205, 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.482/1.482, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.01258/0.01258, allocations: 2.787 MB / 311.6 MB, free: 1.469 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.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.001905/0.001905, allocations: 72.16 kB / 433.5 MB, free: 15.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1087, allocations: 54.14 MB / 487.7 MB, free: 9.117 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical): time 0.02233/0.1311, allocations: 19.3 MB / 0.4951 GB, free: 5.746 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006483/0.1375, allocations: 6.072 MB / 0.501 GB, free: 15.65 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002159/0.1378, allocations: 0 / 0.501 GB, free: 15.65 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006386/0.1384, allocations: 254.5 kB / 0.5013 GB, free: 15.4 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003186/0.1416, allocations: 1.206 MB / 0.5024 GB, free: 14.19 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002725/0.1419, allocations: 87.38 kB / 0.5025 GB, free: 14.1 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004032/0.1423, allocations: 309.7 kB / 0.5028 GB, free: 13.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.648e-05/0.1423, allocations: 20.73 kB / 0.5028 GB, free: 13.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.15e-05/0.1424, allocations: 91.59 kB / 0.5029 GB, free: 13.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000173/0.1426, allocations: 119.4 kB / 0.503 GB, free: 13.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/0.1426, allocations: 8 kB / 0.503 GB, free: 13.56 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.5906/0.7332, allocations: 38.55 MB / 0.5407 GB, free: 9.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.898e-05/0.7333, allocations: 35.02 kB / 0.5407 GB, free: 9.738 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002282/0.7335, allocations: 125.8 kB / 0.5408 GB, free: 9.699 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002154/0.7357, allocations: 0.5166 MB / 0.5413 GB, free: 9.633 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.7357, allocations: 0 / 0.5413 GB, free: 9.633 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.7357, allocations: 0 / 0.5413 GB, free: 9.633 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.209e-05/0.7357, allocations: 0 / 0.5413 GB, free: 9.633 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.0007201/0.7364, allocations: 0.5731 MB / 0.5419 GB, free: 9.172 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.7364, allocations: 11.45 kB / 0.5419 GB, free: 9.168 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.31e-05/0.7365, allocations: 69.73 kB / 0.542 GB, free: 9.129 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000876/0.7374, allocations: 206.9 kB / 0.5422 GB, free: 9.113 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.811e-05/0.7375, allocations: 188 kB / 0.5424 GB, free: 8.906 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.629e-05/0.7375, allocations: 22.19 kB / 0.5424 GB, free: 8.902 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.802e-05/0.7375, allocations: 26.44 kB / 0.5424 GB, free: 8.898 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004492/0.738, allocations: 337.8 kB / 0.5427 GB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.738, allocations: 0 / 0.5427 GB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.847e-05/0.738, allocations: 9.719 kB / 0.5427 GB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.591e-05/0.738, allocations: 15.45 kB / 0.5428 GB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002975/0.7383, allocations: 263.2 kB / 0.543 GB, free: 8.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001274/0.7396, allocations: 2.124 MB / 0.5451 GB, free: 6.906 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/0.7397, allocations: 99.38 kB / 0.5452 GB, free: 6.855 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.786e-05/0.7398, allocations: 70 kB / 0.5452 GB, free: 6.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005042/0.7403, allocations: 0.691 MB / 0.5459 GB, free: 6.207 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.715e-05/0.7403, allocations: 38.5 kB / 0.546 GB, free: 6.164 MB / 382.1 MB Notification: Performance of pre-optimization done (n=32): time 1.823e-06/0.7403, allocations: 0 / 0.546 GB, free: 6.164 MB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003883/0.7407, allocations: 187 kB / 0.5461 GB, free: 6.121 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/0.7408, allocations: 81.05 kB / 0.5462 GB, free: 6.027 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.086e-05/0.7408, allocations: 107.1 kB / 0.5463 GB, free: 5.926 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.7409, allocations: 27.48 kB / 0.5463 GB, free: 5.895 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.604e-05/0.7409, allocations: 158.8 kB / 0.5465 GB, free: 5.766 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.092e-05/0.741, allocations: 110.2 kB / 0.5466 GB, free: 5.691 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.751e-05/0.741, allocations: 49.94 kB / 0.5466 GB, free: 5.664 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.328e-05/0.7411, allocations: 324.4 kB / 0.547 GB, free: 5.348 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.771e-05/0.7411, allocations: 36.86 kB / 0.547 GB, free: 5.348 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.321e-05/0.7412, allocations: 73.05 kB / 0.5471 GB, free: 5.301 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001471/0.7413, allocations: 145.9 kB / 0.5472 GB, free: 5.246 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.7413, allocations: 0 / 0.5472 GB, free: 5.246 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002353/0.7416, allocations: 156.8 kB / 0.5473 GB, free: 5.203 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/0.7416, allocations: 9.406 kB / 0.5474 GB, free: 5.199 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.7416, allocations: 1.562 kB / 0.5474 GB, free: 5.199 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.7416, allocations: 6.75 kB / 0.5474 GB, free: 5.195 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.27e-05/0.7417, allocations: 17.77 kB / 0.5474 GB, free: 5.191 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.7417, allocations: 2.75 kB / 0.5474 GB, free: 5.191 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.293e-05/0.7418, allocations: 19.91 kB / 0.5474 GB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.478e-05/0.7418, allocations: 4.125 kB / 0.5474 GB, free: 5.176 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.924e-05/0.7419, allocations: 130.2 kB / 0.5475 GB, free: 5.059 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.865e-05/0.7419, allocations: 8.078 kB / 0.5475 GB, free: 5.055 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.775e-05/0.742, allocations: 18.05 kB / 0.5476 GB, free: 5.047 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.441e-06/0.742, allocations: 1.375 kB / 0.5476 GB, free: 5.047 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.742, allocations: 5.375 kB / 0.5476 GB, free: 5.043 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.742, allocations: 0 / 0.5476 GB, free: 5.043 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000335/0.7423, allocations: 281.9 kB / 0.5478 GB, free: 4.836 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.594e-06/0.7423, allocations: 1.375 kB / 0.5478 GB, free: 4.836 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.486e-05/0.7424, allocations: 2.75 kB / 0.5478 GB, free: 4.836 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.7424, allocations: 5.375 kB / 0.5478 GB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.7424, allocations: 1.375 kB / 0.5478 GB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.7424, allocations: 3.953 kB / 0.5478 GB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.7424, allocations: 0 / 0.5478 GB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001803/0.7442, allocations: 320.7 kB / 0.5481 GB, free: 4.609 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.136e-05/0.7442, allocations: 98.34 kB / 0.5482 GB, free: 4.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.7442, allocations: 2.562 kB / 0.5482 GB, free: 4.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.7443, allocations: 2.109 kB / 0.5482 GB, free: 4.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.77e-05/0.7444, allocations: 11.3 kB / 0.5483 GB, free: 4.496 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.7444, allocations: 3.031 kB / 0.5483 GB, free: 4.496 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.868e-05/0.7444, allocations: 83.66 kB / 0.5483 GB, free: 4.418 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.7444, allocations: 4 kB / 0.5483 GB, free: 4.414 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005109/0.7449, allocations: 86.62 kB / 0.5484 GB, free: 4.395 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.0006871/0.7456, allocations: 0.9245 MB / 0.5493 GB, free: 3.613 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002862/0.7459, allocations: 213.2 kB / 0.5495 GB, free: 3.535 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.7459, allocations: 0 / 0.5495 GB, free: 3.535 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000155/0.7461, allocations: 183.9 kB / 0.5497 GB, free: 3.422 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006769/0.7467, allocations: 81.39 kB / 0.5498 GB, free: 3.402 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/0.7477, allocations: 0.5938 MB / 0.5504 GB, free: 3.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003052/0.748, allocations: 0.7958 MB / 0.5511 GB, free: 2.367 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000139/0.7482, allocations: 25.25 kB / 0.5512 GB, free: 2.363 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001431/0.7483, allocations: 116.2 kB / 0.5513 GB, free: 2.359 MB / 382.1 MB Notification: Performance of SimCode: time 5.71e-07/0.7483, allocations: 0 / 0.5513 GB, free: 2.359 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03233/0.7807, allocations: 8.14 MB / 0.5592 GB, free: 13.23 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.767/9.548, allocations: 17.27 kB / 0.5592 GB, free: 13.22 MB / 398.1 MB " [Timeout remaining time 650] (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: 12.60340611776337] Failed to read output from testmodel.py, exit status != 0: 9.841828647069633 9.872985475 9.131735795 Calling exit ...