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.001433/0.001433, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.00159/0.00159, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 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.9328/0.9328, allocations: 177.2 MB / 203.8 MB, free: 5.477 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.007979/0.007979, allocations: 2.005 MB / 262.3 MB, free: 10.95 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.503e-06/1.503e-06, allocations: 0 / 279.6 MB, free: 9.594 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.564e-05/2.714e-05, allocations: 6.25 kB / 279.6 MB, free: 9.586 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit): time 0.1209/0.1209, allocations: 11.95 MB / 291.6 MB, free: 19.39 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00916/0.13, allocations: 12.16 MB / 303.7 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002465/0.1303, allocations: 7.688 kB / 303.7 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005618/0.1309, allocations: 225.1 kB / 303.9 MB, free: 13.56 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002429/0.1333, allocations: 1.251 MB / 305.2 MB, free: 12.79 MB / 266.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.002595/0.1359, allocations: 1.172 MB / 306.4 MB, free: 12.06 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001062/0.1369, allocations: 0.9784 MB / 307.3 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.1371, allocations: 33.89 kB / 307.4 MB, free: 11.51 MB / 266.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.5304/0.6675, allocations: 21.83 MB / 329.2 MB, free: 10.84 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004826/0.6679, allocations: 251.3 kB / 329.5 MB, free: 10.6 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.026e-05/0.668, allocations: 40 kB / 329.5 MB, free: 10.56 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002344/0.6703, allocations: 0.7026 MB / 330.2 MB, free: 9.855 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001119/0.6705, allocations: 115.5 kB / 330.3 MB, free: 9.742 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001942/0.6706, allocations: 227.5 kB / 330.5 MB, free: 9.52 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001337/0.672, allocations: 0.9384 MB / 331.5 MB, free: 8.574 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.672, allocations: 4 kB / 331.5 MB, free: 8.57 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.672, allocations: 0 / 331.5 MB, free: 8.57 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.062e-06/0.672, allocations: 0 / 331.5 MB, free: 8.57 MB / 282.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.0008305/0.6728, allocations: 0.8585 MB / 332.3 MB, free: 7.684 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.6729, allocations: 12.03 kB / 332.3 MB, free: 7.672 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001529/0.6744, allocations: 1.054 MB / 333.4 MB, free: 6.617 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000337/0.6747, allocations: 213 kB / 333.6 MB, free: 6.383 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.686e-05/0.6748, allocations: 41.69 kB / 333.6 MB, free: 6.344 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.841e-05/0.6748, allocations: 64.36 kB / 333.7 MB, free: 6.281 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007824/0.6756, allocations: 0.6959 MB / 334.4 MB, free: 5.504 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.012e-05/0.6756, allocations: 4 kB / 334.4 MB, free: 5.5 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.17e-05/0.6756, allocations: 27.94 kB / 334.4 MB, free: 5.473 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.744e-05/0.6757, allocations: 35.97 kB / 334.5 MB, free: 5.438 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004096/0.6761, allocations: 292.5 kB / 334.8 MB, free: 5.156 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001614/0.6777, allocations: 2.258 MB / 337 MB, free: 2.828 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002824/0.678, allocations: 193 kB / 337.2 MB, free: 2.621 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.406e-05/0.678, allocations: 69.69 kB / 337.3 MB, free: 2.547 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005515/0.6786, allocations: 0.6646 MB / 337.9 MB, free: 1.867 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.6786, allocations: 34.56 kB / 338 MB, free: 1.824 MB / 282.7 MB Notification: Performance of pre-optimization done (n=71): time 1.483e-06/0.6786, allocations: 0 / 338 MB, free: 1.824 MB / 282.7 MB Notification: Performance of matching and sorting (n=71): time 0.0006877/0.6793, allocations: 434.1 kB / 338.4 MB, free: 1.398 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.6e-05/0.6793, allocations: 81.11 kB / 338.5 MB, free: 1.301 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.6795, allocations: 195.1 kB / 338.7 MB, free: 1.098 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.6795, allocations: 29.7 kB / 338.7 MB, free: 1.062 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/0.6796, allocations: 304.3 kB / 339 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001032/0.6797, allocations: 233.8 kB / 339.2 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.584e-05/0.6798, allocations: 97.89 kB / 339.3 MB, free: 432 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.911e-05/0.6799, allocations: 350.7 kB / 339.7 MB, free: 72 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.1e-05/0.6799, allocations: 41.25 kB / 339.7 MB, free: 32 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001345/0.68, allocations: 224 kB / 339.9 MB, free: 15.74 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002245/0.6803, allocations: 347.5 kB / 340.3 MB, free: 15.32 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.6803, allocations: 0 / 340.3 MB, free: 15.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0002938/0.6805, allocations: 320.4 kB / 340.6 MB, free: 15 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.6806, allocations: 8 kB / 340.6 MB, free: 14.99 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.6806, allocations: 4 kB / 340.6 MB, free: 14.99 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.6806, allocations: 8.719 kB / 340.6 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001986/0.6808, allocations: 75.91 kB / 340.7 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003827/0.6812, allocations: 1.176 MB / 341.8 MB, free: 13.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001187/0.6813, allocations: 55.52 kB / 341.9 MB, free: 13.63 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/0.6813, allocations: 16 kB / 341.9 MB, free: 13.61 MB / 298.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.0001066/0.6814, allocations: 148.5 kB / 342.1 MB, free: 13.46 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.593e-05/0.6815, allocations: 19.97 kB / 342.1 MB, free: 13.44 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.489e-05/0.6815, allocations: 22.66 kB / 342.1 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.6815, allocations: 4.125 kB / 342.1 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.6815, allocations: 4 kB / 342.1 MB, free: 13.4 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.6815, allocations: 7.922 kB / 342.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000236/0.6817, allocations: 237.3 kB / 342.3 MB, free: 13.14 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.6817, allocations: 0 / 342.3 MB, free: 13.14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.636e-05/0.6818, allocations: 35.97 kB / 342.4 MB, free: 13.11 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.6818, allocations: 3.938 kB / 342.4 MB, free: 13.11 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-06/0.6818, allocations: 8 kB / 342.4 MB, free: 13.1 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003239/0.6822, allocations: 1.168 MB / 343.6 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.6822, allocations: 0 / 343.6 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000229/0.6824, allocations: 383.8 kB / 343.9 MB, free: 11.49 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.854e-05/0.6824, allocations: 35.69 kB / 344 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.6824, allocations: 4 kB / 344 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.141e-05/0.6825, allocations: 15.92 kB / 344 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.645e-05/0.6826, allocations: 11.98 kB / 344 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.397e-06/0.6826, allocations: 7.984 kB / 344 MB, free: 11.42 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.038e-05/0.6826, allocations: 36.83 kB / 344 MB, free: 11.38 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.6826, allocations: 0 / 344 MB, free: 11.38 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003226/0.6829, allocations: 183.5 kB / 344.2 MB, free: 11.2 MB / 298.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.0003047/0.6832, allocations: 176 kB / 344.4 MB, free: 11.03 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003995/0.6836, allocations: 465.1 kB / 344.8 MB, free: 10.55 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/0.6836, allocations: 4 kB / 344.9 MB, free: 10.55 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002357/0.6839, allocations: 434.5 kB / 345.3 MB, free: 10.05 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005599/0.6844, allocations: 200.4 kB / 345.5 MB, free: 9.848 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001318/0.6857, allocations: 1.014 MB / 346.5 MB, free: 8.801 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000108/0.6859, allocations: 167.8 kB / 346.6 MB, free: 8.613 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002763/0.6861, allocations: 180 kB / 346.8 MB, free: 8.438 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002462/0.6864, allocations: 197.2 kB / 347 MB, free: 8.246 MB / 298.7 MB Notification: Performance of SimCode: time 8.72e-07/0.6864, allocations: 4 kB / 347 MB, free: 8.242 MB / 298.7 MB Notification: Performance of Templates: time 0.01233/0.6987, allocations: 10.51 MB / 357.5 MB, free: 13.73 MB / 314.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.071239164099097]