Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic.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.00106/0.00106, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0008769/0.0008769, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 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 0.8815/0.8815, allocations: 177.2 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo): time 0.008782/0.008782, allocations: 1.985 MB / 261.2 MB, free: 11.25 MB / 250.7 MB " [Timeout remaining time 180] Using package ExternalMedia with version 4.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/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.TestBasePropertiesDynamic,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestBasePropertiesDynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestBasePropertiesDynamic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 384.7 MB, free: 11.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.411e-05/1.532e-05, allocations: 2.281 kB / 384.7 MB, free: 11.87 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic): time 0.006521/0.006537, allocations: 8.337 MB / 393 MB, free: 3.496 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004407/0.01094, allocations: 7.423 MB / 400.4 MB, free: 12.05 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.1e-05/0.01101, allocations: 0 / 400.4 MB, free: 12.05 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004069/0.01142, allocations: 139.1 kB / 400.6 MB, free: 11.91 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002929/0.01171, allocations: 103.2 kB / 400.7 MB, free: 11.81 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1092:15-1106:21:writable] Warning: Pure function 'ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.002279/0.01399, allocations: 1.493 MB / 402.2 MB, free: 10.31 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002684/0.01426, allocations: 278.5 kB / 402.4 MB, free: 10.04 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.813e-05/0.01431, allocations: 13.75 kB / 402.4 MB, free: 10.02 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/Common/CheckCoolPropOptions.mo:2:1-104:25:writable] Warning: Pure function 'ExternalMedia.Common.CheckCoolPropOptions' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFEvalConstants.evaluate: time 0.6446/0.6589, allocations: 12.94 MB / 415.4 MB, free: 26.35 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000189/0.6591, allocations: 71.75 kB / 415.5 MB, free: 26.35 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.501e-05/0.6592, allocations: 8.062 kB / 415.5 MB, free: 26.35 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001215/0.6604, allocations: 473.2 kB / 415.9 MB, free: 26.35 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.521e-05/0.6605, allocations: 30.78 kB / 416 MB, free: 26.35 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 8.154e-05/0.6605, allocations: 59.02 kB / 416 MB, free: 26.35 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000836/0.6614, allocations: 0.5295 MB / 416.5 MB, free: 26.35 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.6614, allocations: 1.531 kB / 416.5 MB, free: 26.35 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.6614, allocations: 3.938 kB / 416.5 MB, free: 26.34 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.6614, allocations: 0 / 416.5 MB, free: 26.34 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.000665/0.6621, allocations: 0.4962 MB / 417 MB, free: 26 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.6621, allocations: 10.28 kB / 417.1 MB, free: 26 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.875e-05/0.6621, allocations: 51.84 kB / 417.1 MB, free: 25.96 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002013/0.6623, allocations: 55.11 kB / 417.2 MB, free: 25.95 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001882/0.6625, allocations: 145.4 kB / 417.3 MB, free: 25.82 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.6626, allocations: 9.469 kB / 417.3 MB, free: 25.82 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.506e-05/0.6626, allocations: 11.86 kB / 417.3 MB, free: 25.82 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003512/0.6629, allocations: 297.2 kB / 417.6 MB, free: 25.7 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.6629, allocations: 3.938 kB / 417.6 MB, free: 25.7 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.663, allocations: 5.125 kB / 417.6 MB, free: 25.7 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/0.663, allocations: 10.31 kB / 417.6 MB, free: 25.7 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002935/0.6633, allocations: 202.9 kB / 417.8 MB, free: 25.7 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005878/0.6638, allocations: 0.6502 MB / 418.5 MB, free: 25.27 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003679/0.6642, allocations: 206.3 kB / 418.7 MB, free: 25.25 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001492/0.6644, allocations: 134.8 kB / 418.8 MB, free: 25.24 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001564/0.6645, allocations: 94.42 kB / 418.9 MB, free: 25.24 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/0.6645, allocations: 38.14 kB / 418.9 MB, free: 25.2 MB / 330.7 MB Notification: Performance of pre-optimization done (n=43): time 1.503e-06/0.6645, allocations: 3.969 kB / 418.9 MB, free: 25.2 MB / 330.7 MB Notification: Performance of matching and sorting (n=47): time 0.001828/0.6664, allocations: 1.166 MB / 420.1 MB, free: 24.97 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.134e-05/0.6664, allocations: 57.2 kB / 420.2 MB, free: 24.91 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.804e-05/0.6665, allocations: 144.7 kB / 420.3 MB, free: 24.8 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.6665, allocations: 30.23 kB / 420.3 MB, free: 24.77 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.585e-05/0.6665, allocations: 106 kB / 420.4 MB, free: 24.68 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.504e-05/0.6666, allocations: 165.8 kB / 420.6 MB, free: 24.56 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.855e-05/0.6666, allocations: 55.19 kB / 420.7 MB, free: 24.55 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.802e-05/0.6667, allocations: 338.3 kB / 421 MB, free: 24.23 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001371/0.6668, allocations: 125.5 kB / 421.1 MB, free: 24.23 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000153/0.667, allocations: 189.1 kB / 421.3 MB, free: 24.17 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003257/0.6673, allocations: 347.2 kB / 421.6 MB, free: 24.1 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.6673, allocations: 1.281 kB / 421.6 MB, free: 24.1 MB / 330.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0006155/0.6679, allocations: 486.3 kB / 422.1 MB, free: 24.04 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.6679, allocations: 5.094 kB / 422.1 MB, free: 24.04 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.6679, allocations: 3.047 kB / 422.1 MB, free: 24.04 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004036/0.6683, allocations: 153.3 kB / 422.3 MB, free: 24.02 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.007e-05/0.6684, allocations: 34.48 kB / 422.3 MB, free: 24.02 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003437/0.6687, allocations: 0.6521 MB / 423 MB, free: 23.49 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.639e-05/0.6688, allocations: 17.44 kB / 423 MB, free: 23.49 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/0.6688, allocations: 7.188 kB / 423 MB, free: 23.49 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 3 (medium.phaseOutput,medium.state.phase,medium.phaseInput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,7)} Notification: Performance of prepare postOptimizeDAE: time 7.468e-05/0.6689, allocations: 137.4 kB / 423.1 MB, free: 23.38 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.614e-05/0.6689, allocations: 19.58 kB / 423.1 MB, free: 23.36 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.294e-05/0.669, allocations: 22.5 kB / 423.2 MB, free: 23.36 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/0.669, allocations: 10.25 kB / 423.2 MB, free: 23.36 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.669, allocations: 0 / 423.2 MB, free: 23.36 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.669, allocations: 6.984 kB / 423.2 MB, free: 23.36 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001867/0.6692, allocations: 250.7 kB / 423.4 MB, free: 23.2 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.6692, allocations: 1.344 kB / 423.4 MB, free: 23.2 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001013/0.6693, allocations: 41 kB / 423.5 MB, free: 23.2 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001767/0.6695, allocations: 64.27 kB / 423.5 MB, free: 23.19 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.6695, allocations: 7.641 kB / 423.5 MB, free: 23.19 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006502/0.6701, allocations: 1.445 MB / 425 MB, free: 21.86 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.6701, allocations: 0 / 425 MB, free: 21.86 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006157/0.6707, allocations: 0.7147 MB / 425.7 MB, free: 21.68 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.685e-05/0.6708, allocations: 18.08 kB / 425.7 MB, free: 21.66 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.386e-05/0.6708, allocations: 5.375 kB / 425.7 MB, free: 21.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.096e-05/0.6709, allocations: 9.703 kB / 425.7 MB, free: 21.66 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.109e-05/0.6709, allocations: 23.42 kB / 425.7 MB, free: 21.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/0.6709, allocations: 8.688 kB / 425.8 MB, free: 21.66 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.005e-05/0.671, allocations: 96.41 kB / 425.8 MB, free: 21.59 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.671, allocations: 5.125 kB / 425.8 MB, free: 21.59 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002471/0.6712, allocations: 64.72 kB / 425.9 MB, free: 21.58 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (medium.p,medium.h) * Number of discrete variables: 2 (medium.state.phase,medium.phaseOutput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008703/0.6721, allocations: 1.268 MB / 427.2 MB, free: 20.86 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005023/0.6726, allocations: 351.6 kB / 427.5 MB, free: 20.85 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.6726, allocations: 0.5625 kB / 427.5 MB, free: 20.85 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003364/0.6729, allocations: 299 kB / 427.8 MB, free: 20.73 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004075/0.6733, allocations: 99.34 kB / 427.9 MB, free: 20.71 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002462/0.6758, allocations: 2.86 MB / 430.8 MB, free: 19.18 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.801e-05/0.6759, allocations: 127.9 kB / 430.9 MB, free: 19.1 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001594/0.676, allocations: 106 kB / 431 MB, free: 19.09 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.923e-05/0.6761, allocations: 55.7 kB / 431.1 MB, free: 19.05 MB / 330.7 MB Notification: Performance of SimCode: time 8.22e-07/0.6761, allocations: 1.094 kB / 431.1 MB, free: 19.05 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01994/0.696, allocations: 8.797 MB / 439.9 MB, free: 15.74 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.304/9, allocations: 10.91 kB / 439.9 MB, free: 15.73 MB / 330.7 MB " [Timeout remaining time 651] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic.sim & python3 -m fmpy simulate --output-file ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic_res.csv --start-time 0 --stop-time 80 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 0.1 ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestBasePropertiesDynamic.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.648539889603853] Failed to read output from testmodel.py, exit status != 0: 9.343673809431493 9.350022929 8.686971091 Calling exit ...