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.001009/0.001009, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.336/1.336, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1245/0.1245, allocations: 2.77 MB / 293.1 MB, free: 3.605 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 59.91 kB / 354.4 MB, free: 4.395 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08861/0.08978, allocations: 50.24 MB / 404.6 MB, free: 2.113 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Misc.RhoSmoothing): time 0.1953/0.2852, allocations: 18.87 MB / 423.5 MB, free: 35.72 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002555/0.2877, allocations: 3.535 MB / 427 MB, free: 35.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.2879, allocations: 0 / 427 MB, free: 35.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007335/0.2886, allocations: 301.5 kB / 427.3 MB, free: 35.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001426/0.2888, allocations: 86.72 kB / 427.4 MB, free: 35.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001349/0.2902, allocations: 0.5914 MB / 428 MB, free: 35.69 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001487/0.2903, allocations: 185.4 kB / 428.2 MB, free: 35.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.517e-05/0.2904, allocations: 13.78 kB / 428.2 MB, free: 35.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.202e-05/0.2905, allocations: 53.75 kB / 428.3 MB, free: 35.67 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.2906, allocations: 75.66 kB / 428.3 MB, free: 35.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.432e-05/0.2906, allocations: 3.219 kB / 428.3 MB, free: 35.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2441/0.5347, allocations: 41.76 MB / 470.1 MB, free: 17.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.068e-05/0.5348, allocations: 18.91 kB / 470.1 MB, free: 17.01 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002392/0.535, allocations: 86.66 kB / 470.2 MB, free: 16.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001879/0.5369, allocations: 361.9 kB / 470.5 MB, free: 16.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.5369, allocations: 3.375 kB / 470.6 MB, free: 16.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.5369, allocations: 0 / 470.6 MB, free: 16.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.132e-05/0.5369, allocations: 0 / 470.6 MB, free: 16.93 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.0007093/0.5377, allocations: 487.1 kB / 471 MB, free: 16.51 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.5377, allocations: 9.969 kB / 471 MB, free: 16.51 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002903/0.538, allocations: 37.53 kB / 471.1 MB, free: 16.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001657/0.5382, allocations: 178.8 kB / 471.2 MB, free: 16.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.551e-05/0.5382, allocations: 3.844 kB / 471.3 MB, free: 16.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.981e-05/0.5383, allocations: 6.875 kB / 471.3 MB, free: 16.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000406/0.5387, allocations: 242.6 kB / 471.5 MB, free: 16.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.5387, allocations: 0 / 471.5 MB, free: 16.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.5387, allocations: 1.469 kB / 471.5 MB, free: 16.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.238e-05/0.5387, allocations: 15.97 kB / 471.5 MB, free: 16.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003312/0.5391, allocations: 271.5 kB / 471.8 MB, free: 16.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008793/0.54, allocations: 0.6134 MB / 472.4 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002504/0.5402, allocations: 258 kB / 472.6 MB, free: 15.92 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001896/0.5404, allocations: 234.7 kB / 472.9 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.392e-05/0.5405, allocations: 24.72 kB / 472.9 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.5406, allocations: 35.88 kB / 472.9 MB, free: 15.83 MB / 350.1 MB Notification: Performance of pre-optimization done (n=63): time 1.673e-06/0.5406, allocations: 4 kB / 472.9 MB, free: 15.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.004115/0.5447, allocations: 0.6838 MB / 473.6 MB, free: 15.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/0.5447, allocations: 56.47 kB / 473.7 MB, free: 15.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.644e-05/0.5448, allocations: 101.8 kB / 473.8 MB, free: 15.33 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.5448, allocations: 25.7 kB / 473.8 MB, free: 15.3 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.31e-05/0.5449, allocations: 91.45 kB / 473.9 MB, free: 15.2 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.399e-05/0.545, allocations: 198.4 kB / 474.1 MB, free: 15.05 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.032e-05/0.545, allocations: 51.92 kB / 474.1 MB, free: 15.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.811e-05/0.5451, allocations: 334.2 kB / 474.5 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001635/0.5453, allocations: 168.6 kB / 474.6 MB, free: 14.62 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001979/0.5455, allocations: 211.5 kB / 474.8 MB, free: 14.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004265/0.5459, allocations: 423 kB / 475.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.5459, allocations: 5.156 kB / 475.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0005726/0.5465, allocations: 450.6 kB / 475.7 MB, free: 14.08 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.5465, allocations: 5.406 kB / 475.7 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.5466, allocations: 5.094 kB / 475.7 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.5466, allocations: 4.703 kB / 475.7 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.525e-05/0.5467, allocations: 21.28 kB / 475.7 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.5467, allocations: 2.125 kB / 475.7 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/0.5468, allocations: 29.41 kB / 475.8 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.5468, allocations: 3.812 kB / 475.8 MB, free: 14.04 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 9.022e-05/0.5469, allocations: 124.7 kB / 475.9 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.374e-05/0.547, allocations: 20.47 kB / 475.9 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004868/0.5475, allocations: 445.1 kB / 476.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.146e-05/0.5475, allocations: 9.531 kB / 476.3 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.5475, allocations: 1.062 kB / 476.3 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.5475, allocations: 3.984 kB / 476.4 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003129/0.5478, allocations: 343.3 kB / 476.7 MB, free: 13.4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.5478, allocations: 1.25 kB / 476.7 MB, free: 13.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.719e-05/0.5479, allocations: 12.22 kB / 476.7 MB, free: 13.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.5479, allocations: 0 / 476.7 MB, free: 13.4 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/0.5479, allocations: 2.656 kB / 476.7 MB, free: 13.4 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.5479, allocations: 3.938 kB / 476.7 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.5479, allocations: 0 / 476.7 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000457/0.5484, allocations: 0.5376 MB / 477.2 MB, free: 13.08 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.756e-05/0.5484, allocations: 103.2 kB / 477.3 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.5485, allocations: 1.312 kB / 477.3 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.249e-05/0.5485, allocations: 9.531 kB / 477.4 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.901e-05/0.5486, allocations: 10.22 kB / 477.4 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.5486, allocations: 2.438 kB / 477.4 MB, free: 12.95 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.228e-05/0.5486, allocations: 81.28 kB / 477.4 MB, free: 12.88 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5486, allocations: 0 / 477.4 MB, free: 12.88 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004859/0.5491, allocations: 106.1 kB / 477.5 MB, free: 12.85 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.0006963/0.5498, allocations: 345.4 kB / 477.9 MB, free: 12.66 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005154/0.5503, allocations: 497 kB / 478.4 MB, free: 12.42 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.5503, allocations: 5.094 kB / 478.4 MB, free: 12.41 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002386/0.5506, allocations: 292.9 kB / 478.7 MB, free: 12.25 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008211/0.5514, allocations: 135 kB / 478.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001249/0.5527, allocations: 0.5758 MB / 479.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002244/0.5529, allocations: 0.7637 MB / 480.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001576/0.5531, allocations: 27.36 kB / 480.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.517e-05/0.5531, allocations: 22.31 kB / 480.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.5531, allocations: 0 / 480.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of Templates: time 0.01471/0.5678, allocations: 8.441 MB / 488.6 MB, free: 10.32 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)