Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.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.001325/0.001325, allocations: 110.5 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.001494/0.001494, allocations: 212.9 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.524/1.524, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.01288/0.01288, allocations: 2.791 MB / 316 MB, free: 340 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.TestBasePropertiesImplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit") [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.002136/0.002136, allocations: 68.09 kB / 440 MB, free: 13.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1109, allocations: 54.17 MB / 494.1 MB, free: 6.875 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit): time 0.264/0.3749, allocations: 51.36 MB / 0.5327 GB, free: 11.51 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03039/0.4053, allocations: 29.2 MB / 0.5612 GB, free: 4.746 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006358/0.4059, allocations: 8.969 kB / 0.5612 GB, free: 4.742 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001773/0.4077, allocations: 0.609 MB / 0.5618 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006506/0.4142, allocations: 2.265 MB / 0.564 GB, free: 2.426 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.TestBasePropertiesImplicit.medium1.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.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.TestBasePropertiesImplicit.medium2.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.medium2.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.009133/0.4233, allocations: 2.927 MB / 0.5669 GB, free: 68 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001604/0.4249, allocations: 0.9422 MB / 0.5678 GB, free: 15.41 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.425, allocations: 29.95 kB / 0.5679 GB, free: 15.38 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.7521/1.177, allocations: 52 MB / 0.6186 GB, free: 12.38 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007523/1.178, allocations: 302.6 kB / 0.6189 GB, free: 12.09 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001138/1.178, allocations: 40 kB / 0.619 GB, free: 12.05 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2549/1.433, allocations: 27.41 MB / 0.6457 GB, free: 468 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002076/1.433, allocations: 111.5 kB / 0.6458 GB, free: 356 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006035/1.434, allocations: 346.4 kB / 0.6462 GB, free: 8 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006724/1.44, allocations: 1.866 MB / 0.648 GB, free: 14.14 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/1.44, allocations: 0 / 0.648 GB, free: 14.14 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.182e-06/1.44, allocations: 0 / 0.648 GB, free: 14.14 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.65e-05/1.44, allocations: 0 / 0.648 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.001941/1.442, allocations: 1.053 MB / 0.649 GB, free: 13.05 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/1.442, allocations: 8.031 kB / 0.649 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002194/1.445, allocations: 0.4961 MB / 0.6495 GB, free: 12.55 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003769/1.448, allocations: 285.6 kB / 0.6498 GB, free: 12.24 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.639e-05/1.449, allocations: 42.06 kB / 0.6498 GB, free: 12.2 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.211e-05/1.449, allocations: 59.98 kB / 0.6499 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001739/1.45, allocations: 0.8844 MB / 0.6507 GB, free: 11.2 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.266e-05/1.45, allocations: 0 / 0.6507 GB, free: 11.2 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.394e-05/1.45, allocations: 28 kB / 0.6508 GB, free: 11.18 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.665e-05/1.45, allocations: 31.97 kB / 0.6508 GB, free: 11.14 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001482/1.452, allocations: 0.7162 MB / 0.6515 GB, free: 10.43 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005018/1.457, allocations: 5.09 MB / 0.6565 GB, free: 4.715 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007103/1.458, allocations: 269 kB / 0.6567 GB, free: 4.434 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003056/1.458, allocations: 157.8 kB / 0.6569 GB, free: 4.273 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001252/1.459, allocations: 0.9235 MB / 0.6578 GB, free: 3.328 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.449e-05/1.459, allocations: 38.5 kB / 0.6578 GB, free: 3.281 MB / 494.1 MB Notification: Performance of pre-optimization done (n=71): time 1.693e-06/1.459, allocations: 0 / 0.6578 GB, free: 3.281 MB / 494.1 MB Notification: Performance of matching and sorting (n=71): time 0.001701/1.461, allocations: 0.6051 MB / 0.6584 GB, free: 2.672 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.909e-05/1.461, allocations: 77.11 kB / 0.6585 GB, free: 2.578 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002287/1.461, allocations: 198.5 kB / 0.6587 GB, free: 2.375 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/1.461, allocations: 25.7 kB / 0.6587 GB, free: 2.344 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002191/1.461, allocations: 296.4 kB / 0.659 GB, free: 2.047 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001971/1.462, allocations: 241.8 kB / 0.6592 GB, free: 1.809 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00014/1.462, allocations: 93.97 kB / 0.6593 GB, free: 1.707 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001643/1.462, allocations: 346.8 kB / 0.6596 GB, free: 1.359 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000293/1.462, allocations: 117.3 kB / 0.6597 GB, free: 1.246 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004022/1.463, allocations: 311.9 kB / 0.66 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007324/1.463, allocations: 477 kB / 0.6605 GB, free: 328 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/1.463, allocations: 4 kB / 0.6605 GB, free: 324 kB / 494.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.000926/1.464, allocations: 492.2 kB / 0.661 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/1.464, allocations: 4 kB / 0.661 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/1.464, allocations: 11.94 kB / 0.661 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/1.464, allocations: 8.906 kB / 0.661 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003804/1.465, allocations: 83.89 kB / 0.6611 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007708/1.466, allocations: 1.184 MB / 0.6622 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002776/1.466, allocations: 63.5 kB / 0.6623 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.641e-05/1.466, allocations: 16.19 kB / 0.6623 GB, free: 14.41 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): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002754/1.466, allocations: 203.3 kB / 0.6625 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.225e-05/1.466, allocations: 27.81 kB / 0.6625 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.534e-05/1.466, allocations: 34.64 kB / 0.6626 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/1.466, allocations: 0 / 0.6626 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/1.466, allocations: 3.938 kB / 0.6626 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/1.466, allocations: 7.938 kB / 0.6626 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007134/1.467, allocations: 471.8 kB / 0.663 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/1.467, allocations: 0 / 0.663 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001952/1.467, allocations: 39.97 kB / 0.6631 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.12e-05/1.467, allocations: 8 kB / 0.6631 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.958e-05/1.467, allocations: 8 kB / 0.6631 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007677/1.468, allocations: 1.172 MB / 0.6642 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/1.468, allocations: 8.219 kB / 0.6642 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007591/1.469, allocations: 0.5022 MB / 0.6647 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.942e-05/1.469, allocations: 39.64 kB / 0.6648 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.65e-05/1.469, allocations: 7.984 kB / 0.6648 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/1.469, allocations: 4 kB / 0.6648 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.971e-05/1.469, allocations: 27.91 kB / 0.6648 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/1.469, allocations: 4 kB / 0.6648 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001138/1.469, allocations: 123.2 kB / 0.6649 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.9e-07/1.469, allocations: 0 / 0.6649 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007329/1.47, allocations: 195.4 kB / 0.6651 GB, free: 11.43 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): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009732/1.471, allocations: 300.8 kB / 0.6654 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001028/1.472, allocations: 0.5684 MB / 0.6659 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/1.472, allocations: 4.188 kB / 0.6659 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006815/1.473, allocations: 480 kB / 0.6664 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001135/1.474, allocations: 186.3 kB / 0.6666 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001992/1.476, allocations: 1.144 MB / 0.6677 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006667/1.476, allocations: 0.9465 MB / 0.6686 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001187/1.477, allocations: 47.44 kB / 0.6687 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of SimCode: time 1.192e-06/1.477, allocations: 0 / 0.6687 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of Templates: time 0.02393/1.501, allocations: 16.45 MB / 0.6847 GB, free: 7.172 MB / 0.5137 GB " [Timeout remaining time 658] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 9.21191651117988] Failed to read output from testmodel.py, exit status != 0: 1.5091177709400654 1.541312262 0.09494949200000001 Calling exit ...