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.00137/0.00137, allocations: 106.9 kB / 16.37 MB, free: 6.477 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.001475/0.001475, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.373/1.373, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01412/0.01412, allocations: 2.768 MB / 293.9 MB, free: 12.01 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 63.89 kB / 355.8 MB, free: 14.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2251/0.2264, allocations: 50.23 MB / 406.1 MB, free: 32.81 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Misc.RhoSmoothing): time 0.01335/0.2398, allocations: 18.89 MB / 425 MB, free: 13.88 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001875/0.2417, allocations: 3.53 MB / 428.5 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.848e-05/0.2418, allocations: 0 / 428.5 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006886/0.2426, allocations: 294.3 kB / 428.8 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001053/0.2427, allocations: 87.25 kB / 428.9 MB, free: 9.961 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001221/0.244, allocations: 0.6012 MB / 429.5 MB, free: 9.355 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001537/0.2441, allocations: 182.6 kB / 429.7 MB, free: 9.176 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.916e-05/0.2442, allocations: 12.31 kB / 429.7 MB, free: 9.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.462e-05/0.2442, allocations: 55.75 kB / 429.7 MB, free: 9.105 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.951e-05/0.2443, allocations: 63.66 kB / 429.8 MB, free: 9.043 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.113e-05/0.2444, allocations: 0 / 429.8 MB, free: 9.043 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2482/0.4926, allocations: 42.13 MB / 471.9 MB, free: 15.94 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.46e-05/0.4926, allocations: 15.81 kB / 471.9 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000162/0.4928, allocations: 83.56 kB / 472 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002153/0.495, allocations: 374.9 kB / 472.4 MB, free: 15.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.495, allocations: 0 / 472.4 MB, free: 15.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.495, allocations: 4 kB / 472.4 MB, free: 15.47 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.069e-05/0.495, allocations: 0 / 472.4 MB, free: 15.47 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.0006228/0.4956, allocations: 482.9 kB / 472.8 MB, free: 14.95 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.4957, allocations: 11.97 kB / 472.9 MB, free: 14.94 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001415/0.4958, allocations: 36.64 kB / 472.9 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.4959, allocations: 180.1 kB / 473.1 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.496, allocations: 8.375 kB / 473.1 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.391e-05/0.496, allocations: 3.938 kB / 473.1 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002941/0.4963, allocations: 253 kB / 473.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.4963, allocations: 0 / 473.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.4963, allocations: 0 / 473.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.812e-05/0.4963, allocations: 15.97 kB / 473.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000261/0.4966, allocations: 268.4 kB / 473.6 MB, free: 14.15 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007208/0.4973, allocations: 0.6196 MB / 474.2 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002438/0.4976, allocations: 255.1 kB / 474.5 MB, free: 13.22 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001889/0.4978, allocations: 225.9 kB / 474.7 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.1e-05/0.4979, allocations: 32.05 kB / 474.7 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.4979, allocations: 30.56 kB / 474.8 MB, free: 12.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=63): time 1.443e-06/0.4979, allocations: 0 / 474.8 MB, free: 12.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.002406/0.5003, allocations: 0.6855 MB / 475.4 MB, free: 12.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.987e-05/0.5004, allocations: 55.41 kB / 475.5 MB, free: 12.17 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.519e-05/0.5005, allocations: 97.86 kB / 475.6 MB, free: 12.06 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.5005, allocations: 29.7 kB / 475.6 MB, free: 12.03 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.443e-05/0.5005, allocations: 93.25 kB / 475.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001118/0.5006, allocations: 200.9 kB / 475.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.039e-05/0.5007, allocations: 53.62 kB / 476 MB, free: 11.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.5008, allocations: 334.8 kB / 476.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000149/0.501, allocations: 164.5 kB / 476.5 MB, free: 11.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001789/0.5012, allocations: 214.7 kB / 476.7 MB, free: 10.96 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003656/0.5015, allocations: 420.2 kB / 477.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.5015, allocations: 0 / 477.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0004464/0.502, allocations: 455.3 kB / 477.5 MB, free: 10.08 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.502, allocations: 12.09 kB / 477.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.502, allocations: 0 / 477.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.5021, allocations: 3.938 kB / 477.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.659e-05/0.5021, allocations: 15.98 kB / 477.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.5022, allocations: 0 / 477.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.421e-05/0.5022, allocations: 31.59 kB / 477.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.5023, allocations: 4 kB / 477.6 MB, free: 10.02 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_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.0001056/0.5024, allocations: 121.8 kB / 477.7 MB, free: 9.887 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.538e-05/0.5024, allocations: 19.72 kB / 477.7 MB, free: 9.867 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005201/0.503, allocations: 453.2 kB / 478.2 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.424e-05/0.503, allocations: 7.969 kB / 478.2 MB, free: 9.41 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.503, allocations: 0 / 478.2 MB, free: 9.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.503, allocations: 0 / 478.2 MB, free: 9.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003199/0.5033, allocations: 341.6 kB / 478.5 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.5033, allocations: 0 / 478.5 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.041e-05/0.5034, allocations: 7.984 kB / 478.5 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.5034, allocations: 0 / 478.5 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.5034, allocations: 11.88 kB / 478.5 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.5034, allocations: 0 / 478.5 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.5034, allocations: 8 kB / 478.5 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004565/0.5039, allocations: 0.5375 MB / 479.1 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.741e-05/0.5039, allocations: 104.6 kB / 479.2 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.774e-05/0.504, allocations: 7.938 kB / 479.2 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.892e-05/0.5041, allocations: 0 / 479.2 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.084e-05/0.5041, allocations: 7.984 kB / 479.2 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.082e-06/0.5041, allocations: 0 / 479.2 MB, free: 8.309 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.476e-05/0.5041, allocations: 87.47 kB / 479.3 MB, free: 8.223 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5041, allocations: 0 / 479.3 MB, free: 8.223 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004047/0.5045, allocations: 95.98 kB / 479.4 MB, free: 8.129 MB / 350.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.0006498/0.5052, allocations: 354 kB / 479.7 MB, free: 7.773 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005137/0.5057, allocations: 498 kB / 480.2 MB, free: 7.281 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.5057, allocations: 3.938 kB / 480.2 MB, free: 7.277 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002557/0.506, allocations: 300.9 kB / 480.5 MB, free: 6.977 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007829/0.5068, allocations: 120.3 kB / 480.6 MB, free: 6.859 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007805/0.5076, allocations: 0.5742 MB / 481.2 MB, free: 6.258 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003209/0.5079, allocations: 0.7689 MB / 482 MB, free: 5.461 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001047/0.508, allocations: 28.56 kB / 482 MB, free: 5.43 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.004e-05/0.5081, allocations: 19.44 kB / 482 MB, free: 5.41 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.5081, allocations: 0 / 482 MB, free: 5.41 MB / 350.1 MB Notification: Performance of Templates: time 0.01322/0.5213, allocations: 8.434 MB / 490.4 MB, free: 13.04 MB / 366.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 -s gbode -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.Misc.RhoSmoothing.pipe 2>&1)