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.001266/0.001266, allocations: 101.8 kB / 19.73 MB, free: 2.23 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.001404/0.001404, allocations: 217 kB / 23.04 MB, free: 5.074 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.459/1.459, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.01246/0.01246, allocations: 2.799 MB / 316 MB, free: 320 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesExplicit",fmuType="cs",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.001875/0.001875, allocations: 75.89 kB / 439.5 MB, free: 13.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09772/0.09959, allocations: 54.17 MB / 493.7 MB, free: 7.363 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit): time 0.2666/0.3662, allocations: 51.31 MB / 0.5322 GB, free: 11.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02898/0.3952, allocations: 29.2 MB / 0.5607 GB, free: 4.891 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006804/0.3958, allocations: 5 kB / 0.5607 GB, free: 4.891 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001746/0.3976, allocations: 0.619 MB / 0.5613 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006867/0.4044, allocations: 2.253 MB / 0.5635 GB, free: 2.578 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.00993/0.4144, allocations: 2.931 MB / 0.5664 GB, free: 220 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001513/0.4159, allocations: 0.935 MB / 0.5673 GB, free: 15.65 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.224e-05/0.416, allocations: 25.28 kB / 0.5673 GB, free: 15.64 MB / 414.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.7003/1.116, allocations: 52 MB / 0.6181 GB, free: 12.75 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008285/1.117, allocations: 302.6 kB / 0.6184 GB, free: 12.45 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.792e-05/1.117, allocations: 40 kB / 0.6184 GB, free: 12.41 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2269/1.344, allocations: 27.41 MB / 0.6452 GB, free: 0.8281 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002339/1.344, allocations: 107.5 kB / 0.6453 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005964/1.345, allocations: 350.4 kB / 0.6456 GB, free: 388 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00791/1.353, allocations: 1.858 MB / 0.6475 GB, free: 14.52 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.486e-06/1.353, allocations: 4 kB / 0.6475 GB, free: 14.51 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.144e-06/1.353, allocations: 0 / 0.6475 GB, free: 14.51 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.193e-05/1.353, allocations: 0 / 0.6475 GB, free: 14.51 MB / 494.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.001816/1.355, allocations: 1.053 MB / 0.6485 GB, free: 13.43 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/1.355, allocations: 8.031 kB / 0.6485 GB, free: 13.42 MB / 494.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.164e-05/1.355, allocations: 21.5 kB / 0.6485 GB, free: 13.39 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001423/1.355, allocations: 123 kB / 0.6486 GB, free: 13.27 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001995/1.357, allocations: 0.4961 MB / 0.6491 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003953/1.361, allocations: 278.1 kB / 0.6494 GB, free: 12.47 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.882e-05/1.361, allocations: 45.31 kB / 0.6494 GB, free: 12.43 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.385e-05/1.361, allocations: 55.94 kB / 0.6495 GB, free: 12.38 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001652/1.363, allocations: 0.8805 MB / 0.6503 GB, free: 11.45 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/1.363, allocations: 0 / 0.6503 GB, free: 11.45 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.936e-05/1.363, allocations: 28 kB / 0.6504 GB, free: 11.42 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.069e-05/1.363, allocations: 35.97 kB / 0.6504 GB, free: 11.38 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001355/1.364, allocations: 0.7162 MB / 0.6511 GB, free: 10.67 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004941/1.369, allocations: 4.97 MB / 0.656 GB, free: 5.098 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007027/1.37, allocations: 269 kB / 0.6562 GB, free: 4.816 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002792/1.37, allocations: 153.8 kB / 0.6564 GB, free: 4.66 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001217/1.371, allocations: 0.9117 MB / 0.6573 GB, free: 3.727 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/1.371, allocations: 34.5 kB / 0.6573 GB, free: 3.684 MB / 494.1 MB Notification: Performance of pre-optimization done (n=71): time 2.004e-06/1.371, allocations: 0 / 0.6573 GB, free: 3.684 MB / 494.1 MB Notification: Performance of matching and sorting (n=71): time 0.001564/1.373, allocations: 0.5934 MB / 0.6579 GB, free: 3.086 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.121e-05/1.373, allocations: 81.11 kB / 0.6579 GB, free: 2.988 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002226/1.373, allocations: 190.5 kB / 0.6581 GB, free: 2.793 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.827e-05/1.373, allocations: 29.7 kB / 0.6582 GB, free: 2.758 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002347/1.373, allocations: 300.3 kB / 0.6584 GB, free: 2.457 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002308/1.374, allocations: 245.8 kB / 0.6587 GB, free: 2.215 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001542/1.374, allocations: 97.95 kB / 0.6588 GB, free: 2.109 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.00019/1.374, allocations: 334.8 kB / 0.6591 GB, free: 1.773 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003018/1.374, allocations: 129.3 kB / 0.6592 GB, free: 1.648 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003938/1.375, allocations: 299.9 kB / 0.6595 GB, free: 1.277 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007083/1.375, allocations: 484.9 kB / 0.66 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/1.375, allocations: 0 / 0.66 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0009443/1.376, allocations: 484.3 kB / 0.6604 GB, free: 252 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.776e-05/1.376, allocations: 11.94 kB / 0.6604 GB, free: 240 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/1.376, allocations: 4.078 kB / 0.6604 GB, free: 236 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.576e-05/1.376, allocations: 8.719 kB / 0.6604 GB, free: 228 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002817/1.377, allocations: 83.83 kB / 0.6605 GB, free: 144 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.871e-05/1.377, allocations: 11.98 kB / 0.6605 GB, free: 132 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002804/1.377, allocations: 55.52 kB / 0.6606 GB, free: 76 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.255e-05/1.377, allocations: 20 kB / 0.6606 GB, free: 56 kB / 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.0003343/1.377, allocations: 205.6 kB / 0.6608 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.4e-05/1.377, allocations: 31.75 kB / 0.6608 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.466e-05/1.378, allocations: 26.66 kB / 0.6609 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/1.378, allocations: 4 kB / 0.6609 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/1.378, allocations: 7.938 kB / 0.6609 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.784e-06/1.378, allocations: 3.984 kB / 0.6609 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000634/1.378, allocations: 467.9 kB / 0.6613 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/1.378, allocations: 0 / 0.6613 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001116/1.378, allocations: 27.92 kB / 0.6613 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.723e-06/1.378, allocations: 7.938 kB / 0.6614 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.25e-05/1.378, allocations: 8 kB / 0.6614 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/1.378, allocations: 0 / 0.6614 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/1.378, allocations: 0 / 0.6614 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006604/1.379, allocations: 0.5062 MB / 0.6619 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.317e-05/1.379, allocations: 39.62 kB / 0.6619 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.546e-05/1.379, allocations: 4 kB / 0.6619 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001588/1.379, allocations: 4 kB / 0.6619 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.382e-05/1.379, allocations: 23.91 kB / 0.6619 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.758e-05/1.379, allocations: 4 kB / 0.6619 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001023/1.379, allocations: 128.2 kB / 0.662 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6e-08/1.379, allocations: 0 / 0.662 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007611/1.38, allocations: 199.4 kB / 0.6622 GB, free: 14.31 MB / 0.4981 GB 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.001588/1.382, allocations: 1.24 MB / 0.6635 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008263/1.383, allocations: 0.5605 MB / 0.664 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/1.383, allocations: 0 / 0.664 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004988/1.383, allocations: 455.7 kB / 0.6644 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001226/1.384, allocations: 190.5 kB / 0.6646 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005429/1.39, allocations: 3.632 MB / 0.6682 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006635/1.39, allocations: 0.9464 MB / 0.6691 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005495/1.391, allocations: 257.8 kB / 0.6693 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000352/1.391, allocations: 275.3 kB / 0.6696 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of SimCode: time 8.62e-07/1.391, allocations: 0 / 0.6696 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04714/1.438, allocations: 19.4 MB / 0.6885 GB, free: 3.055 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.25/13.69, allocations: 8.062 kB / 0.6886 GB, free: 3.047 MB / 0.5137 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesExplicit_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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.8551053639967] Failed to read output from testmodel.py, exit status != 0: 14.080324551090598 14.098370509 12.74198205 Calling exit ...