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.001328/0.001328, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001538/0.001538, allocations: 216.1 kB / 22.25 MB, free: 5.078 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.51/1.51, allocations: 230.6 MB / 256 MB, free: 8 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.01263/0.01263, allocations: 2.802 MB / 315.2 MB, free: 296 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.002064/0.002064, allocations: 71.89 kB / 439.2 MB, free: 13.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1058, allocations: 54.18 MB / 493.4 MB, free: 6.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit): time 0.2655/0.3713, allocations: 51.31 MB / 0.5319 GB, free: 11.47 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02879/0.4001, allocations: 29.2 MB / 0.5604 GB, free: 4.691 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008045/0.4009, allocations: 2.844 kB / 0.5604 GB, free: 4.691 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001933/0.4028, allocations: 0.6131 MB / 0.561 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008393/0.4112, allocations: 2.259 MB / 0.5632 GB, free: 2.379 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.01045/0.4217, allocations: 2.924 MB / 0.5661 GB, free: 20 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001605/0.4233, allocations: 0.935 MB / 0.567 GB, free: 15.4 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.522e-05/0.4234, allocations: 21.97 kB / 0.567 GB, free: 15.37 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.7155/1.139, allocations: 52 MB / 0.6178 GB, free: 12.38 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007828/1.14, allocations: 302.6 kB / 0.6181 GB, free: 12.08 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.885e-05/1.14, allocations: 40 kB / 0.6181 GB, free: 12.04 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2361/1.376, allocations: 27.41 MB / 0.6449 GB, free: 464 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002058/1.376, allocations: 107.5 kB / 0.645 GB, free: 356 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005502/1.377, allocations: 346.4 kB / 0.6453 GB, free: 8 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006478/1.383, allocations: 1.858 MB / 0.6472 GB, free: 14.14 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/1.383, allocations: 4 kB / 0.6472 GB, free: 14.14 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.452e-06/1.383, allocations: 0 / 0.6472 GB, free: 14.14 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.335e-06/1.383, allocations: 0 / 0.6472 GB, free: 14.14 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.001772/1.385, allocations: 1.049 MB / 0.6482 GB, free: 13.06 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/1.385, allocations: 8.031 kB / 0.6482 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002639/1.388, allocations: 0.4961 MB / 0.6487 GB, free: 12.55 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003814/1.391, allocations: 285.6 kB / 0.649 GB, free: 12.25 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.056e-05/1.391, allocations: 46.06 kB / 0.649 GB, free: 12.2 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.084e-05/1.392, allocations: 60 kB / 0.6491 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001564/1.393, allocations: 0.8843 MB / 0.6499 GB, free: 11.21 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/1.393, allocations: 0 / 0.6499 GB, free: 11.21 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.309e-05/1.393, allocations: 28 kB / 0.6499 GB, free: 11.18 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.731e-05/1.393, allocations: 35.97 kB / 0.65 GB, free: 11.15 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001458/1.395, allocations: 0.7162 MB / 0.6507 GB, free: 10.43 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005031/1.4, allocations: 4.963 MB / 0.6555 GB, free: 4.871 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006503/1.4, allocations: 265.1 kB / 0.6558 GB, free: 4.594 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002778/1.401, allocations: 153.7 kB / 0.6559 GB, free: 4.438 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001237/1.402, allocations: 0.9232 MB / 0.6568 GB, free: 3.492 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003671/1.402, allocations: 34.56 kB / 0.6569 GB, free: 3.449 MB / 494.1 MB Notification: Performance of pre-optimization done (n=71): time 1.643e-06/1.402, allocations: 4 kB / 0.6569 GB, free: 3.445 MB / 494.1 MB Notification: Performance of matching and sorting (n=71): time 0.001572/1.404, allocations: 0.5934 MB / 0.6574 GB, free: 2.848 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001836/1.404, allocations: 81.11 kB / 0.6575 GB, free: 2.75 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003352/1.404, allocations: 186.5 kB / 0.6577 GB, free: 2.559 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.472e-05/1.404, allocations: 33.7 kB / 0.6577 GB, free: 2.52 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002893/1.405, allocations: 288.5 kB / 0.658 GB, free: 2.23 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002212/1.405, allocations: 253.7 kB / 0.6583 GB, free: 1.98 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001494/1.405, allocations: 97.95 kB / 0.6583 GB, free: 1.875 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002614/1.405, allocations: 334.8 kB / 0.6587 GB, free: 1.539 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002385/1.406, allocations: 117.3 kB / 0.6588 GB, free: 1.426 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004156/1.406, allocations: 315.9 kB / 0.6591 GB, free: 1.039 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000673/1.407, allocations: 477 kB / 0.6595 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.638e-06/1.407, allocations: 4 kB / 0.6595 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0008134/1.407, allocations: 480.2 kB / 0.66 GB, free: 16 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/1.407, allocations: 11.91 kB / 0.66 GB, free: 4 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.613e-05/1.408, allocations: 7.984 kB / 0.66 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/1.408, allocations: 8.719 kB / 0.66 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002472/1.408, allocations: 75.86 kB / 0.6601 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.765e-05/1.408, allocations: 19.92 kB / 0.6601 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002142/1.408, allocations: 55.52 kB / 0.6602 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001317/1.408, allocations: 20 kB / 0.6602 GB, free: 15.82 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.0002536/1.408, allocations: 201.6 kB / 0.6604 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.167e-05/1.408, allocations: 27.81 kB / 0.6604 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.011e-05/1.409, allocations: 26.59 kB / 0.6604 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/1.409, allocations: 4 kB / 0.6604 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/1.409, allocations: 0 / 0.6604 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/1.409, allocations: 4 kB / 0.6604 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006355/1.409, allocations: 468 kB / 0.6609 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/1.409, allocations: 0 / 0.6609 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001149/1.409, allocations: 27.97 kB / 0.6609 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/1.409, allocations: 4 kB / 0.6609 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.296e-05/1.409, allocations: 11.94 kB / 0.6609 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/1.409, allocations: 0 / 0.6609 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/1.409, allocations: 3.938 kB / 0.6609 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006935/1.41, allocations: 0.5061 MB / 0.6614 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.556e-05/1.41, allocations: 43.61 kB / 0.6615 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.59e-05/1.41, allocations: 7.938 kB / 0.6615 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001634/1.41, allocations: 4 kB / 0.6615 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.903e-05/1.41, allocations: 20.16 kB / 0.6615 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-05/1.41, allocations: 8 kB / 0.6615 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001042/1.411, allocations: 119.2 kB / 0.6616 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/1.411, allocations: 4 kB / 0.6616 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006907/1.411, allocations: 199.5 kB / 0.6618 GB, free: 14.08 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.0006056/1.412, allocations: 301 kB / 0.6621 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008743/1.413, allocations: 0.549 MB / 0.6626 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/1.413, allocations: 0 / 0.6626 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005145/1.413, allocations: 455.7 kB / 0.6631 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001143/1.414, allocations: 192.5 kB / 0.6632 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001645/1.416, allocations: 1.044 MB / 0.6643 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000703/1.417, allocations: 0.9502 MB / 0.6652 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005209/1.417, allocations: 257.8 kB / 0.6654 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.571e-05/1.417, allocations: 47.44 kB / 0.6655 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of SimCode: time 5.61e-07/1.417, allocations: 0 / 0.6655 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of Templates: time 0.02331/1.441, allocations: 12.05 MB / 0.6773 GB, free: 14.08 MB / 0.5137 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: 6.698320959927514] Failed to read output from testmodel.py, exit status != 0: 1.4481392349116504 1.464785374 0.078162405 Calling exit ...