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.006593/0.006593, allocations: 98.52 kB / 15.73 MB, free: 5.527 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.001115/0.001115, allocations: 187.3 kB / 16.67 MB, free: 5.465 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.412/1.412, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1465/0.1465, allocations: 2.76 MB / 293.3 MB, free: 3.59 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 63.91 kB / 405.9 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.3051, allocations: 50.23 MB / 456.1 MB, free: 21.14 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Misc.RhoSmoothing): time 0.01529/0.3205, allocations: 18.9 MB / 475 MB, free: 7.312 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002528/0.3231, allocations: 3.519 MB / 478.5 MB, free: 4.688 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.037e-05/0.3232, allocations: 1.375 kB / 478.5 MB, free: 4.688 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000802/0.324, allocations: 302.5 kB / 478.8 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001679/0.3242, allocations: 86.22 kB / 478.9 MB, free: 4.461 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001645/0.3259, allocations: 0.5971 MB / 479.5 MB, free: 4.102 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002057/0.3261, allocations: 177.5 kB / 479.7 MB, free: 4.012 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.578e-05/0.3262, allocations: 22.69 kB / 479.7 MB, free: 4 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.96e-05/0.3263, allocations: 50.25 kB / 479.8 MB, free: 3.984 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001291/0.3264, allocations: 65.36 kB / 479.8 MB, free: 3.957 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.3264, allocations: 2.75 kB / 479.8 MB, free: 3.957 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2523/0.5788, allocations: 42.13 MB / 0.5097 GB, free: 4.215 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.653e-05/0.5789, allocations: 19.86 kB / 0.5097 GB, free: 4.195 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003087/0.5792, allocations: 79.55 kB / 0.5098 GB, free: 4.117 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001696/0.5809, allocations: 370.8 kB / 0.5102 GB, free: 3.754 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.5809, allocations: 3.984 kB / 0.5102 GB, free: 3.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.5809, allocations: 0 / 0.5102 GB, free: 3.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.356e-06/0.5809, allocations: 4 kB / 0.5102 GB, free: 3.746 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.000673/0.5816, allocations: 498.2 kB / 0.5107 GB, free: 3.211 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.5817, allocations: 8.031 kB / 0.5107 GB, free: 3.203 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001571/0.5818, allocations: 32.78 kB / 0.5107 GB, free: 3.172 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.5819, allocations: 184.1 kB / 0.5109 GB, free: 2.953 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.582, allocations: 4.375 kB / 0.5109 GB, free: 2.949 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.582, allocations: 11.92 kB / 0.5109 GB, free: 2.938 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003253/0.5823, allocations: 233 kB / 0.5111 GB, free: 2.703 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.5823, allocations: 0 / 0.5111 GB, free: 2.703 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.5824, allocations: 4 kB / 0.5111 GB, free: 2.699 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.79e-05/0.5824, allocations: 19.91 kB / 0.5111 GB, free: 2.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002654/0.5827, allocations: 268.5 kB / 0.5114 GB, free: 2.418 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007805/0.5834, allocations: 0.6042 MB / 0.512 GB, free: 1.766 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002573/0.5837, allocations: 255.1 kB / 0.5122 GB, free: 1.508 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001983/0.5839, allocations: 233.9 kB / 0.5124 GB, free: 1.277 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.198e-05/0.584, allocations: 28.06 kB / 0.5125 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.584, allocations: 38.55 kB / 0.5125 GB, free: 1.203 MB / 382.1 MB Notification: Performance of pre-optimization done (n=63): time 1.393e-06/0.584, allocations: 0 / 0.5125 GB, free: 1.203 MB / 382.1 MB Notification: Performance of matching and sorting (n=63): time 0.0039/0.5879, allocations: 0.6779 MB / 0.5132 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.448e-05/0.588, allocations: 55.41 kB / 0.5132 GB, free: 468 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.427e-05/0.5881, allocations: 109.7 kB / 0.5133 GB, free: 348 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.5881, allocations: 25.7 kB / 0.5134 GB, free: 316 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.5882, allocations: 85.41 kB / 0.5134 GB, free: 228 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001366/0.5884, allocations: 214.1 kB / 0.5136 GB, free: 12 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.827e-05/0.5885, allocations: 53.69 kB / 0.5137 GB, free: 15.95 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.5886, allocations: 330.8 kB / 0.514 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001531/0.5888, allocations: 168.5 kB / 0.5142 GB, free: 15.46 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001948/0.589, allocations: 206.7 kB / 0.5144 GB, free: 15.24 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003903/0.5893, allocations: 424.2 kB / 0.5148 GB, free: 14.81 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.5894, allocations: 4 kB / 0.5148 GB, free: 14.81 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0004637/0.5898, allocations: 459.4 kB / 0.5152 GB, free: 14.36 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.5899, allocations: 11.94 kB / 0.5152 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.5899, allocations: 0 / 0.5152 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.5899, allocations: 3.938 kB / 0.5152 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.822e-05/0.59, allocations: 19.98 kB / 0.5152 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.59, allocations: 4.094 kB / 0.5152 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.613e-05/0.5901, allocations: 31.67 kB / 0.5153 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.5901, allocations: 4 kB / 0.5153 GB, free: 14.28 MB / 398.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 0.0001028/0.5902, allocations: 121.8 kB / 0.5154 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.794e-05/0.5903, allocations: 19.86 kB / 0.5154 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004975/0.5908, allocations: 445.2 kB / 0.5158 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.326e-05/0.5908, allocations: 11.98 kB / 0.5159 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.5908, allocations: 0 / 0.5159 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.5908, allocations: 4 kB / 0.5159 GB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003197/0.5911, allocations: 337.9 kB / 0.5162 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.5911, allocations: 0 / 0.5162 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.121e-05/0.5912, allocations: 4 kB / 0.5162 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.5912, allocations: 0 / 0.5162 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.5912, allocations: 7.938 kB / 0.5162 GB, free: 13.28 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.5912, allocations: 0 / 0.5162 GB, free: 13.28 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.5912, allocations: 0 / 0.5162 GB, free: 13.28 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004913/0.5917, allocations: 0.5453 MB / 0.5167 GB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.352e-05/0.5918, allocations: 100.8 kB / 0.5168 GB, free: 12.6 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.5918, allocations: 7.938 kB / 0.5168 GB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.492e-05/0.5919, allocations: 7.922 kB / 0.5168 GB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.438e-05/0.5919, allocations: 8 kB / 0.5168 GB, free: 12.58 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.5919, allocations: 0 / 0.5168 GB, free: 12.58 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.463e-05/0.592, allocations: 83.45 kB / 0.5169 GB, free: 12.5 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.592, allocations: 0 / 0.5169 GB, free: 12.5 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004259/0.5924, allocations: 103.7 kB / 0.517 GB, free: 12.39 MB / 398.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.000662/0.5931, allocations: 362 kB / 0.5174 GB, free: 12.03 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005511/0.5936, allocations: 498 kB / 0.5178 GB, free: 11.54 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.5937, allocations: 0 / 0.5178 GB, free: 11.54 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002593/0.5939, allocations: 300.9 kB / 0.5181 GB, free: 11.23 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007409/0.5947, allocations: 132.2 kB / 0.5183 GB, free: 11.11 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007921/0.5955, allocations: 0.5892 MB / 0.5188 GB, free: 10.49 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003511/0.5958, allocations: 0.7572 MB / 0.5196 GB, free: 9.703 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.849e-05/0.5959, allocations: 24.62 kB / 0.5196 GB, free: 9.676 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.198e-05/0.596, allocations: 23.38 kB / 0.5196 GB, free: 9.652 MB / 398.1 MB Notification: Performance of SimCode: time 5.11e-07/0.596, allocations: 4 kB / 0.5196 GB, free: 9.648 MB / 398.1 MB Notification: Performance of Templates: time 0.01287/0.6088, allocations: 8.52 MB / 0.5279 GB, free: 1.191 MB / 398.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)