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.000941/0.000941, allocations: 85.27 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.0009648/0.0009648, allocations: 165 kB / 23.27 MB, free: 1.219 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.9255/0.9255, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.009783/0.009783, allocations: 1.993 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.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 1.463e-06/1.463e-06, allocations: 0 / 332.8 MB, free: 16.63 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.638e-06/1.11e-05, allocations: 6.25 kB / 332.8 MB, free: 16.62 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic): time 0.005422/0.005433, allocations: 9.124 MB / 341.9 MB, free: 7.457 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003716/0.009149, allocations: 8.517 MB / 350.5 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.382e-05/0.009213, allocations: 0 / 350.5 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003476/0.009561, allocations: 135 kB / 350.6 MB, free: 14.78 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002228/0.009783, allocations: 111.2 kB / 350.7 MB, free: 14.67 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.002241/0.01202, allocations: 1.501 MB / 352.2 MB, free: 13.16 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002542/0.01228, allocations: 290.5 kB / 352.5 MB, free: 12.87 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.579e-05/0.01231, allocations: 13.8 kB / 352.5 MB, free: 12.86 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.7021/0.7145, allocations: 21.68 MB / 374.2 MB, free: 9.254 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001861/0.7146, allocations: 71.8 kB / 374.3 MB, free: 9.184 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.482e-05/0.7147, allocations: 8 kB / 374.3 MB, free: 9.176 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001295/0.716, allocations: 475.6 kB / 374.7 MB, free: 8.711 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.721e-05/0.716, allocations: 31.86 kB / 374.8 MB, free: 8.68 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.809e-05/0.7161, allocations: 63.89 kB / 374.8 MB, free: 8.617 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000798/0.7169, allocations: 482.7 kB / 375.3 MB, free: 8.145 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.7169, allocations: 4 kB / 375.3 MB, free: 8.141 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.7169, allocations: 0 / 375.3 MB, free: 8.141 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.908e-06/0.7169, allocations: 0 / 375.3 MB, free: 8.141 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.0006399/0.7176, allocations: 0.581 MB / 375.9 MB, free: 7.523 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.7176, allocations: 12.03 kB / 375.9 MB, free: 7.512 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002366/0.7178, allocations: 92.5 kB / 376 MB, free: 7.422 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001621/0.718, allocations: 152.4 kB / 376.1 MB, free: 7.246 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.718, allocations: 12.31 kB / 376.1 MB, free: 7.234 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.755e-05/0.718, allocations: 16.36 kB / 376.2 MB, free: 7.219 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003067/0.7183, allocations: 244.5 kB / 376.4 MB, free: 6.949 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.7184, allocations: 0 / 376.4 MB, free: 6.949 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.7184, allocations: 8 kB / 376.4 MB, free: 6.941 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.7184, allocations: 11.98 kB / 376.4 MB, free: 6.93 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00014/0.7185, allocations: 89.36 kB / 376.5 MB, free: 6.836 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000533/0.7191, allocations: 0.6721 MB / 377.2 MB, free: 6.129 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002299/0.7193, allocations: 134.8 kB / 377.3 MB, free: 5.984 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.051e-05/0.7193, allocations: 55.66 kB / 377.4 MB, free: 5.926 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001262/0.7195, allocations: 107.8 kB / 377.5 MB, free: 5.82 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.7195, allocations: 37.39 kB / 377.5 MB, free: 5.773 MB / 298.7 MB Notification: Performance of pre-optimization done (n=43): time 1.563e-06/0.7195, allocations: 0 / 377.5 MB, free: 5.773 MB / 298.7 MB Notification: Performance of matching and sorting (n=47): time 0.001625/0.7211, allocations: 0.8345 MB / 378.3 MB, free: 4.902 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.319e-05/0.7211, allocations: 55.41 kB / 378.4 MB, free: 4.836 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.837e-05/0.7212, allocations: 189.9 kB / 378.6 MB, free: 4.633 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.7212, allocations: 29.7 kB / 378.6 MB, free: 4.598 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.702e-05/0.7213, allocations: 159.6 kB / 378.8 MB, free: 4.438 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.239e-05/0.7214, allocations: 162.6 kB / 378.9 MB, free: 4.277 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.791e-05/0.7214, allocations: 75.25 kB / 379 MB, free: 4.195 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.7216, allocations: 0.5118 MB / 379.5 MB, free: 3.672 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.802e-05/0.7216, allocations: 40.47 kB / 379.5 MB, free: 3.633 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.576e-05/0.7217, allocations: 128.7 kB / 379.7 MB, free: 3.473 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001529/0.7219, allocations: 201.6 kB / 379.9 MB, free: 3.25 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.7219, allocations: 3.984 kB / 379.9 MB, free: 3.246 MB / 298.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.000448/0.7223, allocations: 337.8 kB / 380.2 MB, free: 2.902 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.7223, allocations: 8 kB / 380.2 MB, free: 2.895 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.7224, allocations: 0 / 380.2 MB, free: 2.895 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003211/0.7227, allocations: 131.7 kB / 380.3 MB, free: 2.762 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.409e-05/0.7227, allocations: 31.92 kB / 380.4 MB, free: 2.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005136/0.7233, allocations: 0.8818 MB / 381.3 MB, free: 1.816 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.446e-05/0.7233, allocations: 11.98 kB / 381.3 MB, free: 1.805 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.339e-05/0.7233, allocations: 11.88 kB / 381.3 MB, free: 1.793 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.669e-05/0.7234, allocations: 168.5 kB / 381.4 MB, free: 1.617 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.463e-05/0.7235, allocations: 27.86 kB / 381.5 MB, free: 1.59 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.804e-05/0.7235, allocations: 26.22 kB / 381.5 MB, free: 1.566 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/0.7235, allocations: 11.98 kB / 381.5 MB, free: 1.555 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.7235, allocations: 4 kB / 381.5 MB, free: 1.551 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.227e-06/0.7235, allocations: 0 / 381.5 MB, free: 1.551 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001763/0.7237, allocations: 181.9 kB / 381.7 MB, free: 1.348 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.7237, allocations: 0 / 381.7 MB, free: 1.348 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.757e-05/0.7238, allocations: 35.98 kB / 381.7 MB, free: 1.312 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002152/0.724, allocations: 71.59 kB / 381.8 MB, free: 1.238 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.724, allocations: 4 kB / 381.8 MB, free: 1.234 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009913/0.725, allocations: 1.866 MB / 383.7 MB, free: 15.23 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.725, allocations: 0 / 383.7 MB, free: 15.23 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004414/0.7255, allocations: 0.5188 MB / 384.2 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.639e-05/0.7255, allocations: 15.86 kB / 384.2 MB, free: 14.67 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.7255, allocations: 8 kB / 384.2 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.874e-05/0.7256, allocations: 11.92 kB / 384.2 MB, free: 14.65 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.498e-05/0.7256, allocations: 23.89 kB / 384.2 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/0.7256, allocations: 12.03 kB / 384.2 MB, free: 14.61 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.53e-05/0.7257, allocations: 139.2 kB / 384.4 MB, free: 14.48 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.7257, allocations: 0 / 384.4 MB, free: 14.48 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002243/0.7259, allocations: 67.94 kB / 384.5 MB, free: 14.41 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.0004987/0.7264, allocations: 172.6 kB / 384.6 MB, free: 14.24 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000298/0.7267, allocations: 216.2 kB / 384.8 MB, free: 14.02 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.7267, allocations: 0 / 384.8 MB, free: 14.02 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002678/0.727, allocations: 291.8 kB / 385.1 MB, free: 13.71 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003834/0.7274, allocations: 107.8 kB / 385.2 MB, free: 13.61 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008729/0.7282, allocations: 0.5315 MB / 385.8 MB, free: 13.05 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.251e-05/0.7283, allocations: 89.31 kB / 385.8 MB, free: 12.94 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001483/0.7284, allocations: 97.34 kB / 385.9 MB, free: 12.85 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001616/0.7286, allocations: 146.1 kB / 386.1 MB, free: 12.7 MB / 314.7 MB Notification: Performance of SimCode: time 7.51e-07/0.7286, allocations: 0 / 386.1 MB, free: 12.7 MB / 314.7 MB Notification: Performance of Templates: time 0.008089/0.7367, allocations: 6.184 MB / 392.3 MB, free: 6.52 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.2592777367681265]