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.006483/0.006483, allocations: 102.2 kB / 15.73 MB, free: 6.012 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.001092/0.001092, allocations: 197.6 kB / 16.68 MB, free: 5.93 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.324/1.324, allocations: 222.9 MB / 240.4 MB, free: 4.148 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1466/0.1466, allocations: 2.768 MB / 293.3 MB, free: 3.707 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 67.89 kB / 405.9 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.3328, allocations: 50.23 MB / 456.1 MB, free: 21.11 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Misc.RhoSmoothing): time 0.01725/0.3501, allocations: 18.89 MB / 475 MB, free: 7.301 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00267/0.3529, allocations: 3.523 MB / 478.5 MB, free: 4.672 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001079/0.353, allocations: 1.375 kB / 478.5 MB, free: 4.672 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000755/0.3538, allocations: 310.7 kB / 478.8 MB, free: 4.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001425/0.354, allocations: 82.2 kB / 478.9 MB, free: 4.441 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001579/0.3555, allocations: 0.5932 MB / 479.5 MB, free: 4.086 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002059/0.3558, allocations: 188.6 kB / 479.7 MB, free: 3.984 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.245e-05/0.3558, allocations: 15.3 kB / 479.7 MB, free: 3.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.785e-05/0.3559, allocations: 51.34 kB / 479.8 MB, free: 3.965 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000118/0.356, allocations: 64.44 kB / 479.8 MB, free: 3.938 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.385e-05/0.3561, allocations: 2.344 kB / 479.8 MB, free: 3.938 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2538/0.6099, allocations: 42.13 MB / 0.5097 GB, free: 4.176 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.381e-05/0.6099, allocations: 19.86 kB / 0.5098 GB, free: 4.156 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002088/0.6101, allocations: 79.56 kB / 0.5098 GB, free: 4.078 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001532/0.6117, allocations: 367 kB / 0.5102 GB, free: 3.719 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.6117, allocations: 0 / 0.5102 GB, free: 3.719 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.186e-06/0.6117, allocations: 0 / 0.5102 GB, free: 3.719 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.874e-06/0.6117, allocations: 3.938 kB / 0.5102 GB, free: 3.715 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.0006262/0.6123, allocations: 482.9 kB / 0.5106 GB, free: 3.195 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.6124, allocations: 12.03 kB / 0.5107 GB, free: 3.184 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001518/0.6126, allocations: 36.58 kB / 0.5107 GB, free: 3.148 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.6127, allocations: 176.2 kB / 0.5109 GB, free: 2.938 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.6127, allocations: 12.38 kB / 0.5109 GB, free: 2.926 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.71e-05/0.6127, allocations: 7.938 kB / 0.5109 GB, free: 2.918 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003282/0.6131, allocations: 240.9 kB / 0.5111 GB, free: 2.676 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.6131, allocations: 0 / 0.5111 GB, free: 2.676 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.6131, allocations: 7.938 kB / 0.5111 GB, free: 2.668 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.406e-05/0.6131, allocations: 11.97 kB / 0.5111 GB, free: 2.656 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000277/0.6134, allocations: 272.5 kB / 0.5114 GB, free: 2.391 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008076/0.6142, allocations: 0.6119 MB / 0.512 GB, free: 1.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002699/0.6145, allocations: 251 kB / 0.5122 GB, free: 1.477 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002061/0.6147, allocations: 237.9 kB / 0.5124 GB, free: 1.242 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.534e-05/0.6148, allocations: 28.05 kB / 0.5125 GB, free: 1.215 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.6148, allocations: 30.56 kB / 0.5125 GB, free: 1.176 MB / 382.1 MB Notification: Performance of pre-optimization done (n=63): time 2.004e-06/0.6148, allocations: 4 kB / 0.5125 GB, free: 1.172 MB / 382.1 MB Notification: Performance of matching and sorting (n=63): time 0.003529/0.6184, allocations: 0.6817 MB / 0.5132 GB, free: 500 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.267e-05/0.6184, allocations: 51.41 kB / 0.5132 GB, free: 436 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.126e-05/0.6185, allocations: 97.86 kB / 0.5133 GB, free: 328 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.6185, allocations: 25.7 kB / 0.5133 GB, free: 296 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.163e-05/0.6186, allocations: 97.34 kB / 0.5134 GB, free: 196 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001317/0.6187, allocations: 201 kB / 0.5136 GB, free: 15.99 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.182e-05/0.6188, allocations: 49.69 kB / 0.5137 GB, free: 15.93 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.6189, allocations: 338.8 kB / 0.514 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001547/0.6191, allocations: 164.5 kB / 0.5142 GB, free: 15.43 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001909/0.6193, allocations: 218.7 kB / 0.5144 GB, free: 15.2 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007267/0.62, allocations: 416.2 kB / 0.5148 GB, free: 14.79 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.219e-06/0.62, allocations: 8 kB / 0.5148 GB, free: 14.78 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0004323/0.6204, allocations: 455.3 kB / 0.5152 GB, free: 14.33 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.6205, allocations: 4 kB / 0.5152 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.6205, allocations: 0 / 0.5152 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/0.6205, allocations: 8.125 kB / 0.5152 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.464e-05/0.6206, allocations: 11.98 kB / 0.5152 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.886e-06/0.6206, allocations: 3.938 kB / 0.5152 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.007e-05/0.6207, allocations: 27.59 kB / 0.5153 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.6207, allocations: 7.984 kB / 0.5153 GB, free: 14.27 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.0001025/0.6208, allocations: 125.9 kB / 0.5154 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.591e-05/0.6209, allocations: 15.72 kB / 0.5154 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005321/0.6214, allocations: 445.2 kB / 0.5158 GB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-05/0.6214, allocations: 11.97 kB / 0.5158 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.6214, allocations: 4 kB / 0.5158 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.6215, allocations: 3.938 kB / 0.5158 GB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003607/0.6218, allocations: 329.8 kB / 0.5162 GB, free: 13.28 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.6218, allocations: 0 / 0.5162 GB, free: 13.28 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.886e-05/0.6219, allocations: 11.98 kB / 0.5162 GB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.6219, allocations: 4 kB / 0.5162 GB, free: 13.26 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.6219, allocations: 3.938 kB / 0.5162 GB, free: 13.26 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.6219, allocations: 0 / 0.5162 GB, free: 13.26 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.6219, allocations: 0 / 0.5162 GB, free: 13.26 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005075/0.6224, allocations: 0.5374 MB / 0.5167 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.469e-05/0.6225, allocations: 108.6 kB / 0.5168 GB, free: 12.58 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/0.6225, allocations: 11.88 kB / 0.5168 GB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.708e-05/0.6226, allocations: 8 kB / 0.5168 GB, free: 12.56 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.39e-05/0.6226, allocations: 7.984 kB / 0.5168 GB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.326e-06/0.6227, allocations: 4 kB / 0.5168 GB, free: 12.55 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.677e-05/0.6227, allocations: 75.28 kB / 0.5169 GB, free: 12.48 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6227, allocations: 3.938 kB / 0.5169 GB, free: 12.47 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004326/0.6231, allocations: 99.98 kB / 0.517 GB, free: 12.38 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.0006899/0.6238, allocations: 354.3 kB / 0.5173 GB, free: 12.02 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005437/0.6244, allocations: 486.2 kB / 0.5178 GB, free: 11.54 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.6244, allocations: 4 kB / 0.5178 GB, free: 11.54 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002581/0.6247, 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.0007461/0.6254, allocations: 143.9 kB / 0.5182 GB, free: 11.09 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008087/0.6263, allocations: 0.574 MB / 0.5188 GB, free: 10.49 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003725/0.6266, allocations: 0.7689 MB / 0.5195 GB, free: 9.691 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000137/0.6268, allocations: 28.52 kB / 0.5196 GB, free: 9.66 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.423e-05/0.6268, allocations: 19.44 kB / 0.5196 GB, free: 9.641 MB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.6268, allocations: 0 / 0.5196 GB, free: 9.641 MB / 398.1 MB Notification: Performance of Templates: time 0.01436/0.6412, allocations: 8.513 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)