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.001052/0.001056, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00133/0.00133, allocations: 191.2 kB / 16.14 MB, free: 6.703 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.278/1.278, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1233/0.1233, allocations: 2.763 MB / 292.7 MB, free: 3.703 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 55.92 kB / 353.7 MB, free: 5.066 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09856/0.09979, allocations: 50.23 MB / 404 MB, free: 2.789 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Misc.RhoSmoothing): time 0.1992/0.299, allocations: 18.84 MB / 422.8 MB, free: 35.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003518/0.3026, allocations: 3.505 MB / 426.3 MB, free: 35.44 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.3027, allocations: 0 / 426.3 MB, free: 35.44 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006585/0.3034, allocations: 286.5 kB / 426.6 MB, free: 35.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001289/0.3036, allocations: 81.05 kB / 426.7 MB, free: 35.44 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001617/0.3052, allocations: 0.5475 MB / 427.2 MB, free: 35.42 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002007/0.3054, allocations: 185.1 kB / 427.4 MB, free: 35.42 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.474e-05/0.3055, allocations: 13.31 kB / 427.4 MB, free: 35.42 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.951e-05/0.3055, allocations: 59.69 kB / 427.5 MB, free: 35.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001247/0.3057, allocations: 69.45 kB / 427.5 MB, free: 35.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.3057, allocations: 3.219 kB / 427.5 MB, free: 35.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.5408/0.8465, allocations: 38.41 MB / 465.9 MB, free: 20.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.429e-05/0.8466, allocations: 17.58 kB / 466 MB, free: 20.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000172/0.8467, allocations: 80.16 kB / 466 MB, free: 20.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001039/0.8478, allocations: 365.1 kB / 466.4 MB, free: 20.03 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.8478, allocations: 1.125 kB / 466.4 MB, free: 20.03 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.12e-07/0.8478, allocations: 4 kB / 466.4 MB, free: 20.03 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.8478, allocations: 0 / 466.4 MB, free: 20.03 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.0004854/0.8483, allocations: 486.8 kB / 466.9 MB, free: 19.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.8483, allocations: 9.969 kB / 466.9 MB, free: 19.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001196/0.8485, allocations: 29.88 kB / 466.9 MB, free: 19.6 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.901e-05/0.8486, allocations: 188.3 kB / 467.1 MB, free: 19.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.297e-06/0.8486, allocations: 6.312 kB / 467.1 MB, free: 19.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.458e-05/0.8486, allocations: 4.219 kB / 467.1 MB, free: 19.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002636/0.8489, allocations: 247.7 kB / 467.3 MB, free: 19.35 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.8489, allocations: 0 / 467.3 MB, free: 19.35 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.8489, allocations: 1.062 kB / 467.3 MB, free: 19.35 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.286e-05/0.8489, allocations: 10.58 kB / 467.4 MB, free: 19.35 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002421/0.8492, allocations: 275.5 kB / 467.6 MB, free: 19.35 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008609/0.85, allocations: 0.6041 MB / 468.2 MB, free: 19.06 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002315/0.8503, allocations: 250 kB / 468.5 MB, free: 19.04 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001899/0.8505, allocations: 239.4 kB / 468.7 MB, free: 19.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.596e-05/0.8505, allocations: 24 kB / 468.7 MB, free: 19.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.8506, allocations: 31.81 kB / 468.8 MB, free: 18.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=63): time 2.034e-06/0.8506, allocations: 0 / 468.8 MB, free: 18.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.0007082/0.8513, allocations: 0.6827 MB / 469.4 MB, free: 18.79 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.193e-05/0.8513, allocations: 56.75 kB / 469.5 MB, free: 18.72 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.246e-05/0.8514, allocations: 97.22 kB / 469.6 MB, free: 18.62 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.8514, allocations: 35.23 kB / 469.6 MB, free: 18.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.422e-05/0.8515, allocations: 94.2 kB / 469.7 MB, free: 18.49 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.465e-05/0.8516, allocations: 196.2 kB / 469.9 MB, free: 18.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.309e-05/0.8516, allocations: 58.78 kB / 470 MB, free: 18.31 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.985e-05/0.8517, allocations: 330.2 kB / 470.3 MB, free: 17.99 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001624/0.8519, allocations: 166.1 kB / 470.5 MB, free: 17.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001904/0.8521, allocations: 221.3 kB / 470.7 MB, free: 17.79 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003835/0.8525, allocations: 422.9 kB / 471.1 MB, free: 17.58 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.8525, allocations: 3.938 kB / 471.1 MB, free: 17.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0004688/0.8529, allocations: 451.1 kB / 471.5 MB, free: 17.37 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.853, allocations: 5.688 kB / 471.5 MB, free: 17.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.749e-06/0.853, allocations: 1.25 kB / 471.5 MB, free: 17.37 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.853, allocations: 5.312 kB / 471.5 MB, free: 17.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.901e-05/0.8531, allocations: 20.06 kB / 471.6 MB, free: 17.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.8531, allocations: 1.25 kB / 471.6 MB, free: 17.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.732e-05/0.8532, allocations: 34.34 kB / 471.6 MB, free: 17.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.8532, allocations: 3.688 kB / 471.6 MB, free: 17.33 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 8.406e-05/0.8533, allocations: 120.8 kB / 471.7 MB, free: 17.21 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.784e-05/0.8533, allocations: 17.5 kB / 471.7 MB, free: 17.2 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005552/0.8539, allocations: 0.5227 MB / 472.3 MB, free: 16.93 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003843/0.8543, allocations: 454.3 kB / 472.7 MB, free: 16.72 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.8543, allocations: 2.906 kB / 472.7 MB, free: 16.72 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.8543, allocations: 5.109 kB / 472.7 MB, free: 16.72 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009237/0.8552, allocations: 1.091 MB / 473.8 MB, free: 16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.179e-06/0.8553, allocations: 4.188 kB / 473.8 MB, free: 16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.683e-05/0.8554, allocations: 32.52 kB / 473.8 MB, free: 16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.065e-06/0.8554, allocations: 16.91 kB / 473.9 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.8554, allocations: 9.5 kB / 473.9 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.852e-06/0.8554, allocations: 10.12 kB / 473.9 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.8554, allocations: 3.875 kB / 473.9 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004642/0.8559, allocations: 0.6475 MB / 474.5 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.161e-05/0.8559, allocations: 123.3 kB / 474.6 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.636e-05/0.856, allocations: 7.281 kB / 474.6 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.8561, allocations: 6.688 kB / 474.7 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.036e-05/0.8561, allocations: 27.77 kB / 474.7 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.8561, allocations: 13.16 kB / 474.7 MB, free: 15.4 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.131e-05/0.8562, allocations: 101.9 kB / 474.8 MB, free: 15.32 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.8562, allocations: 0 / 474.8 MB, free: 15.32 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005127/0.8567, allocations: 106.1 kB / 474.9 MB, free: 15.29 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 (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.0006237/0.8574, allocations: 368.1 kB / 475.3 MB, free: 15.1 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004965/0.8579, allocations: 0.4926 MB / 475.8 MB, free: 14.86 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.8579, allocations: 4.188 kB / 475.8 MB, free: 14.85 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002079/0.8581, allocations: 261 kB / 476 MB, free: 14.74 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008977/0.859, allocations: 159.1 kB / 476.2 MB, free: 14.7 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001311/0.8603, allocations: 1.276 MB / 477.4 MB, free: 13.92 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002054/0.8605, allocations: 0.7644 MB / 478.2 MB, free: 13.22 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001408/0.8607, allocations: 27.84 kB / 478.2 MB, free: 13.21 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.352e-05/0.8607, allocations: 18.69 kB / 478.3 MB, free: 13.2 MB / 350.1 MB Notification: Performance of SimCode: time 1.693e-06/0.8607, allocations: 0 / 478.3 MB, free: 13.2 MB / 350.1 MB Notification: Performance of Templates: time 0.01265/0.8734, allocations: 8.293 MB / 486.5 MB, free: 12.3 MB / 350.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)