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.0009716/0.0009716, allocations: 73.88 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.001677/0.001677, 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 1.01/1.01, allocations: 177.1 MB / 204.5 MB, free: 5.473 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.009809/0.009809, allocations: 1.995 MB / 263 MB, free: 10.88 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_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: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 333.6 MB, free: 1.801 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.489e-05/1.626e-05, allocations: 2.312 kB / 333.6 MB, free: 1.797 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit): time 0.01299/0.013, allocations: 11.86 MB / 345.5 MB, free: 5.883 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009165/0.02217, allocations: 12.04 MB / 357.5 MB, free: 9.805 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002956/0.02246, allocations: 7.938 kB / 357.5 MB, free: 9.797 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005887/0.02305, allocations: 210.5 kB / 357.7 MB, free: 9.59 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002128/0.02518, allocations: 1.26 MB / 359 MB, free: 8.32 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.CO2CoolPropTabular.setSat_p_state' contains a call to impure function 'ExternalMedia.Examples.CO2CoolPropTabular.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.002425/0.02761, allocations: 1.168 MB / 360.1 MB, free: 7.145 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008178/0.02842, allocations: 0.9824 MB / 361.1 MB, free: 6.156 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.955e-05/0.0285, allocations: 29.91 kB / 361.1 MB, free: 6.125 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.6825/0.711, allocations: 22.04 MB / 383.2 MB, free: 2.109 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004985/0.7115, allocations: 247.3 kB / 383.4 MB, free: 1.867 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.624e-05/0.7116, allocations: 40 kB / 383.5 MB, free: 1.828 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002162/0.7138, allocations: 0.687 MB / 384.2 MB, free: 1.141 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001443/0.7139, allocations: 115.5 kB / 384.3 MB, free: 1.027 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002791/0.7142, allocations: 227.5 kB / 384.5 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002048/0.7162, allocations: 0.9384 MB / 385.4 MB, free: 15.86 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.7163, allocations: 0 / 385.4 MB, free: 15.86 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.7163, allocations: 0 / 385.4 MB, free: 15.86 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.7163, allocations: 0 / 385.4 MB, free: 15.86 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.0009454/0.7172, allocations: 1.006 MB / 386.4 MB, free: 14.82 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.7172, allocations: 8.031 kB / 386.4 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001486/0.7187, allocations: 1.03 MB / 387.5 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003435/0.7191, allocations: 279.7 kB / 387.7 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.688e-05/0.7191, allocations: 45.69 kB / 387.8 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.473e-05/0.7192, allocations: 52.38 kB / 387.8 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007801/0.7199, allocations: 0.7275 MB / 388.6 MB, free: 12.56 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.7199, allocations: 0 / 388.6 MB, free: 12.56 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.528e-05/0.72, allocations: 27.98 kB / 388.6 MB, free: 12.53 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.49e-05/0.72, allocations: 31.98 kB / 388.6 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003727/0.7204, allocations: 294.8 kB / 388.9 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002139/0.7225, allocations: 3.185 MB / 392.1 MB, free: 8.93 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003286/0.7228, allocations: 214 kB / 392.3 MB, free: 8.695 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.878e-05/0.7229, allocations: 91.38 kB / 392.4 MB, free: 8.598 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006459/0.7236, allocations: 0.9309 MB / 393.3 MB, free: 7.645 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.7236, allocations: 41.39 kB / 393.4 MB, free: 7.594 MB / 362.7 MB Notification: Performance of pre-optimization done (n=71): time 1.703e-06/0.7236, allocations: 0 / 393.4 MB, free: 7.594 MB / 362.7 MB Notification: Performance of matching and sorting (n=71): time 0.001005/0.7246, allocations: 492.1 kB / 393.9 MB, free: 7.109 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/0.7246, allocations: 85.09 kB / 393.9 MB, free: 7.008 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.7248, allocations: 249.5 kB / 394.2 MB, free: 6.746 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.7248, allocations: 33.7 kB / 394.2 MB, free: 6.707 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.7249, allocations: 339.2 kB / 394.5 MB, free: 6.367 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/0.725, allocations: 249.7 kB / 394.8 MB, free: 6.121 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.792e-05/0.7251, allocations: 103.6 kB / 394.9 MB, free: 6.008 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.7252, allocations: 0.5195 MB / 395.4 MB, free: 5.477 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.233e-05/0.7253, allocations: 57.3 kB / 395.5 MB, free: 5.422 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001651/0.7254, allocations: 306.7 kB / 395.8 MB, free: 5.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002623/0.7257, allocations: 419.5 kB / 396.2 MB, free: 4.504 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.7257, allocations: 0 / 396.2 MB, free: 4.504 MB / 362.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0003494/0.7261, allocations: 400.2 kB / 396.6 MB, free: 4.105 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.7261, allocations: 11.94 kB / 396.6 MB, free: 4.094 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.7261, allocations: 4 kB / 396.6 MB, free: 4.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.7261, allocations: 8.719 kB / 396.6 MB, free: 4.082 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000202/0.7263, allocations: 79.91 kB / 396.7 MB, free: 4.004 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005464/0.7268, allocations: 1.806 MB / 398.5 MB, free: 2.141 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000137/0.727, allocations: 55.52 kB / 398.5 MB, free: 2.086 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.782e-05/0.727, allocations: 16 kB / 398.5 MB, free: 2.07 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.0001272/0.7271, allocations: 188.4 kB / 398.7 MB, free: 1.875 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.975e-05/0.7272, allocations: 31.75 kB / 398.8 MB, free: 1.844 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.341e-05/0.7272, allocations: 34.77 kB / 398.8 MB, free: 1.809 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.7272, allocations: 4 kB / 398.8 MB, free: 1.805 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.7272, allocations: 4 kB / 398.8 MB, free: 1.801 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.7272, allocations: 0 / 398.8 MB, free: 1.801 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003114/0.7275, allocations: 292.6 kB / 399.1 MB, free: 1.488 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.7275, allocations: 4 kB / 399.1 MB, free: 1.484 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.508e-05/0.7276, allocations: 35.98 kB / 399.1 MB, free: 1.449 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.7276, allocations: 0 / 399.1 MB, free: 1.449 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.7277, allocations: 11.98 kB / 399.1 MB, free: 1.438 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007302/0.7284, allocations: 1.798 MB / 400.9 MB, free: 15.58 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.7284, allocations: 0 / 400.9 MB, free: 15.58 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002962/0.7287, allocations: 0.526 MB / 401.5 MB, free: 15.04 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.411e-05/0.7287, allocations: 47.52 kB / 401.5 MB, free: 14.99 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/0.7287, allocations: 3.938 kB / 401.5 MB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.897e-05/0.7288, allocations: 11.98 kB / 401.5 MB, free: 14.97 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.929e-05/0.7289, allocations: 11.98 kB / 401.5 MB, free: 14.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.7289, allocations: 8 kB / 401.5 MB, free: 14.95 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.32e-05/0.7289, allocations: 155.1 kB / 401.7 MB, free: 14.8 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.7289, allocations: 0 / 401.7 MB, free: 14.8 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003984/0.7293, allocations: 183.6 kB / 401.9 MB, free: 14.62 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.0002909/0.7296, allocations: 175.7 kB / 402 MB, free: 14.45 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004237/0.73, allocations: 496.2 kB / 402.5 MB, free: 13.94 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.73, allocations: 0 / 402.5 MB, free: 13.94 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002552/0.7303, allocations: 444.7 kB / 403 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.0006604/0.731, allocations: 220.4 kB / 403.2 MB, free: 13.21 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/0.7321, allocations: 0.9969 MB / 404.2 MB, free: 12.18 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001074/0.7322, allocations: 159.8 kB / 404.3 MB, free: 12 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002722/0.7325, allocations: 199.8 kB / 404.5 MB, free: 11.81 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002531/0.7328, allocations: 230.1 kB / 404.7 MB, free: 11.58 MB / 378.7 MB Notification: Performance of SimCode: time 8.22e-07/0.7328, allocations: 0 / 404.7 MB, free: 11.58 MB / 378.7 MB Notification: Performance of Templates: time 0.01289/0.7457, allocations: 10.77 MB / 415.5 MB, free: 0.7773 MB / 378.7 MB " [Timeout remaining time 659] 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=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.606657324358821]