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.001591/0.001591, allocations: 102.1 kB / 19.7 MB, free: 2.254 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: 217.2 kB / 23.01 MB, free: 4.609 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.449/1.449, allocations: 230.6 MB / 256.8 MB, free: 8.035 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.01209/0.01209, allocations: 2.799 MB / 316 MB, free: 344 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: translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical") [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.002056/0.002056, allocations: 71.89 kB / 440 MB, free: 13.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09813/0.1002, allocations: 54.17 MB / 494.1 MB, free: 6.902 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical): time 0.2426/0.3428, allocations: 51.32 MB / 0.5327 GB, free: 11.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02758/0.3704, allocations: 29.2 MB / 0.5612 GB, free: 4.793 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005598/0.371, allocations: 4.75 kB / 0.5612 GB, free: 4.793 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002074/0.373, allocations: 0.6114 MB / 0.5618 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006374/0.3794, allocations: 2.26 MB / 0.564 GB, free: 2.48 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.008024/0.3874, allocations: 2.93 MB / 0.5669 GB, free: 116 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001371/0.3888, allocations: 0.9321 MB / 0.5678 GB, free: 15.46 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.3889, allocations: 25.97 kB / 0.5678 GB, free: 15.43 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.7049/1.094, allocations: 52 MB / 0.6186 GB, free: 12.43 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006731/1.094, allocations: 302.7 kB / 0.6189 GB, free: 12.13 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.611e-05/1.095, allocations: 40 kB / 0.6189 GB, free: 12.09 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.236/1.331, allocations: 27.42 MB / 0.6457 GB, free: 0.5 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002093/1.331, allocations: 123.4 kB / 0.6458 GB, free: 388 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005375/1.331, allocations: 334.4 kB / 0.6461 GB, free: 52 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005551/1.337, allocations: 1.862 MB / 0.6479 GB, free: 14.18 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/1.337, allocations: 0 / 0.6479 GB, free: 14.18 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.313e-06/1.337, allocations: 0 / 0.6479 GB, free: 14.18 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.797e-06/1.337, allocations: 0 / 0.6479 GB, free: 14.18 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.001561/1.338, allocations: 1.053 MB / 0.649 GB, free: 13.1 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/1.338, allocations: 8.031 kB / 0.649 GB, free: 13.09 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002382/1.341, allocations: 0.4961 MB / 0.6494 GB, free: 12.59 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002999/1.344, allocations: 281.7 kB / 0.6497 GB, free: 12.29 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.804e-05/1.344, allocations: 50 kB / 0.6498 GB, free: 12.24 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.333e-05/1.344, allocations: 56 kB / 0.6498 GB, free: 12.19 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00157/1.346, allocations: 0.8766 MB / 0.6507 GB, free: 11.26 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/1.346, allocations: 7.938 kB / 0.6507 GB, free: 11.25 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.454e-05/1.346, allocations: 27.98 kB / 0.6507 GB, free: 11.23 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.328e-05/1.346, allocations: 27.98 kB / 0.6507 GB, free: 11.2 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001397/1.347, allocations: 0.7162 MB / 0.6514 GB, free: 10.48 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004445/1.352, allocations: 4.912 MB / 0.6562 GB, free: 4.973 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007264/1.352, allocations: 281.1 kB / 0.6565 GB, free: 4.68 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003475/1.353, allocations: 177.3 kB / 0.6567 GB, free: 4.5 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001239/1.354, allocations: 0.9197 MB / 0.6576 GB, free: 3.559 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.588e-05/1.354, allocations: 34.56 kB / 0.6576 GB, free: 3.516 MB / 494.1 MB Notification: Performance of pre-optimization done (n=74): time 1.933e-06/1.354, allocations: 0 / 0.6576 GB, free: 3.516 MB / 494.1 MB Notification: Performance of matching and sorting (n=74): time 0.001811/1.356, allocations: 0.632 MB / 0.6582 GB, free: 2.879 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.843e-05/1.356, allocations: 81.05 kB / 0.6583 GB, free: 2.781 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001825/1.356, allocations: 166.1 kB / 0.6585 GB, free: 2.609 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.338e-05/1.356, allocations: 29.7 kB / 0.6585 GB, free: 2.574 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002035/1.356, allocations: 296.4 kB / 0.6588 GB, free: 2.277 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002142/1.356, allocations: 249.8 kB / 0.659 GB, free: 2.031 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001406/1.357, allocations: 97.95 kB / 0.6591 GB, free: 1.926 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/1.357, allocations: 338.8 kB / 0.6594 GB, free: 1.586 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002994/1.357, allocations: 129.4 kB / 0.6595 GB, free: 1.461 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004443/1.357, allocations: 289.4 kB / 0.6598 GB, free: 1.109 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007842/1.358, allocations: 481.5 kB / 0.6603 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.072e-06/1.358, allocations: 4 kB / 0.6603 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0009517/1.359, allocations: 480.1 kB / 0.6607 GB, free: 92 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/1.359, allocations: 7.906 kB / 0.6607 GB, free: 84 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/1.359, allocations: 11.94 kB / 0.6608 GB, free: 72 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/1.359, allocations: 4.625 kB / 0.6608 GB, free: 68 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002929/1.359, allocations: 75.95 kB / 0.6608 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.845e-05/1.36, allocations: 11.88 kB / 0.6608 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002418/1.36, allocations: 59.52 kB / 0.6609 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.754e-05/1.36, allocations: 20 kB / 0.6609 GB, free: 15.9 MB / 0.4981 GB 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.0002416/1.36, allocations: 189.7 kB / 0.6611 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.751e-05/1.36, allocations: 31.77 kB / 0.6611 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.265e-05/1.36, allocations: 33.91 kB / 0.6612 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/1.36, allocations: 4 kB / 0.6612 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.331e-06/1.36, allocations: 4 kB / 0.6612 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/1.36, allocations: 3.984 kB / 0.6612 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006478/1.361, allocations: 468.1 kB / 0.6616 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/1.361, allocations: 8 kB / 0.6616 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001603/1.361, allocations: 31.92 kB / 0.6617 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/1.361, allocations: 3.984 kB / 0.6617 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.398e-05/1.361, allocations: 11.94 kB / 0.6617 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/1.361, allocations: 0 / 0.6617 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/1.361, allocations: 0 / 0.6617 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008018/1.362, allocations: 0.5332 MB / 0.6622 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.961e-05/1.362, allocations: 35.62 kB / 0.6622 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.155e-05/1.362, allocations: 15.92 kB / 0.6622 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002172/1.362, allocations: 4 kB / 0.6622 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.985e-05/1.362, allocations: 27.95 kB / 0.6623 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.616e-05/1.362, allocations: 12 kB / 0.6623 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001003/1.362, allocations: 116.1 kB / 0.6624 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.362, allocations: 4 kB / 0.6624 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001029/1.363, allocations: 203.4 kB / 0.6626 GB, free: 14.11 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: 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.0005921/1.364, allocations: 280.9 kB / 0.6629 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009596/1.365, allocations: 0.5597 MB / 0.6634 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/1.365, allocations: 4.625 kB / 0.6634 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005853/1.366, allocations: 472.1 kB / 0.6639 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001155/1.367, allocations: 207.6 kB / 0.6641 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001717/1.368, allocations: 1.136 MB / 0.6652 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006638/1.369, allocations: 0.9474 MB / 0.6661 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/1.369, allocations: 51.44 kB / 0.6661 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of SimCode: time 4.51e-07/1.369, allocations: 0 / 0.6661 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of Templates: time 0.01421/1.383, allocations: 9.091 MB / 0.675 GB, free: 1.227 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.makefile [Timeout 660] (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 & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.880971445003524] Failed to read output from testmodel.py, exit status != 0: 1.3910631050821394 1.408335334 0.06772270400000001 Calling exit ...