Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.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.00138/0.00138, allocations: 103.4 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.001388/0.001388, 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.444/1.444, allocations: 230.6 MB / 252.8 MB, free: 8.953 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.0125/0.0125, allocations: 2.79 MB / 311.6 MB, free: 1.449 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_Tabular.TestBasePropertiesImplicit,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesImplicit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesImplicit",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.001937/0.001937, allocations: 71.89 kB / 433.5 MB, free: 15.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09522/0.09716, allocations: 54.12 MB / 487.7 MB, free: 9.117 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit): time 0.2602/0.3574, allocations: 51.08 MB / 0.5261 GB, free: 3.672 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0219/0.3793, allocations: 29.17 MB / 0.5546 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005097/0.3798, allocations: 2.781 kB / 0.5546 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00152/0.3813, allocations: 0.6204 MB / 0.5552 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005942/0.3872, allocations: 2.254 MB / 0.5574 GB, free: 8.957 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1092:15-1106:21:writable] Warning: Pure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.medium1.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.medium1.Medium.setSat_p'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1092:15-1106:21:writable] Warning: Pure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.medium2.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.medium2.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.007825/0.3951, allocations: 2.91 MB / 0.5602 GB, free: 7.414 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001191/0.3963, allocations: 0.9354 MB / 0.5612 GB, free: 7.047 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.07e-05/0.3964, allocations: 35.95 kB / 0.5612 GB, free: 7.027 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/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.7077/1.104, allocations: 51.86 MB / 0.6118 GB, free: 9.371 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008672/1.105, allocations: 302.6 kB / 0.6121 GB, free: 9.074 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001311/1.105, allocations: 40 kB / 0.6122 GB, free: 9.035 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2325/1.338, allocations: 27.34 MB / 0.6389 GB, free: 13.52 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002272/1.338, allocations: 99.55 kB / 0.639 GB, free: 13.42 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006767/1.338, allocations: 346.4 kB / 0.6393 GB, free: 13.08 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007525/1.346, allocations: 1.866 MB / 0.6411 GB, free: 11.21 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/1.346, allocations: 0 / 0.6411 GB, free: 11.21 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.503e-06/1.346, allocations: 0 / 0.6411 GB, free: 11.21 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.05e-05/1.346, allocations: 0 / 0.6411 GB, free: 11.21 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.002098/1.348, allocations: 1.129 MB / 0.6422 GB, free: 10.03 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/1.348, allocations: 15.98 kB / 0.6422 GB, free: 10.02 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001732/1.348, allocations: 119 kB / 0.6423 GB, free: 9.891 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002275/1.351, allocations: 0.5 MB / 0.6428 GB, free: 9.391 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00483/1.355, allocations: 335.5 kB / 0.6431 GB, free: 9.023 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.178e-05/1.356, allocations: 45.88 kB / 0.6432 GB, free: 8.98 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00011/1.356, allocations: 59.94 kB / 0.6433 GB, free: 8.922 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001966/1.358, allocations: 0.8646 MB / 0.6441 GB, free: 8.008 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.47e-05/1.358, allocations: 7.938 kB / 0.6441 GB, free: 8 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.078e-05/1.358, allocations: 24 kB / 0.6441 GB, free: 7.977 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-05/1.358, allocations: 31.98 kB / 0.6442 GB, free: 7.945 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001542/1.359, allocations: 0.7039 MB / 0.6448 GB, free: 7.242 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006895/1.366, allocations: 5.129 MB / 0.6499 GB, free: 1.48 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00109/1.367, allocations: 273.1 kB / 0.6501 GB, free: 1.195 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003931/1.368, allocations: 153.7 kB / 0.6503 GB, free: 1.039 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001875/1.37, allocations: 1.55 MB / 0.6518 GB, free: 15.31 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.28e-05/1.37, allocations: 46.5 kB / 0.6518 GB, free: 15.26 MB / 494.1 MB Notification: Performance of pre-optimization done (n=71): time 2.755e-06/1.37, allocations: 0 / 0.6518 GB, free: 15.26 MB / 494.1 MB Notification: Performance of matching and sorting (n=71): time 0.00164/1.371, allocations: 0.6003 MB / 0.6524 GB, free: 14.65 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.495e-05/1.371, allocations: 85.09 kB / 0.6525 GB, free: 14.55 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002325/1.372, allocations: 182.8 kB / 0.6527 GB, free: 14.36 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.974e-05/1.372, allocations: 29.8 kB / 0.6527 GB, free: 14.33 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002078/1.372, allocations: 296.4 kB / 0.653 GB, free: 14.03 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000206/1.372, allocations: 249.8 kB / 0.6532 GB, free: 13.79 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000147/1.372, allocations: 97.95 kB / 0.6533 GB, free: 13.68 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/1.372, allocations: 342.8 kB / 0.6536 GB, free: 13.34 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002431/1.373, allocations: 117.3 kB / 0.6537 GB, free: 13.22 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000393/1.373, allocations: 307.9 kB / 0.654 GB, free: 12.85 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007252/1.374, allocations: 485.7 kB / 0.6545 GB, free: 12.3 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/1.374, allocations: 0 / 0.6545 GB, free: 12.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.000881/1.375, allocations: 488.4 kB / 0.655 GB, free: 11.81 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.771e-05/1.375, allocations: 15.92 kB / 0.655 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/1.375, allocations: 4 kB / 0.655 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.556e-05/1.375, allocations: 8 kB / 0.655 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003973/1.375, allocations: 79.91 kB / 0.6551 GB, free: 11.71 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009127/1.376, allocations: 1.184 MB / 0.6562 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003071/1.376, allocations: 63.45 kB / 0.6563 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.296e-05/1.376, allocations: 20 kB / 0.6563 GB, free: 10.39 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 6 (medium2.completeState.state.phase,medium2.baseProperties.phaseOutput,medium1.completeState.state.phase,medium2.baseProperties.phaseInput,medium1.baseProperties.phaseInput,medium1.baseProperties.phaseOutput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000341/1.377, allocations: 199.6 kB / 0.6565 GB, free: 10.19 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.255e-05/1.377, allocations: 31.77 kB / 0.6565 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.072e-05/1.377, allocations: 26.66 kB / 0.6565 GB, free: 10.13 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/1.377, allocations: 4 kB / 0.6566 GB, free: 10.13 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/1.377, allocations: 3.938 kB / 0.6566 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.515e-06/1.377, allocations: 7.984 kB / 0.6566 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000726/1.378, allocations: 498.8 kB / 0.657 GB, free: 9.582 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/1.378, allocations: 4 kB / 0.657 GB, free: 9.578 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002057/1.378, allocations: 43.91 kB / 0.6571 GB, free: 9.535 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/1.378, allocations: 0 / 0.6571 GB, free: 9.535 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.106e-05/1.378, allocations: 8 kB / 0.6571 GB, free: 9.527 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007445/1.379, allocations: 1.172 MB / 0.6582 GB, free: 8.309 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/1.379, allocations: 160 / 0.6582 GB, free: 8.309 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007323/1.379, allocations: 0.5141 MB / 0.6587 GB, free: 7.781 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001098/1.379, allocations: 108.8 kB / 0.6588 GB, free: 7.656 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.542e-05/1.379, allocations: 4 kB / 0.6588 GB, free: 7.652 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001673/1.38, allocations: 11.98 kB / 0.6589 GB, free: 7.641 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.953e-05/1.38, allocations: 11.98 kB / 0.6589 GB, free: 7.629 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.152e-05/1.38, allocations: 12 kB / 0.6589 GB, free: 7.617 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001316/1.38, allocations: 131.1 kB / 0.659 GB, free: 7.488 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/1.38, allocations: 3.938 kB / 0.659 GB, free: 7.484 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008759/1.381, allocations: 199.4 kB / 0.6592 GB, free: 7.289 MB / 494.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: 3 (medium2.baseProperties.phaseOutput,medium2.completeState.state.phase,medium1.completeState.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001612/1.382, allocations: 1.253 MB / 0.6604 GB, free: 6.012 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001039/1.383, allocations: 0.5684 MB / 0.661 GB, free: 5.422 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.383, allocations: 0 / 0.661 GB, free: 5.422 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007053/1.384, allocations: 479.7 kB / 0.6614 GB, free: 4.879 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001254/1.385, allocations: 192.5 kB / 0.6616 GB, free: 4.691 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005137/1.39, allocations: 3.678 MB / 0.6652 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007051/1.391, allocations: 0.9426 MB / 0.6661 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000534/1.392, allocations: 219.8 kB / 0.6663 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003622/1.392, allocations: 271.3 kB / 0.6666 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of SimCode: time 1.513e-06/1.392, allocations: 4 kB / 0.6666 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05096/1.443, allocations: 18.54 MB / 0.6847 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.42/14.86, allocations: 3.938 kB / 0.6847 GB, free: 12.8 MB / 0.5137 GB " [Timeout remaining time 645] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.sim & python3 -m fmpy simulate --output-file ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit_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_Tabular_TestBasePropertiesImplicit.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.987916303332895] Failed to read output from testmodel.py, exit status != 0: 15.187939695082605 15.213615309 13.862950375 Calling exit ...