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.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.00147/0.00147, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00146/0.00146, allocations: 213.9 kB / 22.24 MB, free: 5.262 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.431/1.431, allocations: 230.6 MB / 256 MB, free: 7.828 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.01313/0.01313, allocations: 2.803 MB / 315.2 MB, free: 128 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.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: 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.00215/0.00215, allocations: 71.89 kB / 438.6 MB, free: 13.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09392/0.09607, allocations: 54.17 MB / 492.8 MB, free: 7.062 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit): time 0.2496/0.3457, allocations: 45.37 MB / 0.5256 GB, free: 14.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02803/0.3737, allocations: 25.15 MB / 0.5501 GB, free: 12.96 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006566/0.3744, allocations: 2.75 kB / 0.5501 GB, free: 12.96 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001706/0.3761, allocations: 0.5004 MB / 0.5506 GB, free: 12.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007163/0.3833, allocations: 2.177 MB / 0.5528 GB, free: 10.84 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.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.00922/0.3925, allocations: 2.895 MB / 0.5556 GB, free: 8.516 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001426/0.3939, allocations: 0.9315 MB / 0.5565 GB, free: 7.961 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.394, allocations: 24.12 kB / 0.5565 GB, free: 7.945 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.7242/1.118, allocations: 52 MB / 0.6073 GB, free: 5.727 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001322/1.12, allocations: 290.7 kB / 0.6076 GB, free: 5.441 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001369/1.12, allocations: 40 kB / 0.6076 GB, free: 5.402 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2349/1.355, allocations: 27.4 MB / 0.6344 GB, free: 9.828 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002559/1.355, allocations: 107.5 kB / 0.6345 GB, free: 9.723 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006322/1.356, allocations: 274.8 kB / 0.6347 GB, free: 9.453 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009395/1.365, allocations: 1.858 MB / 0.6366 GB, free: 7.59 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/1.365, allocations: 4 kB / 0.6366 GB, free: 7.586 MB / 478.1 MB Notification: Performance of FrontEnd: time 7.765e-06/1.365, allocations: 7.922 kB / 0.6366 GB, free: 7.578 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.241e-05/1.365, allocations: 0 / 0.6366 GB, free: 7.578 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.002719/1.368, allocations: 1.041 MB / 0.6376 GB, free: 6.504 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.379e-05/1.368, allocations: 8.031 kB / 0.6376 GB, free: 6.496 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002341/1.368, allocations: 119 kB / 0.6377 GB, free: 6.371 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00426/1.372, allocations: 0.5039 MB / 0.6382 GB, free: 5.867 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005026/1.377, allocations: 273.7 kB / 0.6385 GB, free: 5.574 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001003/1.377, allocations: 45.88 kB / 0.6385 GB, free: 5.531 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001441/1.377, allocations: 55.94 kB / 0.6386 GB, free: 5.477 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00292/1.38, allocations: 0.981 MB / 0.6395 GB, free: 4.418 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.427e-05/1.38, allocations: 3.938 kB / 0.6395 GB, free: 4.414 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.116e-05/1.381, allocations: 27.94 kB / 0.6395 GB, free: 4.387 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.08e-05/1.381, allocations: 31.98 kB / 0.6396 GB, free: 4.355 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00251/1.383, allocations: 0.7201 MB / 0.6403 GB, free: 3.641 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006154/1.389, allocations: 2.776 MB / 0.643 GB, free: 0.7695 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001198/1.39, allocations: 257.1 kB / 0.6432 GB, free: 0.5 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005356/1.391, allocations: 165.6 kB / 0.6434 GB, free: 340 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002241/1.393, allocations: 0.8727 MB / 0.6442 GB, free: 15.44 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.665e-05/1.393, allocations: 34.56 kB / 0.6443 GB, free: 15.39 MB / 494.1 MB Notification: Performance of pre-optimization done (n=71): time 2.936e-06/1.393, allocations: 0 / 0.6443 GB, free: 15.39 MB / 494.1 MB Notification: Performance of matching and sorting (n=71): time 0.002989/1.396, allocations: 0.5973 MB / 0.6449 GB, free: 14.79 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.309e-05/1.396, allocations: 85.05 kB / 0.6449 GB, free: 14.69 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003645/1.397, allocations: 194.5 kB / 0.6451 GB, free: 14.49 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.673e-05/1.397, allocations: 25.7 kB / 0.6451 GB, free: 14.46 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003312/1.397, allocations: 296.4 kB / 0.6454 GB, free: 14.16 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003413/1.397, allocations: 249.8 kB / 0.6457 GB, free: 13.92 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002467/1.398, allocations: 93.97 kB / 0.6458 GB, free: 13.82 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002442/1.398, allocations: 342.8 kB / 0.6461 GB, free: 13.47 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000447/1.398, allocations: 117.3 kB / 0.6462 GB, free: 13.36 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000686/1.399, allocations: 304 kB / 0.6465 GB, free: 12.99 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001254/1.4, allocations: 480.8 kB / 0.6469 GB, free: 12.44 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/1.4, allocations: 0 / 0.6469 GB, free: 12.44 MB / 494.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001569/1.402, allocations: 492.8 kB / 0.6474 GB, free: 11.95 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.577e-05/1.402, allocations: 16.03 kB / 0.6474 GB, free: 11.94 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.966e-05/1.402, allocations: 4 kB / 0.6474 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.028e-05/1.402, allocations: 11.94 kB / 0.6474 GB, free: 11.92 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004795/1.402, allocations: 67.91 kB / 0.6475 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.821e-05/1.402, allocations: 11.94 kB / 0.6475 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004652/1.403, allocations: 63.5 kB / 0.6476 GB, free: 11.78 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.287e-05/1.403, allocations: 20 kB / 0.6476 GB, free: 11.76 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): 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.0004127/1.403, allocations: 193.7 kB / 0.6478 GB, free: 11.56 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001428/1.404, allocations: 35.73 kB / 0.6478 GB, free: 11.53 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001147/1.404, allocations: 34.64 kB / 0.6479 GB, free: 11.49 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.324e-05/1.404, allocations: 4 kB / 0.6479 GB, free: 11.49 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/1.404, allocations: 0 / 0.6479 GB, free: 11.49 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/1.404, allocations: 0 / 0.6479 GB, free: 11.49 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001092/1.405, allocations: 432 kB / 0.6483 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/1.405, allocations: 4 kB / 0.6483 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000211/1.405, allocations: 27.92 kB / 0.6483 GB, free: 10.99 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.417e-06/1.405, allocations: 4.125 kB / 0.6483 GB, free: 10.99 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.077e-05/1.405, allocations: 8 kB / 0.6483 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/1.405, allocations: 3.938 kB / 0.6483 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/1.405, allocations: 0 / 0.6483 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001175/1.406, allocations: 0.5178 MB / 0.6488 GB, free: 10.44 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001235/1.406, allocations: 35.62 kB / 0.6489 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.962e-05/1.406, allocations: 7.938 kB / 0.6489 GB, free: 10.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003649/1.407, allocations: 11.98 kB / 0.6489 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/1.407, allocations: 11.98 kB / 0.6489 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.568e-05/1.407, allocations: 8 kB / 0.6489 GB, free: 10.37 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001955/1.407, allocations: 124.2 kB / 0.649 GB, free: 10.25 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/1.407, allocations: 0 / 0.649 GB, free: 10.25 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001232/1.408, allocations: 195.5 kB / 0.6492 GB, free: 10.05 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): 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.002495/1.411, allocations: 1.248 MB / 0.6504 GB, free: 8.773 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00146/1.412, allocations: 0.5567 MB / 0.651 GB, free: 8.199 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.412, allocations: 0 / 0.651 GB, free: 8.199 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008877/1.413, allocations: 463.8 kB / 0.6514 GB, free: 7.672 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002086/1.415, allocations: 201.9 kB / 0.6516 GB, free: 7.48 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006195/1.421, allocations: 3.624 MB / 0.6551 GB, free: 3.621 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004521/1.422, allocations: 348.7 kB / 0.6555 GB, free: 3.25 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005426/1.422, allocations: 261.9 kB / 0.6557 GB, free: 2.996 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003603/1.423, allocations: 279.2 kB / 0.656 GB, free: 2.723 MB / 494.1 MB Notification: Performance of SimCode: time 3.31e-07/1.423, allocations: 0 / 0.656 GB, free: 2.723 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05716/1.48, allocations: 19.07 MB / 0.6746 GB, free: 15.72 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.83/13.31, allocations: 7.797 kB / 0.6746 GB, free: 15.71 MB / 0.5138 GB " [Timeout remaining time 646] (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: 16.42659209901467] Failed to read output from testmodel.py, exit status != 0: 13.650499336887151 13.677699046 12.307693548 Calling exit ...