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.001042/0.001042, allocations: 85.17 kB / 19.87 MB, free: 4.617 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.000987/0.000987, allocations: 169 kB / 23.27 MB, free: 1.223 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.9838/0.9838, allocations: 177.2 MB / 203.7 MB, free: 5.508 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.007814/0.007814, allocations: 1.996 MB / 262.2 MB, free: 10.91 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.743e-06/1.743e-06, allocations: 3.938 kB / 332.8 MB, free: 1.719 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.484e-05/1.658e-05, allocations: 2.312 kB / 332.8 MB, free: 1.715 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit): time 0.01209/0.0121, allocations: 11.86 MB / 344.7 MB, free: 5.805 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008115/0.02022, allocations: 12.04 MB / 356.7 MB, free: 9.727 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002252/0.02044, allocations: 4 kB / 356.7 MB, free: 9.723 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000499/0.02094, allocations: 218.4 kB / 356.9 MB, free: 9.508 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0026/0.02354, allocations: 1.264 MB / 358.2 MB, free: 8.234 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.002143/0.02569, allocations: 1.161 MB / 359.4 MB, free: 7.066 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001039/0.02673, allocations: 0.9824 MB / 360.3 MB, free: 6.078 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.59e-05/0.0268, allocations: 33.91 kB / 360.4 MB, free: 6.043 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.6793/0.7061, allocations: 22.04 MB / 382.4 MB, free: 2.008 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005087/0.7066, allocations: 247.3 kB / 382.6 MB, free: 1.766 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.529e-05/0.7066, allocations: 40 kB / 382.7 MB, free: 1.727 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001781/0.7084, allocations: 0.687 MB / 383.4 MB, free: 1.039 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.7085, allocations: 107.5 kB / 383.5 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001787/0.7087, allocations: 231.5 kB / 383.7 MB, free: 0.707 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001193/0.7099, allocations: 0.9384 MB / 384.6 MB, free: 15.77 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.7099, allocations: 0 / 384.6 MB, free: 15.77 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.7099, allocations: 0 / 384.6 MB, free: 15.77 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.76e-06/0.7099, allocations: 0 / 384.6 MB, free: 15.77 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.0008889/0.7108, allocations: 1.002 MB / 385.6 MB, free: 14.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.7108, allocations: 16.02 kB / 385.7 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001436/0.7123, allocations: 1.022 MB / 386.7 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003136/0.7126, allocations: 291.7 kB / 387 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.654e-05/0.7126, allocations: 45.69 kB / 387 MB, free: 13.33 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/0.7127, allocations: 52.38 kB / 387.1 MB, free: 13.28 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006413/0.7134, allocations: 0.7275 MB / 387.8 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.7134, allocations: 0 / 387.8 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.023e-05/0.7134, allocations: 24 kB / 387.8 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.92e-05/0.7134, allocations: 31.98 kB / 387.8 MB, free: 12.4 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00033/0.7138, allocations: 294.8 kB / 388.1 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001886/0.7157, allocations: 3.185 MB / 391.3 MB, free: 8.828 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002668/0.7159, allocations: 206 kB / 391.5 MB, free: 8.602 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.374e-05/0.716, allocations: 91.38 kB / 391.6 MB, free: 8.504 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008038/0.7168, allocations: 0.9386 MB / 392.5 MB, free: 7.547 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.7168, allocations: 45.38 kB / 392.6 MB, free: 7.492 MB / 362.7 MB Notification: Performance of pre-optimization done (n=71): time 1.273e-06/0.7168, allocations: 4 kB / 392.6 MB, free: 7.488 MB / 362.7 MB Notification: Performance of matching and sorting (n=71): time 0.0006604/0.7175, allocations: 496 kB / 393.1 MB, free: 7 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.912e-05/0.7175, allocations: 81.11 kB / 393.2 MB, free: 6.902 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.7176, allocations: 253.5 kB / 393.4 MB, free: 6.637 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.7176, allocations: 29.7 kB / 393.4 MB, free: 6.602 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.7178, allocations: 339.2 kB / 393.8 MB, free: 6.262 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/0.7179, allocations: 241.8 kB / 394 MB, free: 6.023 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.634e-05/0.7179, allocations: 107.5 kB / 394.1 MB, free: 5.906 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.7181, allocations: 0.5156 MB / 394.6 MB, free: 5.379 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.197e-05/0.7181, allocations: 61.23 kB / 394.7 MB, free: 5.32 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001525/0.7183, allocations: 310.7 kB / 395 MB, free: 4.914 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004827/0.7187, allocations: 415.5 kB / 395.4 MB, free: 4.402 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.7188, allocations: 0 / 395.4 MB, free: 4.402 MB / 362.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0003258/0.7191, allocations: 396.9 kB / 395.8 MB, free: 4.008 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.7191, allocations: 12.03 kB / 395.8 MB, free: 3.996 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.7191, allocations: 4 kB / 395.8 MB, free: 3.992 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.7191, allocations: 11.94 kB / 395.8 MB, free: 3.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001826/0.7193, allocations: 79.89 kB / 395.9 MB, free: 3.902 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004771/0.7198, allocations: 1.806 MB / 397.7 MB, free: 2.039 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001113/0.7199, allocations: 55.52 kB / 397.7 MB, free: 1.984 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.606e-05/0.7199, allocations: 16 kB / 397.8 MB, free: 1.969 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.0001126/0.72, allocations: 196.5 kB / 398 MB, free: 1.766 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.365e-05/0.7201, allocations: 31.8 kB / 398 MB, free: 1.734 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.152e-05/0.7201, allocations: 34.64 kB / 398 MB, free: 1.699 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.7201, allocations: 0 / 398 MB, free: 1.699 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.013e-06/0.7201, allocations: 7.938 kB / 398 MB, free: 1.691 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.7201, allocations: 0 / 398 MB, free: 1.691 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000264/0.7204, allocations: 296.6 kB / 398.3 MB, free: 1.375 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.7204, allocations: 4 kB / 398.3 MB, free: 1.371 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.41e-05/0.7205, allocations: 35.98 kB / 398.4 MB, free: 1.336 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.7205, allocations: 4 kB / 398.4 MB, free: 1.332 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.7205, allocations: 8 kB / 398.4 MB, free: 1.324 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000644/0.7211, allocations: 1.79 MB / 400.2 MB, free: 15.48 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.7211, allocations: 0 / 400.2 MB, free: 15.48 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002796/0.7214, allocations: 0.526 MB / 400.7 MB, free: 14.93 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.94e-05/0.7214, allocations: 43.58 kB / 400.7 MB, free: 14.89 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.657e-05/0.7214, allocations: 3.938 kB / 400.7 MB, free: 14.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.211e-05/0.7215, allocations: 11.94 kB / 400.7 MB, free: 14.87 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.308e-05/0.7216, allocations: 24.09 kB / 400.8 MB, free: 14.85 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.857e-06/0.7216, allocations: 4 kB / 400.8 MB, free: 14.84 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.901e-05/0.7216, allocations: 155.1 kB / 400.9 MB, free: 14.69 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.7216, allocations: 0 / 400.9 MB, free: 14.69 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003274/0.7219, allocations: 179.6 kB / 401.1 MB, free: 14.52 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.0002466/0.7222, allocations: 188 kB / 401.3 MB, free: 14.33 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003961/0.7226, allocations: 492 kB / 401.8 MB, free: 13.82 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.7226, allocations: 0 / 401.8 MB, free: 13.82 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002448/0.7228, allocations: 452.8 kB / 402.2 MB, free: 13.3 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000604/0.7234, allocations: 208.6 kB / 402.4 MB, free: 13.1 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.7245, allocations: 1.001 MB / 403.4 MB, free: 12.06 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001037/0.7246, allocations: 163.8 kB / 403.6 MB, free: 11.88 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002397/0.7248, allocations: 187.9 kB / 403.7 MB, free: 11.7 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000244/0.7251, allocations: 234.1 kB / 404 MB, free: 11.46 MB / 378.7 MB Notification: Performance of SimCode: time 5.31e-07/0.7251, allocations: 3.938 kB / 404 MB, free: 11.46 MB / 378.7 MB Notification: Performance of Templates: time 0.01253/0.7376, allocations: 10.56 MB / 414.5 MB, free: 0.8633 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.500667544081807]