Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.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.0008589/0.0008589, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009062/0.0009062, allocations: 169.3 kB / 23.02 MB, free: 1.551 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.946/0.946, allocations: 177.1 MB / 203.4 MB, free: 5.609 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.007918/0.007918, allocations: 2.002 MB / 261.9 MB, free: 11.03 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.TestBasePropertiesDynamic,tolerance=1e-07,outputFormat="empty",numberOfIntervals=800,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic,tolerance=1e-07,outputFormat="empty",numberOfIntervals=800,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 332.4 MB, free: 16.9 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.251e-05/2.455e-05, allocations: 4.844 kB / 332.4 MB, free: 16.9 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic): time 0.007932/0.007957, allocations: 9.214 MB / 341.6 MB, free: 7.641 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005871/0.01383, allocations: 8.607 MB / 350.2 MB, free: 15 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.19e-05/0.01391, allocations: 0 / 350.2 MB, free: 15 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004822/0.01439, allocations: 135 kB / 350.3 MB, free: 14.87 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003139/0.01471, allocations: 115.1 kB / 350.4 MB, free: 14.76 MB / 282.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.002984/0.01769, allocations: 1.498 MB / 351.9 MB, free: 13.25 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003428/0.01803, allocations: 298.5 kB / 352.2 MB, free: 12.96 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.428e-05/0.01808, allocations: 13.81 kB / 352.2 MB, free: 12.95 MB / 282.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.7042/0.7223, allocations: 21.68 MB / 373.9 MB, free: 9.336 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001775/0.7224, allocations: 71.75 kB / 374 MB, free: 9.266 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.51e-05/0.7225, allocations: 8 kB / 374 MB, free: 9.258 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001164/0.7236, allocations: 475.6 kB / 374.5 MB, free: 8.793 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.785e-05/0.7237, allocations: 31.89 kB / 374.5 MB, free: 8.762 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.03e-05/0.7238, allocations: 63.78 kB / 374.6 MB, free: 8.699 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008442/0.7246, allocations: 486.7 kB / 375 MB, free: 8.223 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.7246, allocations: 4 kB / 375 MB, free: 8.219 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.7246, allocations: 0 / 375 MB, free: 8.219 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.7247, allocations: 0 / 375 MB, free: 8.219 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0006642/0.7253, allocations: 0.581 MB / 375.6 MB, free: 7.602 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.7254, allocations: 12.03 kB / 375.6 MB, free: 7.59 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002546/0.7256, allocations: 92.5 kB / 375.7 MB, free: 7.5 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001796/0.7258, allocations: 148.4 kB / 375.9 MB, free: 7.328 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.7258, allocations: 8.375 kB / 375.9 MB, free: 7.32 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.312e-05/0.7258, allocations: 20.36 kB / 375.9 MB, free: 7.301 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003418/0.7262, allocations: 256.5 kB / 376.1 MB, free: 7.02 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.7262, allocations: 0 / 376.1 MB, free: 7.02 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/0.7262, allocations: 8 kB / 376.1 MB, free: 7.012 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/0.7262, allocations: 11.98 kB / 376.2 MB, free: 7 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001678/0.7264, allocations: 108.8 kB / 376.3 MB, free: 6.891 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005748/0.727, allocations: 0.6911 MB / 377 MB, free: 6.156 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002645/0.7272, allocations: 143 kB / 377.1 MB, free: 6.004 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.264e-05/0.7273, allocations: 67.61 kB / 377.2 MB, free: 5.934 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001237/0.7274, allocations: 95.92 kB / 377.3 MB, free: 5.84 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.7274, allocations: 41.39 kB / 377.3 MB, free: 5.789 MB / 298.7 MB Notification: Performance of pre-optimization done (n=43): time 1.272e-06/0.7274, allocations: 0 / 377.3 MB, free: 5.789 MB / 298.7 MB Notification: Performance of matching and sorting (n=47): time 0.001392/0.7288, allocations: 0.9046 MB / 378.2 MB, free: 4.844 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.461e-05/0.7289, allocations: 51.41 kB / 378.3 MB, free: 4.781 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.187e-05/0.729, allocations: 193.9 kB / 378.4 MB, free: 4.574 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.729, allocations: 25.7 kB / 378.5 MB, free: 4.543 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.545e-05/0.729, allocations: 159.7 kB / 378.6 MB, free: 4.383 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.469e-05/0.7291, allocations: 162.6 kB / 378.8 MB, free: 4.223 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.364e-05/0.7292, allocations: 63.36 kB / 378.8 MB, free: 4.152 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.7293, allocations: 0.5079 MB / 379.4 MB, free: 3.633 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.379e-05/0.7294, allocations: 56.47 kB / 379.4 MB, free: 3.578 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001251/0.7295, allocations: 140.8 kB / 379.5 MB, free: 3.406 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001974/0.7297, allocations: 221.7 kB / 379.8 MB, free: 3.164 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.7297, allocations: 4 kB / 379.8 MB, free: 3.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0005257/0.7302, allocations: 369.8 kB / 380.1 MB, free: 2.785 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.7302, allocations: 4 kB / 380.1 MB, free: 2.781 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.7302, allocations: 0 / 380.1 MB, free: 2.781 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003596/0.7306, allocations: 139.7 kB / 380.3 MB, free: 2.641 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.08e-05/0.7307, allocations: 27.98 kB / 380.3 MB, free: 2.613 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004948/0.7312, allocations: 0.8858 MB / 381.2 MB, free: 1.695 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.643e-05/0.7312, allocations: 15.94 kB / 381.2 MB, free: 1.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.7312, allocations: 11.97 kB / 381.2 MB, free: 1.668 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 3 (medium.phaseOutput,medium.state.phase,medium.phaseInput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,7)} Notification: Performance of prepare postOptimizeDAE: time 9.26e-05/0.7313, allocations: 172.5 kB / 381.4 MB, free: 1.488 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.324e-05/0.7314, allocations: 27.86 kB / 381.4 MB, free: 1.461 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.049e-05/0.7314, allocations: 18.28 kB / 381.4 MB, free: 1.445 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.7314, allocations: 15.98 kB / 381.4 MB, free: 1.43 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.7314, allocations: 0 / 381.4 MB, free: 1.43 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.7314, allocations: 3.938 kB / 381.4 MB, free: 1.426 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001619/0.7316, allocations: 205.2 kB / 381.6 MB, free: 1.191 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.7316, allocations: 0 / 381.6 MB, free: 1.191 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.406e-05/0.7317, allocations: 35.92 kB / 381.7 MB, free: 1.156 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001949/0.7319, allocations: 67.59 kB / 381.7 MB, free: 1.086 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.7319, allocations: 8 kB / 381.7 MB, free: 1.078 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001003/0.7329, allocations: 1.885 MB / 383.6 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.7329, allocations: 4 kB / 383.6 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000463/0.7334, allocations: 0.5423 MB / 384.2 MB, free: 14.47 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.655e-05/0.7334, allocations: 19.8 kB / 384.2 MB, free: 14.45 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.7334, allocations: 8 kB / 384.2 MB, free: 14.45 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.504e-05/0.7335, allocations: 8 kB / 384.2 MB, free: 14.44 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.307e-05/0.7335, allocations: 19.95 kB / 384.2 MB, free: 14.42 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.7335, allocations: 8 kB / 384.2 MB, free: 14.41 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.374e-05/0.7336, allocations: 139.2 kB / 384.4 MB, free: 14.27 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.7336, allocations: 0 / 384.4 MB, free: 14.27 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002189/0.7338, allocations: 71.97 kB / 384.4 MB, free: 14.2 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (medium.p,medium.h) * Number of discrete variables: 2 (medium.state.phase,medium.phaseOutput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002966/0.7341, allocations: 184.1 kB / 384.6 MB, free: 14.02 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000351/0.7344, allocations: 224.8 kB / 384.8 MB, free: 13.8 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.7344, allocations: 4 kB / 384.9 MB, free: 13.79 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002914/0.7347, allocations: 307.4 kB / 385.2 MB, free: 13.47 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003878/0.7351, allocations: 96.16 kB / 385.2 MB, free: 13.38 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009138/0.736, allocations: 0.5433 MB / 385.8 MB, free: 12.8 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.765e-05/0.7361, allocations: 85.31 kB / 385.9 MB, free: 12.7 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001259/0.7362, allocations: 105.2 kB / 386 MB, free: 12.6 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.781e-05/0.7362, allocations: 20.5 kB / 386 MB, free: 12.58 MB / 314.7 MB Notification: Performance of SimCode: time 7.02e-07/0.7362, allocations: 0 / 386 MB, free: 12.58 MB / 314.7 MB Notification: Performance of Templates: time 0.006623/0.7429, allocations: 5.31 MB / 391.3 MB, free: 7.27 MB / 314.7 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic -abortSlowSimulation -alarm=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.361803430132568]