Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.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.00133/0.00133, allocations: 93.92 kB / 19.73 MB, free: 2.129 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.00158/0.00158, allocations: 212.2 kB / 23.02 MB, free: 4.957 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.485/1.485, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.01243/0.01243, allocations: 2.811 MB / 316 MB, free: 96 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.TestBasePropertiesTranscritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesTranscritical",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesTranscritical",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.001869/0.001869, allocations: 67.91 kB / 439.4 MB, free: 13.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1054, allocations: 54.16 MB / 493.6 MB, free: 7.047 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical): time 0.2831/0.3885, allocations: 45.37 MB / 0.5263 GB, free: 14.41 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02482/0.4134, allocations: 25.14 MB / 0.5509 GB, free: 12.95 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005452/0.4139, allocations: 5.562 kB / 0.5509 GB, free: 12.95 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001534/0.4154, allocations: 0.5003 MB / 0.5514 GB, free: 12.56 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006528/0.422, allocations: 2.177 MB / 0.5535 GB, free: 10.83 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.TestBasePropertiesTranscritical.medium1.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.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.TestBasePropertiesTranscritical.medium2.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.medium2.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.009308/0.4313, allocations: 2.886 MB / 0.5563 GB, free: 8.512 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001344/0.4326, allocations: 0.9422 MB / 0.5572 GB, free: 7.945 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.446e-05/0.4327, allocations: 29.2 kB / 0.5573 GB, free: 7.926 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.6827/1.115, allocations: 52 MB / 0.608 GB, free: 5.711 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008329/1.116, allocations: 306.6 kB / 0.6083 GB, free: 5.41 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001432/1.116, allocations: 43.94 kB / 0.6084 GB, free: 5.367 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2257/1.342, allocations: 27.41 MB / 0.6351 GB, free: 9.785 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002168/1.342, allocations: 111.5 kB / 0.6352 GB, free: 9.676 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001043/1.343, allocations: 282.8 kB / 0.6355 GB, free: 9.398 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006596/1.35, allocations: 1.862 MB / 0.6373 GB, free: 7.531 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/1.35, allocations: 0 / 0.6373 GB, free: 7.531 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.864e-06/1.35, allocations: 0 / 0.6373 GB, free: 7.531 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.96e-05/1.35, allocations: 0 / 0.6373 GB, free: 7.531 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.001784/1.352, allocations: 1.045 MB / 0.6384 GB, free: 6.453 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/1.352, allocations: 12.03 kB / 0.6384 GB, free: 6.441 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.594e-05/1.352, allocations: 17.5 kB / 0.6384 GB, free: 6.426 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001455/1.352, allocations: 115.1 kB / 0.6385 GB, free: 6.305 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002104/1.354, allocations: 0.4961 MB / 0.639 GB, free: 5.809 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0041/1.358, allocations: 278.1 kB / 0.6392 GB, free: 5.512 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.473e-05/1.358, allocations: 49.25 kB / 0.6393 GB, free: 5.461 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001009/1.358, allocations: 59.94 kB / 0.6393 GB, free: 5.402 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001757/1.36, allocations: 0.9808 MB / 0.6403 GB, free: 4.348 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.995e-05/1.36, allocations: 8 kB / 0.6403 GB, free: 4.34 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.099e-05/1.36, allocations: 24 kB / 0.6403 GB, free: 4.316 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.929e-05/1.36, allocations: 31.97 kB / 0.6404 GB, free: 4.285 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001428/1.362, allocations: 0.7162 MB / 0.6411 GB, free: 3.574 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004134/1.366, allocations: 2.729 MB / 0.6437 GB, free: 0.7461 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00082/1.367, allocations: 289 kB / 0.644 GB, free: 456 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000353/1.367, allocations: 165.4 kB / 0.6442 GB, free: 284 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001313/1.368, allocations: 0.8769 MB / 0.645 GB, free: 15.38 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.835e-05/1.368, allocations: 38.5 kB / 0.6451 GB, free: 15.33 MB / 494.1 MB Notification: Performance of pre-optimization done (n=74): time 2.194e-06/1.368, allocations: 0 / 0.6451 GB, free: 15.33 MB / 494.1 MB Notification: Performance of matching and sorting (n=74): time 0.001868/1.37, allocations: 0.6319 MB / 0.6457 GB, free: 14.7 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.556e-05/1.37, allocations: 81.11 kB / 0.6458 GB, free: 14.6 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002043/1.371, allocations: 174.1 kB / 0.6459 GB, free: 14.42 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.578e-05/1.371, allocations: 29.7 kB / 0.6459 GB, free: 14.38 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002288/1.371, allocations: 288.5 kB / 0.6462 GB, free: 14.09 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002178/1.371, allocations: 245.8 kB / 0.6465 GB, free: 13.85 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001475/1.371, allocations: 97.95 kB / 0.6465 GB, free: 13.75 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/1.371, allocations: 346.8 kB / 0.6469 GB, free: 13.4 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002993/1.372, allocations: 121.3 kB / 0.647 GB, free: 13.28 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004195/1.372, allocations: 293.3 kB / 0.6473 GB, free: 12.93 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007822/1.373, allocations: 477.5 kB / 0.6477 GB, free: 12.39 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/1.373, allocations: 0 / 0.6477 GB, free: 12.39 MB / 494.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0009685/1.374, allocations: 476.2 kB / 0.6482 GB, free: 11.92 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/1.374, allocations: 11.94 kB / 0.6482 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/1.374, allocations: 4 kB / 0.6482 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/1.374, allocations: 8.625 kB / 0.6482 GB, free: 11.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002928/1.374, allocations: 75.83 kB / 0.6483 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.653e-05/1.374, allocations: 8 kB / 0.6483 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002939/1.374, allocations: 63.5 kB / 0.6483 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.35e-05/1.375, allocations: 16 kB / 0.6484 GB, free: 11.74 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 (medium2.completeState.state.phase,medium2.baseProperties.phaseOutput,medium1.completeState.state.phase,medium1.baseProperties.phaseOutput,medium2.baseProperties.phaseInput,medium1.baseProperties.phaseInput) * 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.0003102/1.375, allocations: 197.7 kB / 0.6486 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.489e-05/1.375, allocations: 35.7 kB / 0.6486 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.219e-05/1.375, allocations: 29.95 kB / 0.6486 GB, free: 11.47 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/1.375, allocations: 7.938 kB / 0.6486 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/1.375, allocations: 0 / 0.6486 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/1.375, allocations: 8 kB / 0.6486 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006769/1.376, allocations: 424.2 kB / 0.649 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/1.376, allocations: 384 / 0.649 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001646/1.376, allocations: 35.92 kB / 0.6491 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.109e-05/1.376, allocations: 7.938 kB / 0.6491 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.184e-05/1.376, allocations: 8 kB / 0.6491 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/1.376, allocations: 3.938 kB / 0.6491 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/1.376, allocations: 3.984 kB / 0.6491 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008905/1.377, allocations: 0.5332 MB / 0.6496 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.567e-05/1.377, allocations: 43.56 kB / 0.6497 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.306e-05/1.377, allocations: 4 kB / 0.6497 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002246/1.377, allocations: 7.984 kB / 0.6497 GB, free: 10.33 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.219e-05/1.377, allocations: 31.89 kB / 0.6497 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.462e-05/1.377, allocations: 8 kB / 0.6497 GB, free: 10.29 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001037/1.377, allocations: 120.1 kB / 0.6498 GB, free: 10.18 MB / 494.1 MB Notification: Performance of sort global known variables: time 6e-08/1.377, allocations: 0 / 0.6498 GB, free: 10.18 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007144/1.378, allocations: 191.5 kB / 0.65 GB, free: 9.988 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: 4 (medium2.baseProperties.phaseOutput,medium2.completeState.state.phase,medium1.baseProperties.phaseOutput,medium1.completeState.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 16 * 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.001711/1.38, allocations: 1.283 MB / 0.6513 GB, free: 8.676 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009951/1.381, allocations: 0.5565 MB / 0.6518 GB, free: 8.098 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/1.381, allocations: 0 / 0.6518 GB, free: 8.098 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006284/1.381, allocations: 472.2 kB / 0.6522 GB, free: 7.562 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001162/1.383, allocations: 196.5 kB / 0.6524 GB, free: 7.375 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005514/1.388, allocations: 3.638 MB / 0.656 GB, free: 3.527 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004665/1.389, allocations: 357.7 kB / 0.6563 GB, free: 3.148 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005854/1.389, allocations: 265.7 kB / 0.6566 GB, free: 2.891 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003791/1.39, allocations: 271.3 kB / 0.6568 GB, free: 2.625 MB / 494.1 MB Notification: Performance of SimCode: time 5.91e-07/1.39, allocations: 0 / 0.6568 GB, free: 2.625 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05014/1.44, allocations: 19.89 MB / 0.6763 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.52/13.96, allocations: 4.062 kB / 0.6763 GB, free: 14.85 MB / 0.5137 GB " [Timeout remaining time 646] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesTranscritical_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesTranscritical.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.18372031499166] Failed to read output from testmodel.py, exit status != 0: 14.356755609042011 14.37504265 13.021404779 Calling exit ...