Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT") translateModel(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00158/0.00158, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001522/0.001522, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.354/1.354, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8368/0.8368, allocations: 135.2 MB / 426.2 MB, free: 4.137 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 63.89 kB / 0.506 GB, free: 8.344 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3433, allocations: 80.92 MB / 0.5851 GB, free: 25.3 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01213/0.3555, allocations: 12.96 MB / 0.5977 GB, free: 13.58 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002026/0.3575, allocations: 2.673 MB / 0.6003 GB, free: 10.91 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.317e-05/0.3576, allocations: 4 kB / 0.6003 GB, free: 10.91 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002391/0.3579, allocations: 47.66 kB / 0.6004 GB, free: 10.86 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000222/0.3582, allocations: 92.91 kB / 0.6005 GB, free: 10.77 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009802/0.3592, allocations: 0.4988 MB / 0.6009 GB, free: 10.29 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001651/0.3594, allocations: 232 kB / 0.6012 GB, free: 10.06 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.455e-05/0.3594, allocations: 13.55 kB / 0.6012 GB, free: 10.04 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007049/0.3665, allocations: 3.581 MB / 0.6047 GB, free: 6.441 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001446/0.3666, allocations: 91.67 kB / 0.6048 GB, free: 6.352 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.523e-05/0.3667, allocations: 11.98 kB / 0.6048 GB, free: 6.34 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002139/0.3688, allocations: 1.065 MB / 0.6058 GB, free: 5.277 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.111e-05/0.3689, allocations: 39.89 kB / 0.6059 GB, free: 5.238 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.475e-05/0.369, allocations: 83.58 kB / 0.6059 GB, free: 5.156 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005721/0.3695, allocations: 359.1 kB / 0.6063 GB, free: 4.805 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3696, allocations: 0 / 0.6063 GB, free: 4.805 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3696, allocations: 0 / 0.6063 GB, free: 4.805 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.3696, allocations: 0 / 0.6063 GB, free: 4.805 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006165/0.3702, allocations: 0.5032 MB / 0.6068 GB, free: 4.254 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.3702, allocations: 9.109 kB / 0.6068 GB, free: 4.246 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001605/0.3704, allocations: 28.73 kB / 0.6068 GB, free: 4.219 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001776/0.3706, allocations: 220 kB / 0.607 GB, free: 3.965 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.3706, allocations: 8.703 kB / 0.607 GB, free: 3.957 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.055e-05/0.3706, allocations: 24.31 kB / 0.607 GB, free: 3.934 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003039/0.3709, allocations: 244.2 kB / 0.6073 GB, free: 3.676 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.031e-05/0.371, allocations: 4 kB / 0.6073 GB, free: 3.672 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.225e-05/0.371, allocations: 8 kB / 0.6073 GB, free: 3.664 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.265e-05/0.371, allocations: 11.98 kB / 0.6073 GB, free: 3.652 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003546/0.3714, allocations: 431.3 kB / 0.6077 GB, free: 3.23 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008544/0.3722, allocations: 0.9528 MB / 0.6086 GB, free: 2.188 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002279/0.3725, allocations: 174.1 kB / 0.6088 GB, free: 2.012 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.132e-05/0.3726, allocations: 68.88 kB / 0.6089 GB, free: 1.941 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009661/0.3735, allocations: 1.829 MB / 0.6107 GB, free: 15.75 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.725e-05/0.3736, allocations: 38.55 kB / 0.6107 GB, free: 15.7 MB / 462.1 MB Notification: Performance of pre-optimization done (n=15): time 1.273e-06/0.3736, allocations: 0 / 0.6107 GB, free: 15.7 MB / 462.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003505/0.374, allocations: 148.5 kB / 0.6108 GB, free: 15.55 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.467e-05/0.374, allocations: 63.34 kB / 0.6109 GB, free: 15.48 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001617/0.3742, allocations: 169.5 kB / 0.6111 GB, free: 15.3 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.648e-05/0.3742, allocations: 29.7 kB / 0.6111 GB, free: 15.27 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.799e-05/0.3743, allocations: 151.7 kB / 0.6112 GB, free: 15.12 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.191e-05/0.3744, allocations: 47.3 kB / 0.6113 GB, free: 15.07 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.536e-05/0.3745, allocations: 53.61 kB / 0.6113 GB, free: 15.01 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.3746, allocations: 322.8 kB / 0.6116 GB, free: 14.69 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.2e-05/0.3747, allocations: 35.97 kB / 0.6117 GB, free: 14.65 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00016/0.3749, allocations: 137.7 kB / 0.6118 GB, free: 14.47 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002747/0.3752, allocations: 201.5 kB / 0.612 GB, free: 14.22 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3752, allocations: 0 / 0.612 GB, free: 14.22 MB / 462.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003455/0.3755, allocations: 217.1 kB / 0.6122 GB, free: 14 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.3756, allocations: 8 kB / 0.6122 GB, free: 14 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.3756, allocations: 0 / 0.6122 GB, free: 14 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.3756, allocations: 8 kB / 0.6122 GB, free: 13.99 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000174/0.3758, allocations: 60.31 kB / 0.6123 GB, free: 13.93 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.256e-05/0.3758, allocations: 11.94 kB / 0.6123 GB, free: 13.92 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001046/0.3759, allocations: 23.75 kB / 0.6123 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.281e-05/0.3759, allocations: 16 kB / 0.6123 GB, free: 13.88 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * 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.0001291/0.3761, allocations: 129.7 kB / 0.6125 GB, free: 13.74 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.199e-05/0.3761, allocations: 11.91 kB / 0.6125 GB, free: 13.73 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003422/0.3765, allocations: 175.5 kB / 0.6126 GB, free: 13.56 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.204e-05/0.3765, allocations: 3.938 kB / 0.6126 GB, free: 13.55 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.3765, allocations: 8 kB / 0.6126 GB, free: 13.55 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.3765, allocations: 0 / 0.6126 GB, free: 13.55 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002672/0.3768, allocations: 213.5 kB / 0.6128 GB, free: 13.29 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3768, allocations: 0 / 0.6128 GB, free: 13.29 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.796e-05/0.3769, allocations: 24 kB / 0.6129 GB, free: 13.27 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-06/0.3769, allocations: 3.984 kB / 0.6129 GB, free: 13.26 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.3769, allocations: 0 / 0.6129 GB, free: 13.26 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.141e-06/0.3769, allocations: 7.938 kB / 0.6129 GB, free: 13.25 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3769, allocations: 0 / 0.6129 GB, free: 13.25 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002688/0.3772, allocations: 219.3 kB / 0.6131 GB, free: 13.02 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/0.3773, allocations: 116.8 kB / 0.6132 GB, free: 12.89 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.625e-05/0.3774, allocations: 4 kB / 0.6132 GB, free: 12.89 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001927/0.3776, allocations: 15.92 kB / 0.6132 GB, free: 12.87 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.713e-05/0.3776, allocations: 11.98 kB / 0.6132 GB, free: 12.86 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.296e-05/0.3776, allocations: 8 kB / 0.6132 GB, free: 12.85 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001038/0.3777, allocations: 120.9 kB / 0.6134 GB, free: 12.73 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3777, allocations: 3.938 kB / 0.6134 GB, free: 12.73 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003923/0.3781, allocations: 83.98 kB / 0.6134 GB, free: 12.65 MB / 462.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * 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.0003564/0.3785, allocations: 180.6 kB / 0.6136 GB, free: 12.46 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000278/0.3788, allocations: 130.9 kB / 0.6137 GB, free: 12.34 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3788, allocations: 3.938 kB / 0.6137 GB, free: 12.34 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 6.947e-05/0.3789, allocations: 39.98 kB / 0.6138 GB, free: 12.3 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004502/0.3793, allocations: 61.75 kB / 0.6138 GB, free: 12.24 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007555/0.3801, allocations: 368.6 kB / 0.6142 GB, free: 11.85 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003706/0.3805, allocations: 0.7205 MB / 0.6149 GB, free: 11.1 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.794e-05/0.3805, allocations: 27.44 kB / 0.6149 GB, free: 11.07 MB / 462.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3805, allocations: 3.938 kB / 0.6149 GB, free: 11.07 MB / 462.1 MB Notification: Performance of Templates: time 0.005931/0.3865, allocations: 3.41 MB / 0.6183 GB, free: 7.699 MB / 462.1 MB make -j1 -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.makefile (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)