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.001646/0.001646, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002144/0.002144, allocations: 213.6 kB / 22.99 MB, free: 4.945 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.514/1.514, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.01313/0.01313, allocations: 2.811 MB / 316 MB, free: 104 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.002041/0.002041, allocations: 67.91 kB / 439.9 MB, free: 12.8 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1122, allocations: 54.18 MB / 494.1 MB, free: 6.531 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit): time 0.3378/0.45, allocations: 45.41 MB / 0.5268 GB, free: 14.51 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03113/0.4812, allocations: 25.16 MB / 0.5514 GB, free: 12.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008333/0.482, allocations: 2.75 kB / 0.5514 GB, free: 12.84 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001921/0.4839, allocations: 0.4966 MB / 0.5519 GB, free: 12.45 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009003/0.4929, allocations: 2.196 MB / 0.554 GB, free: 10.71 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.01116/0.5041, allocations: 2.89 MB / 0.5569 GB, free: 8.383 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001704/0.5058, allocations: 0.9485 MB / 0.5578 GB, free: 7.812 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.5059, allocations: 26.75 kB / 0.5578 GB, free: 7.801 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.7295/1.235, allocations: 51.99 MB / 0.6086 GB, free: 5.324 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001104/1.236, allocations: 282.7 kB / 0.6089 GB, free: 5.047 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001218/1.237, allocations: 43.94 kB / 0.6089 GB, free: 5.004 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.246/1.483, allocations: 27.39 MB / 0.6356 GB, free: 9.438 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002942/1.483, allocations: 111.5 kB / 0.6358 GB, free: 9.328 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006861/1.484, allocations: 282.7 kB / 0.636 GB, free: 9.051 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009972/1.494, allocations: 1.866 MB / 0.6378 GB, free: 7.18 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/1.494, allocations: 0 / 0.6378 GB, free: 7.18 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.244e-06/1.494, allocations: 0 / 0.6378 GB, free: 7.18 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.8e-05/1.494, allocations: 3.938 kB / 0.6379 GB, free: 7.176 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.00197/1.496, allocations: 1.041 MB / 0.6389 GB, free: 6.102 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/1.496, allocations: 12.03 kB / 0.6389 GB, free: 6.09 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002177/1.498, allocations: 0.5 MB / 0.6394 GB, free: 5.59 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005229/1.503, allocations: 277.6 kB / 0.6396 GB, free: 5.293 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.488e-05/1.503, allocations: 46.06 kB / 0.6397 GB, free: 5.25 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.418e-05/1.503, allocations: 56 kB / 0.6397 GB, free: 5.195 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001987/1.505, allocations: 0.9847 MB / 0.6407 GB, free: 4.129 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/1.505, allocations: 3.938 kB / 0.6407 GB, free: 4.125 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.326e-05/1.505, allocations: 32 kB / 0.6407 GB, free: 4.094 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.63e-05/1.505, allocations: 31.97 kB / 0.6408 GB, free: 4.062 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001479/1.507, allocations: 0.7162 MB / 0.6415 GB, free: 3.352 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003959/1.511, allocations: 2.69 MB / 0.6441 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007005/1.511, allocations: 273.1 kB / 0.6443 GB, free: 300 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000283/1.512, allocations: 161.7 kB / 0.6445 GB, free: 132 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001357/1.513, allocations: 0.8805 MB / 0.6454 GB, free: 15.23 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.652e-05/1.513, allocations: 34.56 kB / 0.6454 GB, free: 15.18 MB / 494.1 MB Notification: Performance of pre-optimization done (n=71): time 2.625e-06/1.513, allocations: 0 / 0.6454 GB, free: 15.18 MB / 494.1 MB Notification: Performance of matching and sorting (n=71): time 0.005027/1.518, allocations: 0.6012 MB / 0.646 GB, free: 14.58 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.427e-05/1.518, allocations: 89.05 kB / 0.6461 GB, free: 14.47 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002496/1.518, allocations: 202.4 kB / 0.6463 GB, free: 14.27 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.924e-05/1.518, allocations: 25.7 kB / 0.6463 GB, free: 14.23 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002461/1.519, allocations: 296.5 kB / 0.6466 GB, free: 13.94 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002175/1.519, allocations: 245.7 kB / 0.6468 GB, free: 13.7 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001471/1.519, allocations: 93.97 kB / 0.6469 GB, free: 13.59 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002047/1.519, allocations: 342.8 kB / 0.6472 GB, free: 13.25 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002381/1.52, allocations: 121.3 kB / 0.6473 GB, free: 13.13 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004446/1.52, allocations: 300 kB / 0.6476 GB, free: 12.77 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007246/1.521, allocations: 480.9 kB / 0.6481 GB, free: 12.22 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/1.521, allocations: 8 kB / 0.6481 GB, free: 12.21 MB / 494.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0008812/1.522, allocations: 488.7 kB / 0.6485 GB, free: 11.73 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/1.522, allocations: 8 kB / 0.6486 GB, free: 11.72 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/1.522, allocations: 4 kB / 0.6486 GB, free: 11.71 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.548e-05/1.522, allocations: 15.88 kB / 0.6486 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003792/1.522, allocations: 87.89 kB / 0.6487 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009151/1.523, allocations: 1.169 MB / 0.6498 GB, free: 10.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002829/1.523, allocations: 75.53 kB / 0.6499 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.732e-05/1.523, allocations: 19.94 kB / 0.6499 GB, free: 10.3 MB / 494.1 MB 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.0002955/1.524, allocations: 197.6 kB / 0.6501 GB, free: 10.1 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.895e-05/1.524, allocations: 27.81 kB / 0.6501 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.36e-05/1.524, allocations: 34.62 kB / 0.6501 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.926e-06/1.524, allocations: 4 kB / 0.6501 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/1.524, allocations: 0 / 0.6501 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.832e-06/1.524, allocations: 3.938 kB / 0.6501 GB, free: 10.03 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005874/1.524, allocations: 344.7 kB / 0.6505 GB, free: 9.664 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/1.524, allocations: 4 kB / 0.6505 GB, free: 9.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002015/1.525, allocations: 51.84 kB / 0.6505 GB, free: 9.609 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/1.525, allocations: 0 / 0.6505 GB, free: 9.609 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.137e-05/1.525, allocations: 4 kB / 0.6505 GB, free: 9.605 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008038/1.525, allocations: 1.172 MB / 0.6517 GB, free: 8.387 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/1.525, allocations: 0 / 0.6517 GB, free: 8.387 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007147/1.526, allocations: 0.5178 MB / 0.6522 GB, free: 7.852 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.089e-05/1.526, allocations: 39.81 kB / 0.6522 GB, free: 7.812 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.58e-05/1.526, allocations: 4 kB / 0.6522 GB, free: 7.809 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001685/1.526, allocations: 8 kB / 0.6522 GB, free: 7.801 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.333e-05/1.526, allocations: 11.97 kB / 0.6522 GB, free: 7.789 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.101e-05/1.526, allocations: 12 kB / 0.6523 GB, free: 7.777 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001302/1.527, allocations: 123.2 kB / 0.6524 GB, free: 7.656 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/1.527, allocations: 0 / 0.6524 GB, free: 7.656 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008504/1.527, allocations: 199.5 kB / 0.6526 GB, free: 7.461 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: 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.0006827/1.528, allocations: 304.9 kB / 0.6529 GB, free: 7.152 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001069/1.529, allocations: 0.5686 MB / 0.6534 GB, free: 6.559 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/1.529, allocations: 0 / 0.6534 GB, free: 6.559 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006573/1.53, allocations: 479.8 kB / 0.6539 GB, free: 6.016 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001159/1.531, allocations: 200.2 kB / 0.6541 GB, free: 5.82 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002055/1.533, allocations: 1.14 MB / 0.6552 GB, free: 4.645 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004641/1.534, allocations: 348.8 kB / 0.6555 GB, free: 4.277 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001228/1.534, allocations: 51.42 kB / 0.6556 GB, free: 4.227 MB / 494.1 MB Notification: Performance of SimCode: time 9.11e-07/1.534, allocations: 0 / 0.6556 GB, free: 4.227 MB / 494.1 MB Notification: Performance of Templates: time 0.02644/1.56, allocations: 16.83 MB / 0.672 GB, free: 3.402 MB / 0.4981 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.45495313219726] Failed to read output from testmodel.py, exit status != 0: 1.5688708326779306 1.586974317 0.089688106 Calling exit ...