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.0009913/0.0009913, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001073/0.001073, allocations: 189.6 kB / 16.25 MB, free: 6.629 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.321/1.321, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1325/0.1325, allocations: 2.764 MB / 292.8 MB, free: 3.816 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001074/0.001074, allocations: 63.91 kB / 353.9 MB, free: 4.906 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08294/0.08403, allocations: 50.23 MB / 404.1 MB, free: 2.625 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Misc.RhoSmoothing): time 0.178/0.262, allocations: 18.79 MB / 422.9 MB, free: 35.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002488/0.2646, allocations: 3.494 MB / 426.4 MB, free: 35.51 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.815e-05/0.2647, allocations: 3.562 kB / 426.4 MB, free: 35.51 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005999/0.2653, allocations: 283.5 kB / 426.7 MB, free: 35.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001078/0.2654, allocations: 78.5 kB / 426.8 MB, free: 35.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001179/0.2666, allocations: 0.5543 MB / 427.3 MB, free: 35.49 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001432/0.2668, allocations: 178.1 kB / 427.5 MB, free: 35.49 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.685e-05/0.2668, allocations: 21.31 kB / 427.5 MB, free: 35.49 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.786e-05/0.2669, allocations: 47.7 kB / 427.6 MB, free: 35.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.866e-05/0.267, allocations: 67.58 kB / 427.6 MB, free: 35.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.13e-05/0.267, allocations: 3.219 kB / 427.6 MB, free: 35.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.5325/0.7995, allocations: 41.77 MB / 469.4 MB, free: 16.81 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.831e-05/0.7996, allocations: 14.22 kB / 469.4 MB, free: 16.8 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002791/0.7998, allocations: 87.09 kB / 469.5 MB, free: 16.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001746/0.8016, allocations: 358.6 kB / 469.9 MB, free: 16.72 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.8016, allocations: 4 kB / 469.9 MB, free: 16.72 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.396e-06/0.8016, allocations: 0 / 469.9 MB, free: 16.72 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.287e-06/0.8016, allocations: 5.188 kB / 469.9 MB, free: 16.71 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.0005857/0.8022, allocations: 488.7 kB / 470.4 MB, free: 16.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.8023, allocations: 8.781 kB / 470.4 MB, free: 16.3 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001472/0.8024, allocations: 29.88 kB / 470.4 MB, free: 16.29 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.213e-05/0.8025, allocations: 183.2 kB / 470.6 MB, free: 16.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.8026, allocations: 7.312 kB / 470.6 MB, free: 16.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.315e-05/0.8026, allocations: 3.844 kB / 470.6 MB, free: 16.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002931/0.8029, allocations: 240.5 kB / 470.8 MB, free: 16.05 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.8029, allocations: 0 / 470.8 MB, free: 16.05 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.8029, allocations: 5.344 kB / 470.8 MB, free: 16.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.389e-05/0.8029, allocations: 12.91 kB / 470.8 MB, free: 16.04 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000283/0.8032, allocations: 273.3 kB / 471.1 MB, free: 16.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006726/0.8039, allocations: 0.6101 MB / 471.7 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002728/0.8042, allocations: 254.4 kB / 472 MB, free: 15.72 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001917/0.8044, allocations: 234.8 kB / 472.2 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.619e-05/0.8045, allocations: 33.05 kB / 472.2 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.8045, allocations: 36.34 kB / 472.3 MB, free: 15.67 MB / 350.1 MB Notification: Performance of pre-optimization done (n=63): time 1.292e-06/0.8045, allocations: 0 / 472.3 MB, free: 15.67 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.0009792/0.8055, allocations: 0.6735 MB / 472.9 MB, free: 15.44 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.636e-05/0.8055, allocations: 57.5 kB / 473 MB, free: 15.37 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.032e-05/0.8056, allocations: 104.6 kB / 473.1 MB, free: 15.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.8056, allocations: 26.8 kB / 473.1 MB, free: 15.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.761e-05/0.8057, allocations: 94.42 kB / 473.2 MB, free: 15.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.448e-05/0.8058, allocations: 201.5 kB / 473.4 MB, free: 14.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.034e-05/0.8058, allocations: 47.05 kB / 473.5 MB, free: 14.96 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.551e-05/0.8059, allocations: 331.1 kB / 473.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001413/0.806, allocations: 170.7 kB / 473.9 MB, free: 14.56 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001711/0.8062, allocations: 223.3 kB / 474.2 MB, free: 14.44 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003518/0.8066, allocations: 420.3 kB / 474.6 MB, free: 14.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.8066, allocations: 4 kB / 474.6 MB, free: 14.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0004366/0.807, allocations: 455.6 kB / 475 MB, free: 14.01 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.8071, allocations: 5.719 kB / 475 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.8071, allocations: 5.156 kB / 475 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.8071, allocations: 1.156 kB / 475 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.009e-05/0.8072, allocations: 19.92 kB / 475 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.513e-06/0.8072, allocations: 1.031 kB / 475.1 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.3e-05/0.8073, allocations: 25.38 kB / 475.1 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.8073, allocations: 5 kB / 475.1 MB, free: 13.98 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 7.625e-05/0.8074, allocations: 123 kB / 475.2 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.481e-05/0.8074, allocations: 17.56 kB / 475.2 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005167/0.8079, allocations: 0.5279 MB / 475.7 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003967/0.8083, allocations: 453.5 kB / 476.2 MB, free: 13.37 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.8084, allocations: 0 / 476.2 MB, free: 13.37 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.8084, allocations: 1.156 kB / 476.2 MB, free: 13.37 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/0.8094, allocations: 1.095 MB / 477.3 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/0.8094, allocations: 3.625 kB / 477.3 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.667e-05/0.8095, allocations: 39.58 kB / 477.3 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.244e-06/0.8095, allocations: 9.188 kB / 477.3 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.8095, allocations: 9.188 kB / 477.3 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.8095, allocations: 4.438 kB / 477.3 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.8095, allocations: 10.67 kB / 477.4 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004737/0.81, allocations: 0.646 MB / 478 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.396e-05/0.8101, allocations: 106.8 kB / 478.1 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.578e-05/0.8101, allocations: 18.23 kB / 478.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.8102, allocations: 3.469 kB / 478.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.016e-05/0.8102, allocations: 32.67 kB / 478.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.8103, allocations: 11.31 kB / 478.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.032e-05/0.8103, allocations: 103 kB / 478.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.8103, allocations: 0 / 478.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004784/0.8108, allocations: 106 kB / 478.4 MB, free: 11.95 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.0006165/0.8114, allocations: 373.7 kB / 478.7 MB, free: 11.75 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005188/0.812, allocations: 0.4993 MB / 479.2 MB, free: 11.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.812, allocations: 5.188 kB / 479.2 MB, free: 11.49 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002118/0.8122, allocations: 266.6 kB / 479.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008764/0.8131, allocations: 150.1 kB / 479.7 MB, free: 11.33 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001622/0.8147, allocations: 1.281 MB / 480.9 MB, free: 10.56 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002234/0.8149, allocations: 0.7646 MB / 481.7 MB, free: 9.859 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001354/0.8151, allocations: 23.73 kB / 481.7 MB, free: 9.848 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.441e-05/0.8151, allocations: 26.33 kB / 481.7 MB, free: 9.836 MB / 350.1 MB Notification: Performance of SimCode: time 8.31e-07/0.8151, allocations: 1.094 kB / 481.7 MB, free: 9.836 MB / 350.1 MB Notification: Performance of Templates: time 0.01337/0.8285, allocations: 8.574 MB / 490.3 MB, free: 8.734 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)