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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo", uses=false) Using package ExternalMedia with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic,tolerance=1e-07,outputFormat="empty",numberOfIntervals=1600,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic,tolerance=1e-07,outputFormat="empty",numberOfIntervals=1600,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 103.5 kB / 16.27 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 190.1 kB / 17.2 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.0118/0.0118, allocations: 2.77 MB / 293.8 MB, free: 12.07 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 55.91 kB / 355.1 MB, free: 14.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1859/0.1871, allocations: 50.24 MB / 405.3 MB, free: 33.08 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic): time 0.008055/0.1952, allocations: 8.991 MB / 414.3 MB, free: 24.07 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005155/0.2004, allocations: 8.579 MB / 422.9 MB, free: 15.46 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001476/0.2006, allocations: 0 / 422.9 MB, free: 15.46 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005754/0.2013, allocations: 163 kB / 423 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003493/0.2016, allocations: 95.28 kB / 423.1 MB, free: 15.21 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1092:15-1106:21:writable] Warning: Pure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.00373/0.2054, allocations: 1.47 MB / 424.6 MB, free: 13.73 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003311/0.2057, allocations: 266.7 kB / 424.9 MB, free: 13.47 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.767e-05/0.2058, allocations: 17.62 kB / 424.9 MB, free: 13.45 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/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.307/0.5128, allocations: 12.89 MB / 437.8 MB, free: 1.777 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001657/0.513, allocations: 83.62 kB / 437.8 MB, free: 1.695 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.549e-05/0.513, allocations: 12 kB / 437.9 MB, free: 1.684 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00166/0.5147, allocations: 475.9 kB / 438.3 MB, free: 1.219 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.27e-05/0.5148, allocations: 31.84 kB / 438.4 MB, free: 1.188 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.085e-05/0.5149, allocations: 87.59 kB / 438.4 MB, free: 1.102 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00106/0.5159, allocations: 0.5026 MB / 438.9 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.516, allocations: 0 / 438.9 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.516, allocations: 0 / 438.9 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.112e-06/0.516, allocations: 0 / 438.9 MB, free: 0.5977 MB / 302.1 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.0007258/0.5167, allocations: 0.5691 MB / 439.5 MB, free: 15.98 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.5168, allocations: 8.031 kB / 439.5 MB, free: 15.97 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003486/0.5171, allocations: 60.7 kB / 439.6 MB, free: 15.91 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002007/0.5173, allocations: 204.1 kB / 439.8 MB, free: 15.67 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.691e-05/0.5174, allocations: 8.375 kB / 439.8 MB, free: 15.66 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.487e-05/0.5174, allocations: 15.94 kB / 439.8 MB, free: 15.65 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005066/0.5179, allocations: 243.1 kB / 440 MB, free: 15.39 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.5179, allocations: 0 / 440 MB, free: 15.39 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.96e-05/0.5179, allocations: 4 kB / 440 MB, free: 15.39 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.623e-05/0.518, allocations: 11.98 kB / 440.1 MB, free: 15.38 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005032/0.5185, allocations: 196.3 kB / 440.2 MB, free: 15.19 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008204/0.5193, allocations: 0.6824 MB / 440.9 MB, free: 14.45 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005275/0.5199, allocations: 230.4 kB / 441.2 MB, free: 14.21 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002629/0.5201, allocations: 152.9 kB / 441.3 MB, free: 14.06 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002732/0.5204, allocations: 335.2 kB / 441.6 MB, free: 13.68 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.5204, allocations: 34.5 kB / 441.7 MB, free: 13.64 MB / 318.1 MB Notification: Performance of pre-optimization done (n=43): time 1.613e-06/0.5204, allocations: 0 / 441.7 MB, free: 13.64 MB / 318.1 MB Notification: Performance of matching and sorting (n=47): time 0.002798/0.5233, allocations: 1.21 MB / 442.9 MB, free: 12.37 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/0.5233, allocations: 63.34 kB / 442.9 MB, free: 12.3 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.5234, allocations: 129.9 kB / 443.1 MB, free: 12.16 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/0.5234, allocations: 29.7 kB / 443.1 MB, free: 12.12 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.722e-05/0.5235, allocations: 108.8 kB / 443.2 MB, free: 12.02 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001089/0.5236, allocations: 157.7 kB / 443.4 MB, free: 11.86 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.516e-05/0.5237, allocations: 57.7 kB / 443.4 MB, free: 11.8 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.5238, allocations: 330.8 kB / 443.7 MB, free: 11.46 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000258/0.5241, allocations: 128.5 kB / 443.9 MB, free: 11.34 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002773/0.5244, allocations: 190 kB / 444 MB, free: 11.13 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005311/0.5249, allocations: 344.8 kB / 444.4 MB, free: 10.77 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.5249, allocations: 0 / 444.4 MB, free: 10.77 MB / 318.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00112/0.5261, allocations: 485.4 kB / 444.9 MB, free: 10.29 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.5261, allocations: 8 kB / 444.9 MB, free: 10.29 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.5261, allocations: 4.188 kB / 444.9 MB, free: 10.28 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000743/0.5269, allocations: 152.7 kB / 445 MB, free: 10.13 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001443/0.527, allocations: 31.92 kB / 445 MB, free: 10.1 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006058/0.5276, allocations: 0.6498 MB / 445.7 MB, free: 9.422 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001454/0.5278, allocations: 12.05 kB / 445.7 MB, free: 9.41 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.224e-05/0.5278, allocations: 15.98 kB / 445.7 MB, free: 9.395 MB / 318.1 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 0.0001299/0.528, allocations: 125.8 kB / 445.8 MB, free: 9.262 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.145e-05/0.528, allocations: 19.75 kB / 445.9 MB, free: 9.242 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.336e-05/0.5281, allocations: 26.22 kB / 445.9 MB, free: 9.219 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-05/0.5281, allocations: 11.98 kB / 445.9 MB, free: 9.207 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.5281, allocations: 0 / 445.9 MB, free: 9.207 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.5281, allocations: 0 / 445.9 MB, free: 9.207 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003207/0.5285, allocations: 298.4 kB / 446.2 MB, free: 8.867 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.5285, allocations: 0 / 446.2 MB, free: 8.867 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001939/0.5287, allocations: 39.97 kB / 446.2 MB, free: 8.828 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000358/0.529, allocations: 68.67 kB / 446.3 MB, free: 8.758 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.842e-05/0.5291, allocations: 16.03 kB / 446.3 MB, free: 8.742 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001294/0.5304, allocations: 1.556 MB / 447.9 MB, free: 7.027 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.5304, allocations: 0 / 447.9 MB, free: 7.027 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001109/0.5315, allocations: 0.705 MB / 448.6 MB, free: 6.305 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.212e-05/0.5316, allocations: 92.86 kB / 448.7 MB, free: 6.195 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.572e-05/0.5316, allocations: 4 kB / 448.7 MB, free: 6.191 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001706/0.5318, allocations: 20.05 kB / 448.7 MB, free: 6.172 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.44e-05/0.5319, allocations: 23.91 kB / 448.7 MB, free: 6.148 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.5319, allocations: 4 kB / 448.7 MB, free: 6.145 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.272e-05/0.5319, allocations: 95.27 kB / 448.8 MB, free: 6.051 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5319, allocations: 0 / 448.8 MB, free: 6.051 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003758/0.5323, allocations: 68 kB / 448.9 MB, free: 5.984 MB / 318.1 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.0003172/0.5327, allocations: 174.7 kB / 449.1 MB, free: 5.809 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008576/0.5335, allocations: 375.2 kB / 449.4 MB, free: 5.438 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.5335, allocations: 384 / 449.4 MB, free: 5.438 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006038/0.5341, allocations: 315 kB / 449.7 MB, free: 5.117 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006702/0.5348, allocations: 91.11 kB / 449.8 MB, free: 5.031 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/0.536, allocations: 0.6965 MB / 450.5 MB, free: 4.301 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002898/0.5363, allocations: 0.7332 MB / 451.2 MB, free: 3.539 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.002e-05/0.5363, allocations: 23.44 kB / 451.3 MB, free: 3.516 MB / 318.1 MB Notification: Performance of SimCode: time 1.573e-06/0.5363, allocations: 0 / 451.3 MB, free: 3.516 MB / 318.1 MB Notification: Performance of Templates: time 0.0057/0.542, allocations: 3.555 MB / 454.8 MB, free: 15.96 MB / 334.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.makefile (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=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.pipe 2>&1)