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.001082/0.001083, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001137/0.001137, allocations: 191.5 kB / 16.25 MB, free: 6.633 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.315/1.315, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1333/0.1333, allocations: 2.761 MB / 292.8 MB, free: 3.754 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009559/0.0009559, allocations: 59.91 kB / 353.9 MB, free: 4.941 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09585/0.09682, allocations: 50.23 MB / 404.1 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic): time 0.01307/0.1099, allocations: 9.008 MB / 413.2 MB, free: 9.613 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008756/0.1187, allocations: 8.51 MB / 421.7 MB, free: 1.074 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002037/0.119, allocations: 0 / 421.7 MB, free: 1.074 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006744/0.1197, allocations: 147.2 kB / 421.8 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004242/0.1201, allocations: 99.41 kB / 421.9 MB, free: 0.832 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.179/0.2992, allocations: 1.335 MB / 423.2 MB, free: 37.08 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004206/0.2996, allocations: 273.5 kB / 423.5 MB, free: 37.08 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.391e-05/0.2997, allocations: 12.75 kB / 423.5 MB, free: 37.08 MB / 350.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.4199/0.7196, allocations: 12.89 MB / 436.4 MB, free: 32.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002847/0.7199, allocations: 83.47 kB / 436.5 MB, free: 32.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.713e-05/0.7199, allocations: 9.375 kB / 436.5 MB, free: 32.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002022/0.7219, allocations: 477.3 kB / 437 MB, free: 32.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.202e-05/0.722, allocations: 34.48 kB / 437 MB, free: 32.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001255/0.7222, allocations: 94.5 kB / 437.1 MB, free: 32.4 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001346/0.7235, allocations: 0.5045 MB / 437.6 MB, free: 32.35 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.7235, allocations: 3.938 kB / 437.6 MB, free: 32.35 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.7236, allocations: 0 / 437.6 MB, free: 32.35 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.253e-06/0.7236, allocations: 0 / 437.6 MB, free: 32.35 MB / 350.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.0007618/0.7243, allocations: 0.5562 MB / 438.2 MB, free: 31.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.479e-05/0.7244, allocations: 9.531 kB / 438.2 MB, free: 31.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003211/0.7247, allocations: 52.17 kB / 438.2 MB, free: 31.9 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.7249, allocations: 209.3 kB / 438.4 MB, free: 31.7 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.455e-05/0.7249, allocations: 7.594 kB / 438.4 MB, free: 31.7 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.95e-05/0.7249, allocations: 12.69 kB / 438.4 MB, free: 31.7 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004611/0.7254, allocations: 244.1 kB / 438.7 MB, free: 31.63 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.7254, allocations: 3.188 kB / 438.7 MB, free: 31.63 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.805e-05/0.7254, allocations: 3.75 kB / 438.7 MB, free: 31.63 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.7254, allocations: 10.47 kB / 438.7 MB, free: 31.63 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004258/0.7259, allocations: 197 kB / 438.9 MB, free: 31.63 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007063/0.7266, allocations: 0.6876 MB / 439.6 MB, free: 31.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005082/0.7271, allocations: 229 kB / 439.8 MB, free: 31.14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000203/0.7273, allocations: 154.7 kB / 440 MB, free: 31.13 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002009/0.7275, allocations: 332.1 kB / 440.3 MB, free: 30.85 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.515e-05/0.7276, allocations: 37.06 kB / 440.3 MB, free: 30.81 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.553e-06/0.7276, allocations: 0 / 440.3 MB, free: 30.81 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.002516/0.7301, allocations: 1.217 MB / 441.5 MB, free: 30.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.325e-05/0.7301, allocations: 54.59 kB / 441.6 MB, free: 30.42 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.031e-05/0.7302, allocations: 124.1 kB / 441.7 MB, free: 30.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.7302, allocations: 31.61 kB / 441.7 MB, free: 30.29 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.198e-05/0.7303, allocations: 107.4 kB / 441.8 MB, free: 30.2 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.697e-05/0.7304, allocations: 153.9 kB / 442 MB, free: 30.1 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.132e-05/0.7304, allocations: 56.92 kB / 442 MB, free: 30.08 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.594e-05/0.7305, allocations: 338.5 kB / 442.4 MB, free: 29.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002094/0.7307, allocations: 123.1 kB / 442.5 MB, free: 29.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002434/0.731, allocations: 187 kB / 442.7 MB, free: 29.71 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004415/0.7314, allocations: 356.9 kB / 443 MB, free: 29.62 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.7314, allocations: 4 kB / 443 MB, free: 29.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009906/0.7324, allocations: 485.5 kB / 443.5 MB, free: 29.55 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.7324, allocations: 6.094 kB / 443.5 MB, free: 29.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.7325, allocations: 2.812 kB / 443.5 MB, free: 29.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007161/0.7332, allocations: 151.8 kB / 443.7 MB, free: 29.53 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/0.7333, allocations: 32.33 kB / 443.7 MB, free: 29.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004537/0.7338, allocations: 0.6514 MB / 444.3 MB, free: 29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001493/0.7339, allocations: 13.53 kB / 444.4 MB, free: 29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.93e-05/0.734, allocations: 12.81 kB / 444.4 MB, free: 29 MB / 350.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 9.858e-05/0.7341, allocations: 133.8 kB / 444.5 MB, free: 28.89 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.388e-05/0.7341, allocations: 13.78 kB / 444.5 MB, free: 28.88 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008843/0.735, allocations: 0.7154 MB / 445.2 MB, free: 28.8 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/0.735, allocations: 12.22 kB / 445.2 MB, free: 28.8 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.735, allocations: 0 / 445.2 MB, free: 28.8 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.7351, allocations: 6.938 kB / 445.2 MB, free: 28.8 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003052/0.7354, allocations: 385 kB / 445.6 MB, free: 28.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.7354, allocations: 0 / 445.6 MB, free: 28.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001722/0.7356, allocations: 38.83 kB / 445.7 MB, free: 28.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002192/0.7358, allocations: 82.41 kB / 445.7 MB, free: 28.59 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.7358, allocations: 1.688 kB / 445.7 MB, free: 28.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000712/0.7365, allocations: 1.409 MB / 447.2 MB, free: 27.25 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.7365, allocations: 3.031 kB / 447.2 MB, free: 27.25 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009378/0.7375, allocations: 0.8346 MB / 448 MB, free: 27.06 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.132e-05/0.7375, allocations: 95.11 kB / 448.1 MB, free: 26.95 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.321e-05/0.7376, allocations: 3.938 kB / 448.1 MB, free: 26.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001648/0.7377, allocations: 17.16 kB / 448.1 MB, free: 26.95 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.011e-05/0.7378, allocations: 16.61 kB / 448.1 MB, free: 26.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.7378, allocations: 13.03 kB / 448.1 MB, free: 26.95 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.995e-05/0.7379, allocations: 96.73 kB / 448.2 MB, free: 26.87 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.032e-06/0.7379, allocations: 0 / 448.2 MB, free: 26.87 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003438/0.7382, allocations: 70.69 kB / 448.3 MB, free: 26.86 MB / 350.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.0002719/0.7385, allocations: 179.2 kB / 448.5 MB, free: 26.73 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007477/0.7392, allocations: 376.5 kB / 448.8 MB, free: 26.65 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.7393, allocations: 0 / 448.8 MB, free: 26.65 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005124/0.7398, allocations: 300.7 kB / 449.1 MB, free: 26.47 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006036/0.7404, allocations: 102.1 kB / 449.2 MB, free: 26.44 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009186/0.7413, allocations: 0.7219 MB / 450 MB, free: 25.99 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001303/0.7415, allocations: 0.7382 MB / 450.7 MB, free: 25.29 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001502/0.7416, allocations: 46.69 kB / 450.7 MB, free: 25.28 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.779e-05/0.7417, allocations: 24.41 kB / 450.8 MB, free: 25.27 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.7417, allocations: 0 / 450.8 MB, free: 25.27 MB / 350.1 MB Notification: Performance of Templates: time 0.008048/0.7497, allocations: 5.053 MB / 455.8 MB, free: 24.85 MB / 350.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)