Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 104.4 kB / 16.4 MB, free: 6.496 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 191.7 kB / 19.36 MB, free: 3.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 222.9 MB / 245.1 MB, free: 15.02 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.01241/0.01241, allocations: 2.783 MB / 300 MB, free: 9.879 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesExplicit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesExplicit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 59.91 kB / 414.1 MB, free: 28.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0924/0.09446, allocations: 50.23 MB / 464.4 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit): time 0.05764/0.1522, allocations: 50.71 MB / 0.503 GB, free: 7.262 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.282/0.4342, allocations: 29.09 MB / 0.5314 GB, free: 3.527 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000638/0.4348, allocations: 2.594 kB / 0.5314 GB, free: 3.527 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001782/0.4367, allocations: 0.6159 MB / 0.532 GB, free: 3.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006717/0.4434, allocations: 2.247 MB / 0.5342 GB, free: 3.453 MB / 382.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.TestBasePropertiesExplicit.medium1.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.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.TestBasePropertiesExplicit.medium2.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.medium2.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.008453/0.4519, allocations: 2.923 MB / 0.5371 GB, free: 2.484 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001234/0.4531, allocations: 0.9233 MB / 0.538 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.4533, allocations: 62.98 kB / 0.538 GB, free: 2.18 MB / 382.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.7062/1.16, allocations: 51.78 MB / 0.5886 GB, free: 13.96 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007446/1.16, allocations: 290.7 kB / 0.5889 GB, free: 13.74 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001398/1.16, allocations: 40 kB / 0.5889 GB, free: 13.7 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2338/1.394, allocations: 27.3 MB / 0.6156 GB, free: 4.34 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002549/1.394, allocations: 111.9 kB / 0.6157 GB, free: 4.234 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007254/1.395, allocations: 348.6 kB / 0.616 GB, free: 3.898 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009423/1.405, allocations: 1.85 MB / 0.6178 GB, free: 2.328 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/1.405, allocations: 4 kB / 0.6178 GB, free: 2.324 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.383e-06/1.405, allocations: 0 / 0.6178 GB, free: 2.324 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.197e-05/1.405, allocations: 0 / 0.6178 GB, free: 2.324 MB / 446.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.002028/1.407, allocations: 1.129 MB / 0.6189 GB, free: 1.152 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/1.407, allocations: 8.031 kB / 0.6189 GB, free: 1.145 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001537/1.407, allocations: 119 kB / 0.619 GB, free: 1.02 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002328/1.409, allocations: 0.5 MB / 0.6195 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005674/1.415, allocations: 339.5 kB / 0.6199 GB, free: 152 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.187e-05/1.415, allocations: 49.86 kB / 0.6199 GB, free: 104 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001494/1.415, allocations: 63.88 kB / 0.62 GB, free: 40 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001971/1.417, allocations: 0.8685 MB / 0.6208 GB, free: 15.12 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/1.417, allocations: 0 / 0.6208 GB, free: 15.12 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.082e-05/1.417, allocations: 28 kB / 0.6208 GB, free: 15.09 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.068e-05/1.417, allocations: 35.97 kB / 0.6209 GB, free: 15.05 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001554/1.419, allocations: 0.7039 MB / 0.6216 GB, free: 14.36 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005793/1.425, allocations: 4.994 MB / 0.6264 GB, free: 8.777 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008093/1.426, allocations: 329.1 kB / 0.6268 GB, free: 8.438 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003633/1.426, allocations: 213.6 kB / 0.627 GB, free: 8.223 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002005/1.428, allocations: 1.543 MB / 0.6285 GB, free: 6.516 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.806e-05/1.428, allocations: 42.55 kB / 0.6285 GB, free: 6.465 MB / 462.1 MB Notification: Performance of pre-optimization done (n=71): time 1.984e-06/1.428, allocations: 0 / 0.6285 GB, free: 6.465 MB / 462.1 MB Notification: Performance of matching and sorting (n=71): time 0.00173/1.43, allocations: 0.5932 MB / 0.6291 GB, free: 5.867 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.835e-05/1.43, allocations: 81.11 kB / 0.6292 GB, free: 5.77 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000229/1.43, allocations: 178.8 kB / 0.6293 GB, free: 5.586 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.686e-05/1.43, allocations: 29.7 kB / 0.6294 GB, free: 5.551 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002214/1.43, allocations: 288.5 kB / 0.6296 GB, free: 5.262 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002188/1.431, allocations: 247.3 kB / 0.6299 GB, free: 5.023 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001633/1.431, allocations: 97.95 kB / 0.63 GB, free: 4.918 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/1.431, allocations: 346.8 kB / 0.6303 GB, free: 4.57 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002528/1.431, allocations: 121.3 kB / 0.6304 GB, free: 4.453 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003815/1.432, allocations: 304 kB / 0.6307 GB, free: 4.082 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007053/1.432, allocations: 488.6 kB / 0.6312 GB, free: 3.527 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.915e-06/1.432, allocations: 4 kB / 0.6312 GB, free: 3.523 MB / 462.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0008757/1.433, allocations: 480.2 kB / 0.6316 GB, free: 3.047 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/1.433, allocations: 12.66 kB / 0.6316 GB, free: 3.035 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/1.433, allocations: 8 kB / 0.6317 GB, free: 3.027 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.446e-05/1.433, allocations: 12 kB / 0.6317 GB, free: 3.016 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002605/1.434, allocations: 71.84 kB / 0.6317 GB, free: 2.945 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.628e-05/1.434, allocations: 11.98 kB / 0.6317 GB, free: 2.934 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002533/1.434, allocations: 55.52 kB / 0.6318 GB, free: 2.879 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.939e-05/1.434, allocations: 20 kB / 0.6318 GB, free: 2.859 MB / 462.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): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0002827/1.434, allocations: 198.5 kB / 0.632 GB, free: 2.656 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.735e-05/1.434, allocations: 31.75 kB / 0.632 GB, free: 2.625 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.442e-05/1.434, allocations: 26.66 kB / 0.6321 GB, free: 2.602 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.014e-06/1.434, allocations: 4 kB / 0.6321 GB, free: 2.598 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/1.434, allocations: 0 / 0.6321 GB, free: 2.598 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/1.434, allocations: 0 / 0.6321 GB, free: 2.598 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007277/1.435, allocations: 0.4907 MB / 0.6325 GB, free: 2.062 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/1.435, allocations: 0 / 0.6325 GB, free: 2.062 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001268/1.435, allocations: 35.91 kB / 0.6326 GB, free: 2.027 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.418e-06/1.435, allocations: 3.938 kB / 0.6326 GB, free: 2.023 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.073e-05/1.435, allocations: 11.94 kB / 0.6326 GB, free: 2.012 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.155e-06/1.435, allocations: 0 / 0.6326 GB, free: 2.012 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/1.435, allocations: 0 / 0.6326 GB, free: 2.012 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006976/1.436, allocations: 0.5023 MB / 0.6331 GB, free: 1.496 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/1.436, allocations: 120.7 kB / 0.6332 GB, free: 1.359 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.083e-05/1.436, allocations: 3.938 kB / 0.6332 GB, free: 1.355 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001833/1.436, allocations: 8 kB / 0.6332 GB, free: 1.348 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.881e-05/1.437, allocations: 11.98 kB / 0.6332 GB, free: 1.336 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.666e-05/1.437, allocations: 19.98 kB / 0.6332 GB, free: 1.316 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001097/1.437, allocations: 124.2 kB / 0.6334 GB, free: 1.195 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/1.437, allocations: 0 / 0.6334 GB, free: 1.195 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000727/1.437, allocations: 195.5 kB / 0.6335 GB, free: 1.004 MB / 462.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): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.001553/1.439, allocations: 1.26 MB / 0.6348 GB, free: 15.75 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0009442/1.44, allocations: 0.5958 MB / 0.6354 GB, free: 15.12 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/1.44, allocations: 0 / 0.6354 GB, free: 15.12 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001107/1.441, allocations: 0.492 MB / 0.6358 GB, free: 14.56 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00124/1.442, allocations: 190.8 kB / 0.636 GB, free: 14.38 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004934/1.447, allocations: 3.62 MB / 0.6396 GB, free: 10.54 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007026/1.448, allocations: 0.9504 MB / 0.6405 GB, free: 9.555 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000578/1.449, allocations: 257.8 kB / 0.6407 GB, free: 9.305 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003537/1.449, allocations: 275.3 kB / 0.641 GB, free: 9.035 MB / 478.1 MB Notification: Performance of SimCode: time 4.41e-07/1.449, allocations: 7.938 kB / 0.641 GB, free: 9.027 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0476/1.497, allocations: 18.03 MB / 0.6586 GB, free: 7.016 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.734/11.23, allocations: 11.86 kB / 0.6586 GB, free: 7.004 MB / 494.1 MB " [Timeout remaining time 648] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.sim & python3 -m fmpy simulate --output-file ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit_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_TestBasePropertiesExplicit.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.426473745028488] Failed to read output from testmodel.py, exit status != 0: 11.535597866983153 11.559538244 10.150585646 Calling exit ...