Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.Misc.RhoSmoothing.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.Misc.RhoSmoothing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.Misc.RhoSmoothing") translateModel(ExternalMedia.Test.CoolProp.Misc.RhoSmoothing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.Misc.RhoSmoothing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 110.7 kB / 16.41 MB, free: 6.488 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.001255/0.001255, allocations: 187 kB / 17.34 MB, free: 5.762 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.457/1.457, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01257/0.01257, allocations: 2.771 MB / 294 MB, free: 11.98 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 68.11 kB / 406.6 MB, free: 29.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1125, allocations: 50.23 MB / 456.8 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Misc.RhoSmoothing): time 0.01921/0.1318, allocations: 18.9 MB / 475.7 MB, free: 7.832 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002958/0.1348, allocations: 3.522 MB / 479.2 MB, free: 4.297 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.414e-05/0.1349, allocations: 0 / 479.2 MB, free: 4.297 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000731/0.1356, allocations: 298.3 kB / 479.5 MB, free: 4.004 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000158/0.1358, allocations: 87.25 kB / 479.6 MB, free: 3.918 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001454/0.1373, allocations: 0.5934 MB / 480.2 MB, free: 3.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002163/0.1375, allocations: 182.6 kB / 480.4 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.05e-05/0.1376, allocations: 20.25 kB / 480.4 MB, free: 3.121 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.441e-05/0.1376, allocations: 59.73 kB / 480.4 MB, free: 3.062 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001222/0.1378, allocations: 63.61 kB / 480.5 MB, free: 3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/0.1378, allocations: 3.938 kB / 480.5 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.4969/0.6347, allocations: 42.12 MB / 0.5104 GB, free: 38.14 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.573e-05/0.6347, allocations: 15.02 kB / 0.5104 GB, free: 38.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002459/0.635, allocations: 87.47 kB / 0.5105 GB, free: 38.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002202/0.6372, allocations: 367.1 kB / 0.5108 GB, free: 38.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.6372, allocations: 1.094 kB / 0.5108 GB, free: 38.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.6372, allocations: 0 / 0.5108 GB, free: 38.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.6373, allocations: 0 / 0.5108 GB, free: 38.14 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0006942/0.638, allocations: 488.7 kB / 0.5113 GB, free: 37.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.638, allocations: 9.125 kB / 0.5113 GB, free: 37.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001598/0.6382, allocations: 35.42 kB / 0.5113 GB, free: 37.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001/0.6383, allocations: 180.7 kB / 0.5115 GB, free: 37.53 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.6383, allocations: 7.344 kB / 0.5115 GB, free: 37.53 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.936e-05/0.6383, allocations: 7.688 kB / 0.5115 GB, free: 37.53 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003586/0.6387, allocations: 236.7 kB / 0.5118 GB, free: 37.49 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.6387, allocations: 1.156 kB / 0.5118 GB, free: 37.49 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.6387, allocations: 2.125 kB / 0.5118 GB, free: 37.49 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.443e-05/0.6388, allocations: 12.45 kB / 0.5118 GB, free: 37.49 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003735/0.6391, allocations: 273.8 kB / 0.512 GB, free: 37.49 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008158/0.64, allocations: 0.6062 MB / 0.5126 GB, free: 37.2 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002737/0.6403, allocations: 256.3 kB / 0.5129 GB, free: 37.17 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002338/0.6405, allocations: 238 kB / 0.5131 GB, free: 37.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.799e-05/0.6406, allocations: 26.72 kB / 0.5131 GB, free: 37.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.591e-05/0.6406, allocations: 31.5 kB / 0.5132 GB, free: 37.12 MB / 382.1 MB Notification: Performance of pre-optimization done (n=63): time 1.552e-06/0.6406, allocations: 1.125 kB / 0.5132 GB, free: 37.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=63): time 0.003447/0.6441, allocations: 0.6764 MB / 0.5138 GB, free: 37.02 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.662e-05/0.6441, allocations: 61.55 kB / 0.5139 GB, free: 36.95 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.932e-05/0.6442, allocations: 103.8 kB / 0.514 GB, free: 36.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.229e-05/0.6442, allocations: 26.33 kB / 0.514 GB, free: 36.81 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.83e-05/0.6443, allocations: 88.97 kB / 0.5141 GB, free: 36.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001177/0.6444, allocations: 204 kB / 0.5143 GB, free: 36.59 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.273e-05/0.6445, allocations: 49.05 kB / 0.5143 GB, free: 36.57 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.384e-05/0.6445, allocations: 329.9 kB / 0.5146 GB, free: 36.26 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002209/0.6448, allocations: 169 kB / 0.5148 GB, free: 36.26 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002873/0.6451, allocations: 218.6 kB / 0.515 GB, free: 36.22 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005688/0.6456, allocations: 417.6 kB / 0.5154 GB, free: 36.18 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.6456, allocations: 0.6875 kB / 0.5154 GB, free: 36.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0005446/0.6462, allocations: 458.6 kB / 0.5158 GB, free: 36.12 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.6462, allocations: 5.781 kB / 0.5158 GB, free: 36.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.6462, allocations: 2.25 kB / 0.5159 GB, free: 36.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/0.6463, allocations: 1.156 kB / 0.5159 GB, free: 36.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.31e-05/0.6464, allocations: 19.22 kB / 0.5159 GB, free: 36.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.6464, allocations: 2.234 kB / 0.5159 GB, free: 36.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.683e-05/0.6465, allocations: 37.02 kB / 0.5159 GB, free: 36.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/0.6465, allocations: 4.156 kB / 0.5159 GB, free: 36.09 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (state_tbl.phase,state_spl.phase,state_std.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.166e-05/0.6466, allocations: 124.9 kB / 0.516 GB, free: 35.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.181e-05/0.6466, allocations: 22.95 kB / 0.5161 GB, free: 35.96 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006123/0.6473, allocations: 446.7 kB / 0.5165 GB, free: 35.91 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.96e-05/0.6473, allocations: 15.95 kB / 0.5165 GB, free: 35.91 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.6473, allocations: 0 / 0.5165 GB, free: 35.91 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.6473, allocations: 0.7969 kB / 0.5165 GB, free: 35.91 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000324/0.6476, allocations: 330.6 kB / 0.5168 GB, free: 35.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.6476, allocations: 2.391 kB / 0.5168 GB, free: 35.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.561e-05/0.6477, allocations: 5.484 kB / 0.5168 GB, free: 35.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.6477, allocations: 1.719 kB / 0.5168 GB, free: 35.7 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.6477, allocations: 1.875 kB / 0.5168 GB, free: 35.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.6477, allocations: 9 kB / 0.5168 GB, free: 35.7 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.6477, allocations: 0 / 0.5168 GB, free: 35.7 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006035/0.6483, allocations: 0.5391 MB / 0.5174 GB, free: 35.54 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.519e-05/0.6484, allocations: 105.3 kB / 0.5175 GB, free: 35.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.6484, allocations: 1.641 kB / 0.5175 GB, free: 35.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/0.6486, allocations: 7.594 kB / 0.5175 GB, free: 35.42 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.548e-05/0.6486, allocations: 6.109 kB / 0.5175 GB, free: 35.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.6486, allocations: 6.719 kB / 0.5175 GB, free: 35.42 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.813e-05/0.6487, allocations: 78.66 kB / 0.5176 GB, free: 35.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6487, allocations: 0.5312 kB / 0.5176 GB, free: 35.34 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000536/0.6492, allocations: 105.7 kB / 0.5177 GB, free: 35.33 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (state_std.phase,state_spl.phase,state_tbl.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007324/0.6499, allocations: 364.1 kB / 0.518 GB, free: 35.15 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005798/0.6505, allocations: 491.3 kB / 0.5185 GB, free: 35.11 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.6505, allocations: 0 / 0.5185 GB, free: 35.11 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002661/0.6508, allocations: 308.9 kB / 0.5188 GB, free: 35.06 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001748/0.6526, allocations: 122.8 kB / 0.5189 GB, free: 35.04 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008744/0.6535, allocations: 0.6117 MB / 0.5195 GB, free: 34.78 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002346/0.6537, allocations: 0.7651 MB / 0.5202 GB, free: 34.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.133e-05/0.6537, allocations: 23.42 kB / 0.5202 GB, free: 34.07 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.6538, allocations: 0 / 0.5202 GB, free: 34.07 MB / 382.1 MB Notification: Performance of Templates: time 0.007132/0.6609, allocations: 4.38 MB / 0.5245 GB, free: 33.48 MB / 382.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.Misc.RhoSmoothing.makefile (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.Misc.RhoSmoothing.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.Misc.RhoSmoothing.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.Misc.RhoSmoothing.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.Misc.RhoSmoothing.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.Misc.RhoSmoothing -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.Misc.RhoSmoothing.pipe 2>&1)