Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.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.0009343/0.0009343, allocations: 73.09 kB / 20.65 MB, free: 3.844 MB / 18.57 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.0009531/0.0009531, allocations: 169 kB / 24.06 MB, free: 452 kB / 18.57 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 0.983/0.983, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo): time 0.007523/0.007523, allocations: 1.999 MB / 263 MB, free: 10.9 MB / 250.7 MB " [Timeout remaining time 180] Using package ExternalMedia with version 4.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/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.TestBasePropertiesImplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit") translateModel(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 333.6 MB, free: 1.555 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.844e-05/1.988e-05, allocations: 2.312 kB / 333.6 MB, free: 1.551 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit): time 0.009085/0.009104, allocations: 11.86 MB / 345.5 MB, free: 5.633 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007651/0.01676, allocations: 12.04 MB / 357.5 MB, free: 9.555 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001728/0.01693, allocations: 0 / 357.5 MB, free: 9.555 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004637/0.01739, allocations: 226.3 kB / 357.7 MB, free: 9.332 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002056/0.01945, allocations: 1.26 MB / 359 MB, free: 8.062 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1092:15-1106:21:writable] Warning: Pure function 'ExternalMedia.Examples.CO2CoolProp.setSat_p_state' contains a call to impure function 'ExternalMedia.Examples.CO2CoolProp.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.0024/0.02185, allocations: 1.165 MB / 360.1 MB, free: 6.891 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006979/0.02254, allocations: 0.9824 MB / 361.1 MB, free: 5.902 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.788e-05/0.02261, allocations: 33.89 kB / 361.2 MB, free: 5.867 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/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.6125/0.6351, allocations: 21.76 MB / 382.9 MB, free: 2.137 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004335/0.6356, allocations: 243.3 kB / 383.1 MB, free: 1.898 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.077e-05/0.6356, allocations: 44 kB / 383.2 MB, free: 1.855 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001719/0.6373, allocations: 0.6909 MB / 383.9 MB, free: 1.164 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.531e-05/0.6374, allocations: 107.5 kB / 384 MB, free: 1.059 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001789/0.6376, allocations: 231.5 kB / 384.2 MB, free: 0.832 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001277/0.6389, allocations: 0.9345 MB / 385.1 MB, free: 15.89 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.6389, allocations: 0 / 385.1 MB, free: 15.89 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.6389, allocations: 0 / 385.1 MB, free: 15.89 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.6389, allocations: 0 / 385.1 MB, free: 15.89 MB / 362.7 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.0008163/0.6397, allocations: 1.006 MB / 386.2 MB, free: 14.85 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.956e-05/0.6397, allocations: 12.03 kB / 386.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001607/0.6414, allocations: 1.03 MB / 387.2 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003379/0.6417, allocations: 279.7 kB / 387.5 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.734e-05/0.6417, allocations: 45.69 kB / 387.5 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.596e-05/0.6418, allocations: 56.38 kB / 387.6 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007326/0.6425, allocations: 0.7312 MB / 388.3 MB, free: 12.58 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.6425, allocations: 4 kB / 388.3 MB, free: 12.58 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.252e-05/0.6426, allocations: 20 kB / 388.3 MB, free: 12.56 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.364e-05/0.6426, allocations: 35.98 kB / 388.4 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003774/0.643, allocations: 294.8 kB / 388.6 MB, free: 12.24 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002066/0.645, allocations: 3.185 MB / 391.8 MB, free: 8.953 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003123/0.6453, allocations: 206 kB / 392 MB, free: 8.727 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.348e-05/0.6454, allocations: 95.38 kB / 392.1 MB, free: 8.625 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006038/0.646, allocations: 0.9348 MB / 393.1 MB, free: 7.668 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.646, allocations: 41.39 kB / 393.1 MB, free: 7.617 MB / 362.7 MB Notification: Performance of pre-optimization done (n=71): time 2.184e-06/0.646, allocations: 0 / 393.1 MB, free: 7.617 MB / 362.7 MB Notification: Performance of matching and sorting (n=71): time 0.0007193/0.6468, allocations: 0.4883 MB / 393.6 MB, free: 7.125 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/0.6468, allocations: 77.11 kB / 393.7 MB, free: 7.031 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/0.6469, allocations: 249.5 kB / 393.9 MB, free: 6.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.6469, allocations: 33.7 kB / 393.9 MB, free: 6.73 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/0.6471, allocations: 339.2 kB / 394.3 MB, free: 6.391 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/0.6472, allocations: 249.8 kB / 394.5 MB, free: 6.145 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.496e-05/0.6473, allocations: 107.5 kB / 394.6 MB, free: 6.027 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.6474, allocations: 0.5117 MB / 395.1 MB, free: 5.504 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.812e-05/0.6475, allocations: 57.23 kB / 395.2 MB, free: 5.449 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001679/0.6476, allocations: 302.7 kB / 395.5 MB, free: 5.051 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002694/0.6479, allocations: 423.5 kB / 395.9 MB, free: 4.531 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.6479, allocations: 7.938 kB / 395.9 MB, free: 4.523 MB / 362.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.000349/0.6483, allocations: 396.4 kB / 396.3 MB, free: 4.129 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.87e-05/0.6483, allocations: 8 kB / 396.3 MB, free: 4.121 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.6483, allocations: 4 kB / 396.3 MB, free: 4.117 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.6483, allocations: 8 kB / 396.3 MB, free: 4.109 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001913/0.6485, allocations: 79.91 kB / 396.4 MB, free: 4.031 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005964/0.6491, allocations: 1.803 MB / 398.2 MB, free: 2.172 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001626/0.6493, allocations: 55.52 kB / 398.2 MB, free: 2.117 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.187e-05/0.6493, allocations: 20 kB / 398.3 MB, free: 2.098 MB / 362.7 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,medium1.baseProperties.phaseOutput,medium1.baseProperties.phaseInput,medium2.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): 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.000139/0.6494, allocations: 188.4 kB / 398.4 MB, free: 1.902 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.526e-05/0.6495, allocations: 31.81 kB / 398.5 MB, free: 1.871 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.558e-05/0.6495, allocations: 26.66 kB / 398.5 MB, free: 1.844 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.6495, allocations: 4 kB / 398.5 MB, free: 1.84 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.6495, allocations: 7.938 kB / 398.5 MB, free: 1.832 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.6495, allocations: 4.094 kB / 398.5 MB, free: 1.828 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003108/0.6498, allocations: 300.6 kB / 398.8 MB, free: 1.508 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.6498, allocations: 0 / 398.8 MB, free: 1.508 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001006/0.6499, allocations: 39.97 kB / 398.9 MB, free: 1.469 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.6499, allocations: 0 / 398.9 MB, free: 1.469 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.65, allocations: 8 kB / 398.9 MB, free: 1.461 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005572/0.6505, allocations: 1.794 MB / 400.7 MB, free: 15.61 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.6505, allocations: 0 / 400.7 MB, free: 15.61 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003099/0.6508, allocations: 0.53 MB / 401.2 MB, free: 15.06 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.354e-05/0.6509, allocations: 47.5 kB / 401.2 MB, free: 15.01 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.211e-05/0.6509, allocations: 11.92 kB / 401.2 MB, free: 15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.652e-05/0.651, allocations: 4 kB / 401.2 MB, free: 15 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.6e-05/0.651, allocations: 11.98 kB / 401.3 MB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.651, allocations: 11.98 kB / 401.3 MB, free: 14.97 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.67e-05/0.6511, allocations: 151.1 kB / 401.4 MB, free: 14.82 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.6511, allocations: 0 / 401.4 MB, free: 14.82 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004216/0.6515, allocations: 179.6 kB / 401.6 MB, free: 14.65 MB / 378.7 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.0003026/0.6518, allocations: 184 kB / 401.8 MB, free: 14.47 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004482/0.6522, allocations: 495.2 kB / 402.3 MB, free: 13.96 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.6522, allocations: 0 / 402.3 MB, free: 13.96 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002688/0.6525, allocations: 457.5 kB / 402.7 MB, free: 13.43 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006344/0.6531, allocations: 204.8 kB / 402.9 MB, free: 13.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001184/0.6543, allocations: 0.9891 MB / 403.9 MB, free: 12.21 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001089/0.6544, allocations: 167.7 kB / 404.1 MB, free: 12.02 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002878/0.6547, allocations: 183.9 kB / 404.2 MB, free: 11.84 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002515/0.655, allocations: 234.1 kB / 404.5 MB, free: 11.61 MB / 378.7 MB Notification: Performance of SimCode: time 7.91e-07/0.655, allocations: 0 / 404.5 MB, free: 11.61 MB / 378.7 MB Notification: Performance of Templates: time 0.01298/0.668, allocations: 10.74 MB / 415.2 MB, free: 0.8359 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit -abortSlowSimulation -alarm=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.643344890791923]