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.001345/0.001345, allocations: 110.2 kB / 19.69 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.00154/0.00154, allocations: 213.2 kB / 23.01 MB, free: 4.566 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.453/1.453, allocations: 230.6 MB / 256.8 MB, free: 8.016 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.01283/0.01283, allocations: 2.803 MB / 316 MB, free: 324 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.TestBasePropertiesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit") [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.002032/0.002032, allocations: 71.89 kB / 440 MB, free: 13.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09101/0.09304, allocations: 54.18 MB / 494.1 MB, free: 6.871 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit): time 0.2429/0.336, allocations: 51.31 MB / 0.5327 GB, free: 11.53 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02739/0.3634, allocations: 29.21 MB / 0.5612 GB, free: 4.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005741/0.3639, allocations: 6.906 kB / 0.5612 GB, free: 4.746 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001621/0.3655, allocations: 0.6088 MB / 0.5618 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006913/0.3725, allocations: 2.259 MB / 0.564 GB, free: 2.438 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.008792/0.3813, allocations: 2.926 MB / 0.5669 GB, free: 80 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001432/0.3827, allocations: 0.939 MB / 0.5678 GB, free: 15.43 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.3828, allocations: 25.97 kB / 0.5678 GB, free: 15.4 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.7117/1.094, allocations: 52 MB / 0.6186 GB, free: 12.4 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007898/1.095, allocations: 302.6 kB / 0.6189 GB, free: 12.11 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001336/1.095, allocations: 44 kB / 0.6189 GB, free: 12.06 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2376/1.333, allocations: 27.41 MB / 0.6457 GB, free: 492 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003364/1.333, allocations: 115.5 kB / 0.6458 GB, free: 376 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009545/1.334, allocations: 334.4 kB / 0.6461 GB, free: 40 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01028/1.345, allocations: 1.866 MB / 0.6479 GB, free: 14.17 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/1.345, allocations: 0 / 0.6479 GB, free: 14.17 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.683e-06/1.345, allocations: 0 / 0.6479 GB, free: 14.17 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.836e-05/1.345, allocations: 0 / 0.6479 GB, free: 14.17 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.002298/1.347, allocations: 1.053 MB / 0.6489 GB, free: 13.08 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/1.347, allocations: 8.031 kB / 0.649 GB, free: 13.07 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002851/1.35, allocations: 0.4961 MB / 0.6494 GB, free: 12.58 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006659/1.357, allocations: 285.6 kB / 0.6497 GB, free: 12.27 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.94e-05/1.357, allocations: 46.06 kB / 0.6498 GB, free: 12.23 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/1.357, allocations: 56 kB / 0.6498 GB, free: 12.17 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001827/1.359, allocations: 0.8804 MB / 0.6507 GB, free: 11.24 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.608e-05/1.359, allocations: 7.938 kB / 0.6507 GB, free: 11.23 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.798e-05/1.359, allocations: 27.94 kB / 0.6507 GB, free: 11.21 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-05/1.359, allocations: 27.98 kB / 0.6507 GB, free: 11.18 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001502/1.36, allocations: 0.724 MB / 0.6514 GB, free: 10.46 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005034/1.365, allocations: 4.97 MB / 0.6563 GB, free: 4.887 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007742/1.366, allocations: 261.1 kB / 0.6565 GB, free: 4.613 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002947/1.366, allocations: 149.7 kB / 0.6567 GB, free: 4.461 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001329/1.368, allocations: 0.9194 MB / 0.6576 GB, free: 3.52 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.105e-05/1.368, allocations: 38.5 kB / 0.6576 GB, free: 3.473 MB / 494.1 MB Notification: Performance of pre-optimization done (n=71): time 2.254e-06/1.368, allocations: 0 / 0.6576 GB, free: 3.473 MB / 494.1 MB Notification: Performance of matching and sorting (n=71): time 0.002337/1.37, allocations: 0.6012 MB / 0.6582 GB, free: 2.867 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.998e-05/1.37, allocations: 77.11 kB / 0.6583 GB, free: 2.773 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000218/1.37, allocations: 186.5 kB / 0.6585 GB, free: 2.582 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.293e-05/1.37, allocations: 29.7 kB / 0.6585 GB, free: 2.547 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002109/1.371, allocations: 284.5 kB / 0.6588 GB, free: 2.262 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002199/1.371, allocations: 253.7 kB / 0.659 GB, free: 2.012 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001548/1.371, allocations: 97.95 kB / 0.6591 GB, free: 1.906 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001699/1.371, allocations: 346.8 kB / 0.6594 GB, free: 1.559 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000244/1.371, allocations: 117.3 kB / 0.6595 GB, free: 1.445 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004038/1.372, allocations: 303.9 kB / 0.6598 GB, free: 1.07 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007098/1.372, allocations: 473 kB / 0.6603 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.752e-06/1.372, allocations: 7.938 kB / 0.6603 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0009059/1.373, allocations: 488.8 kB / 0.6607 GB, free: 40 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/1.373, allocations: 12.12 kB / 0.6608 GB, free: 28 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.109e-05/1.373, allocations: 11.94 kB / 0.6608 GB, free: 16 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.314e-05/1.373, allocations: 4 kB / 0.6608 GB, free: 12 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002855/1.374, allocations: 67.91 kB / 0.6608 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.948e-05/1.374, allocations: 11.94 kB / 0.6609 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002529/1.374, allocations: 63.5 kB / 0.6609 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.775e-05/1.374, allocations: 16 kB / 0.6609 GB, free: 15.86 MB / 0.4981 GB 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.0002565/1.374, allocations: 197.6 kB / 0.6611 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.585e-05/1.374, allocations: 35.75 kB / 0.6612 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.554e-05/1.374, allocations: 34.58 kB / 0.6612 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/1.374, allocations: 4 kB / 0.6612 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/1.374, allocations: 0 / 0.6612 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/1.374, allocations: 0 / 0.6612 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007111/1.375, allocations: 464 kB / 0.6616 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/1.375, allocations: 192 / 0.6616 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001244/1.375, allocations: 27.98 kB / 0.6617 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.125e-06/1.375, allocations: 3.938 kB / 0.6617 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.383e-05/1.375, allocations: 15.94 kB / 0.6617 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/1.375, allocations: 4 kB / 0.6617 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/1.375, allocations: 0 / 0.6617 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007418/1.376, allocations: 0.5061 MB / 0.6622 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.1e-05/1.376, allocations: 43.56 kB / 0.6622 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.092e-05/1.376, allocations: 7.938 kB / 0.6622 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000185/1.376, allocations: 7.984 kB / 0.6622 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.644e-05/1.376, allocations: 19.98 kB / 0.6622 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.915e-05/1.376, allocations: 8 kB / 0.6623 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001192/1.377, allocations: 123.2 kB / 0.6624 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.377, allocations: 0 / 0.6624 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007559/1.377, allocations: 195.5 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: 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.000666/1.378, allocations: 297 kB / 0.6628 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00091/1.379, allocations: 0.5489 MB / 0.6634 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/1.379, allocations: 0 / 0.6634 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005387/1.379, allocations: 459.8 kB / 0.6638 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001233/1.381, allocations: 198.1 kB / 0.664 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001893/1.383, allocations: 1.117 MB / 0.6651 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007136/1.383, allocations: 0.9502 MB / 0.666 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/1.383, allocations: 51.44 kB / 0.6661 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of SimCode: time 4.91e-07/1.383, allocations: 0 / 0.6661 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of Templates: time 0.01611/1.4, allocations: 8.855 MB / 0.6747 GB, free: 1.516 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.makefile [Timeout 660] (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 & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.43211393384263] Failed to read output from testmodel.py, exit status != 0: 1.4076576149091125 1.425367591 0.077213895 Calling exit ...