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.001073/0.001073, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.00121/0.00121, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 223.3 MB / 240 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1576/0.1576, allocations: 2.79 MB / 293.9 MB, free: 4.402 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000378/0.0003787, allocations: 15.98 kB / 355.6 MB, free: 4.344 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1266, allocations: 51.25 MB / 406.9 MB, free: 1.039 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Misc.RhoSmoothing): time 0.2845/0.4112, allocations: 17.3 MB / 424.2 MB, free: 34.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003872/0.4151, allocations: 3.224 MB / 427.4 MB, free: 34.72 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002007/0.4154, allocations: 0 / 427.4 MB, free: 34.72 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008832/0.4162, allocations: 274.5 kB / 427.7 MB, free: 34.72 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002333/0.4165, allocations: 80.41 kB / 427.7 MB, free: 34.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001956/0.4185, allocations: 0.5224 MB / 428.3 MB, free: 34.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001937/0.4187, allocations: 178.2 kB / 428.4 MB, free: 34.69 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.632e-05/0.4187, allocations: 13.41 kB / 428.4 MB, free: 34.69 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.795e-05/0.4188, allocations: 53.88 kB / 428.5 MB, free: 34.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.4189, allocations: 63.27 kB / 428.6 MB, free: 34.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.4189, allocations: 2.969 kB / 428.6 MB, free: 34.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.05219/0.4711, allocations: 35.66 MB / 464.2 MB, free: 32.26 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.28e-05/0.4712, allocations: 21.66 kB / 464.3 MB, free: 32.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001395/0.4714, allocations: 58 kB / 464.3 MB, free: 32.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004477/0.4718, allocations: 243.4 kB / 464.5 MB, free: 32.19 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.4718, allocations: 0 / 464.5 MB, free: 32.19 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4718, allocations: 0 / 464.5 MB, free: 32.19 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.4719, allocations: 0 / 464.5 MB, free: 32.19 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0004916/0.4724, allocations: 471.1 kB / 465 MB, free: 31.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.4724, allocations: 9.688 kB / 465 MB, free: 31.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001369/0.4725, allocations: 35.69 kB / 465 MB, free: 31.76 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.195e-05/0.4726, allocations: 179.4 kB / 465.2 MB, free: 31.55 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.4727, allocations: 8.516 kB / 465.2 MB, free: 31.55 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.499e-05/0.4727, allocations: 4.344 kB / 465.2 MB, free: 31.55 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000298/0.473, allocations: 238.7 kB / 465.5 MB, free: 31.51 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.473, allocations: 3.938 kB / 465.5 MB, free: 31.51 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.473, allocations: 4.688 kB / 465.5 MB, free: 31.51 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.498e-05/0.473, allocations: 10.14 kB / 465.5 MB, free: 31.51 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002401/0.4733, allocations: 272.5 kB / 465.8 MB, free: 31.51 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000649/0.4739, allocations: 0.6108 MB / 466.4 MB, free: 31.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000212/0.4742, allocations: 258.8 kB / 466.6 MB, free: 31.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001635/0.4743, allocations: 237 kB / 466.9 MB, free: 31.17 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.638e-05/0.4744, allocations: 27.25 kB / 466.9 MB, free: 31.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.86e-05/0.4744, allocations: 30.56 kB / 466.9 MB, free: 31.12 MB / 350.1 MB Notification: Performance of pre-optimization done (n=63): time 1.954e-06/0.4744, allocations: 4 kB / 466.9 MB, free: 31.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.0006303/0.4751, allocations: 0.6728 MB / 467.6 MB, free: 30.72 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/0.4751, allocations: 55.41 kB / 467.6 MB, free: 30.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.334e-05/0.4752, allocations: 107.3 kB / 467.7 MB, free: 30.55 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.4752, allocations: 29.08 kB / 467.8 MB, free: 30.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.059e-05/0.4752, allocations: 89.27 kB / 467.9 MB, free: 30.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.201e-05/0.4753, allocations: 196.2 kB / 468 MB, free: 30.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.172e-06/0.4753, allocations: 5.812 kB / 468.1 MB, free: 30.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.942e-05/0.4754, allocations: 332 kB / 468.4 MB, free: 29.95 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/0.4756, allocations: 174.8 kB / 468.6 MB, free: 29.87 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001435/0.4757, allocations: 215.4 kB / 468.8 MB, free: 29.76 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001516/0.4759, allocations: 188.7 kB / 468.9 MB, free: 29.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.4759, allocations: 0 / 468.9 MB, free: 29.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0003568/0.4762, allocations: 451.7 kB / 469.4 MB, free: 29.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.4763, allocations: 5.875 kB / 469.4 MB, free: 29.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.4763, allocations: 0 / 469.4 MB, free: 29.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.4763, allocations: 4 kB / 469.4 MB, free: 29.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.77e-05/0.4764, allocations: 11.94 kB / 469.4 MB, free: 29.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.4764, allocations: 7.469 kB / 469.4 MB, free: 29.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.175e-05/0.4764, allocations: 24.34 kB / 469.4 MB, free: 29.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.4765, allocations: 15.77 kB / 469.5 MB, free: 29.35 MB / 350.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_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 initialization (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.867e-05/0.4765, allocations: 120.3 kB / 469.6 MB, free: 29.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3e-05/0.4766, allocations: 19.75 kB / 469.6 MB, free: 29.21 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005534/0.4771, allocations: 0.5273 MB / 470.1 MB, free: 28.89 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003597/0.4775, allocations: 446 kB / 470.6 MB, free: 28.66 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.4775, allocations: 0 / 470.6 MB, free: 28.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.4775, allocations: 3.047 kB / 470.6 MB, free: 28.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000859/0.4784, allocations: 1.086 MB / 471.6 MB, free: 27.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.4784, allocations: 8.969 kB / 471.7 MB, free: 27.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.505e-05/0.4785, allocations: 31.47 kB / 471.7 MB, free: 27.81 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.254e-06/0.4785, allocations: 8 kB / 471.7 MB, free: 27.8 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.4785, allocations: 4 kB / 471.7 MB, free: 27.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/0.4786, allocations: 9.625 kB / 471.7 MB, free: 27.79 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.4786, allocations: 4 kB / 471.7 MB, free: 27.79 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004679/0.479, allocations: 0.6616 MB / 472.4 MB, free: 27.29 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.83e-05/0.4791, allocations: 128.8 kB / 472.5 MB, free: 27.15 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.4791, allocations: 7.188 kB / 472.5 MB, free: 27.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.4792, allocations: 7.75 kB / 472.5 MB, free: 27.14 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.454e-05/0.4793, allocations: 26.41 kB / 472.5 MB, free: 27.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.4793, allocations: 15.12 kB / 472.5 MB, free: 27.11 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.445e-05/0.4794, allocations: 98.81 kB / 472.6 MB, free: 27.03 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4794, allocations: 0 / 472.6 MB, free: 27.03 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004341/0.4798, allocations: 101.6 kB / 472.7 MB, free: 26.94 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006053/0.4804, allocations: 370.7 kB / 473.1 MB, free: 26.68 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005044/0.4809, allocations: 0.4905 MB / 473.6 MB, free: 26.25 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.4809, allocations: 4 kB / 473.6 MB, free: 26.24 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000207/0.4812, allocations: 260.1 kB / 473.9 MB, free: 26.01 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008705/0.482, allocations: 153.4 kB / 474 MB, free: 25.9 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001327/0.4834, allocations: 1.305 MB / 475.3 MB, free: 24.75 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002191/0.4836, allocations: 0.7623 MB / 476.1 MB, free: 23.99 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001064/0.4837, allocations: 19.89 kB / 476.1 MB, free: 23.97 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.08e-05/0.4838, allocations: 23.38 kB / 476.1 MB, free: 23.95 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4838, allocations: 0 / 476.1 MB, free: 23.95 MB / 350.1 MB Notification: Performance of Templates: time 0.01338/0.4971, allocations: 7.55 MB / 483.7 MB, free: 19.57 MB / 350.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.Misc.RhoSmoothing.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: