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.001365/0.001365, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001546/0.001546, allocations: 213.5 kB / 22.24 MB, free: 5.242 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.439/1.439, allocations: 230.6 MB / 256 MB, free: 7.793 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.01205/0.01205, allocations: 2.814 MB / 315.2 MB, free: 92 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_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.002042/0.002042, allocations: 75.88 kB / 438.7 MB, free: 13.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.108, allocations: 54.16 MB / 492.8 MB, free: 7.023 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit): time 0.304/0.412, allocations: 45.41 MB / 0.5256 GB, free: 14.38 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02584/0.4378, allocations: 25.16 MB / 0.5502 GB, free: 12.89 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006334/0.4384, allocations: 2.781 kB / 0.5502 GB, free: 12.89 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001723/0.4402, allocations: 0.4964 MB / 0.5507 GB, free: 12.5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006596/0.4468, allocations: 2.19 MB / 0.5528 GB, free: 10.76 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.00828/0.455, allocations: 2.904 MB / 0.5556 GB, free: 8.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001234/0.4563, allocations: 0.9353 MB / 0.5566 GB, free: 7.871 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.781e-05/0.4564, allocations: 23.75 kB / 0.5566 GB, free: 7.859 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.7094/1.166, allocations: 52 MB / 0.6074 GB, free: 5.594 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007488/1.167, allocations: 282.7 kB / 0.6076 GB, free: 5.316 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001228/1.167, allocations: 40 kB / 0.6077 GB, free: 5.277 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.23/1.397, allocations: 27.39 MB / 0.6344 GB, free: 9.703 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000295/1.397, allocations: 115.3 kB / 0.6345 GB, free: 9.594 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007257/1.398, allocations: 274.8 kB / 0.6348 GB, free: 9.324 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00834/1.406, allocations: 1.862 MB / 0.6366 GB, free: 7.457 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.039e-05/1.406, allocations: 4 kB / 0.6366 GB, free: 7.453 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.334e-06/1.406, allocations: 0 / 0.6366 GB, free: 7.453 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.033e-05/1.406, allocations: 0 / 0.6366 GB, free: 7.453 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.00228/1.408, allocations: 1.049 MB / 0.6376 GB, free: 6.371 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/1.408, allocations: 8.031 kB / 0.6377 GB, free: 6.363 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001717/1.409, allocations: 119 kB / 0.6378 GB, free: 6.238 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002979/1.412, allocations: 0.4961 MB / 0.6382 GB, free: 5.742 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004503/1.416, allocations: 281.6 kB / 0.6385 GB, free: 5.441 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.661e-05/1.416, allocations: 49.81 kB / 0.6386 GB, free: 5.395 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/1.416, allocations: 63.94 kB / 0.6386 GB, free: 5.332 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001762/1.418, allocations: 0.9809 MB / 0.6396 GB, free: 4.27 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.616e-05/1.418, allocations: 7.938 kB / 0.6396 GB, free: 4.262 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.238e-05/1.418, allocations: 24 kB / 0.6396 GB, free: 4.238 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.598e-05/1.418, allocations: 27.98 kB / 0.6396 GB, free: 4.211 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001407/1.42, allocations: 0.7162 MB / 0.6403 GB, free: 3.5 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004043/1.424, allocations: 2.783 MB / 0.6431 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006957/1.424, allocations: 277 kB / 0.6433 GB, free: 340 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000285/1.425, allocations: 153.7 kB / 0.6435 GB, free: 180 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001209/1.426, allocations: 0.8805 MB / 0.6443 GB, free: 15.27 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/1.426, allocations: 34.56 kB / 0.6444 GB, free: 15.23 MB / 494.1 MB Notification: Performance of pre-optimization done (n=71): time 2.004e-06/1.426, allocations: 0 / 0.6444 GB, free: 15.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=71): time 0.001616/1.427, allocations: 0.6051 MB / 0.645 GB, free: 14.62 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.824e-05/1.427, allocations: 85.05 kB / 0.645 GB, free: 14.52 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002186/1.428, allocations: 198.4 kB / 0.6452 GB, free: 14.32 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.988e-05/1.428, allocations: 33.7 kB / 0.6453 GB, free: 14.28 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002425/1.428, allocations: 300.3 kB / 0.6455 GB, free: 13.98 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000223/1.428, allocations: 237.9 kB / 0.6458 GB, free: 13.74 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001422/1.428, allocations: 97.95 kB / 0.6459 GB, free: 13.64 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001832/1.428, allocations: 338.8 kB / 0.6462 GB, free: 13.3 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002395/1.429, allocations: 125.3 kB / 0.6463 GB, free: 13.18 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003882/1.429, allocations: 300 kB / 0.6466 GB, free: 12.81 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007073/1.43, allocations: 484.9 kB / 0.6471 GB, free: 12.26 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/1.43, allocations: 0 / 0.6471 GB, free: 12.26 MB / 494.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0008966/1.431, allocations: 488.4 kB / 0.6475 GB, free: 11.77 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.553e-05/1.431, allocations: 11.94 kB / 0.6475 GB, free: 11.76 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.814e-05/1.431, allocations: 7.984 kB / 0.6475 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.668e-05/1.431, allocations: 8 kB / 0.6475 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003696/1.431, allocations: 88.42 kB / 0.6476 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008179/1.432, allocations: 1.184 MB / 0.6488 GB, free: 10.43 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002705/1.432, allocations: 59.5 kB / 0.6488 GB, free: 10.37 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.907e-05/1.432, allocations: 20 kB / 0.6489 GB, free: 10.35 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.0003269/1.433, allocations: 193.6 kB / 0.649 GB, free: 10.15 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.806e-05/1.433, allocations: 31.81 kB / 0.6491 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.497e-05/1.433, allocations: 26.64 kB / 0.6491 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/1.433, allocations: 4 kB / 0.6491 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.627e-06/1.433, allocations: 4.125 kB / 0.6491 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/1.433, allocations: 4.188 kB / 0.6491 GB, free: 10.08 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007551/1.434, allocations: 451.9 kB / 0.6495 GB, free: 9.598 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/1.434, allocations: 3.938 kB / 0.6495 GB, free: 9.594 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001908/1.434, allocations: 47.91 kB / 0.6496 GB, free: 9.547 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/1.434, allocations: 0 / 0.6496 GB, free: 9.547 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.343e-05/1.434, allocations: 8 kB / 0.6496 GB, free: 9.539 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007183/1.434, allocations: 1.164 MB / 0.6507 GB, free: 8.328 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/1.434, allocations: 192 / 0.6507 GB, free: 8.328 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007104/1.435, allocations: 0.5217 MB / 0.6512 GB, free: 7.789 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.579e-05/1.435, allocations: 35.69 kB / 0.6513 GB, free: 7.754 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.727e-05/1.435, allocations: 0 / 0.6513 GB, free: 7.754 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001788/1.436, allocations: 11.98 kB / 0.6513 GB, free: 7.742 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.532e-05/1.436, allocations: 15.98 kB / 0.6513 GB, free: 7.727 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.032e-05/1.436, allocations: 11.98 kB / 0.6513 GB, free: 7.715 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001321/1.436, allocations: 124.2 kB / 0.6514 GB, free: 7.594 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/1.436, allocations: 0 / 0.6514 GB, free: 7.594 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008813/1.437, allocations: 195.5 kB / 0.6516 GB, free: 7.402 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.001713/1.438, allocations: 1.252 MB / 0.6528 GB, free: 6.117 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001035/1.439, allocations: 0.5801 MB / 0.6534 GB, free: 5.52 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/1.439, allocations: 0 / 0.6534 GB, free: 5.52 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00065/1.44, allocations: 475.7 kB / 0.6539 GB, free: 4.98 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001253/1.441, allocations: 198.1 kB / 0.6541 GB, free: 4.793 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005215/1.446, allocations: 3.672 MB / 0.6576 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004611/1.447, allocations: 352.8 kB / 0.658 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005172/1.447, allocations: 219.8 kB / 0.6582 GB, free: 304 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003671/1.448, allocations: 275.3 kB / 0.6585 GB, free: 28 kB / 494.1 MB Notification: Performance of SimCode: time 1.122e-06/1.448, allocations: 0 / 0.6585 GB, free: 28 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0578/1.506, allocations: 19.41 MB / 0.6774 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.36/14.86, allocations: 9.547 kB / 0.6774 GB, free: 12.68 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: 18.01610175287351] Failed to read output from testmodel.py, exit status != 0: 15.20843896921724 15.241779441 13.829868871 Calling exit ...