Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.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.Fluid.Taps.Examples.DHW_example,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example") translateModel(IDEAS.Fluid.Taps.Examples.DHW_example,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 103.5 kB / 16.27 MB, free: 5.98 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.001437/0.001437, allocations: 189.8 kB / 17.19 MB, free: 5.605 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.326/1.326, 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.8147/0.8147, allocations: 135.2 MB / 426.2 MB, free: 4.172 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 67.88 kB / 0.506 GB, free: 8.375 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.3438, allocations: 80.91 MB / 0.585 GB, free: 25.32 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.DHW_example): time 0.03449/0.3783, allocations: 41.96 MB / 0.626 GB, free: 0.5508 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01657/0.3949, allocations: 10.92 MB / 0.6367 GB, free: 5.602 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001916/0.3969, allocations: 51.69 kB / 0.6367 GB, free: 5.551 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001615/0.3985, allocations: 0.5508 MB / 0.6373 GB, free: 4.996 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003891/0.4024, allocations: 1.414 MB / 0.6387 GB, free: 3.574 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003172/0.4056, allocations: 1.29 MB / 0.6399 GB, free: 2.301 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003557/0.4092, allocations: 2.662 MB / 0.6425 GB, free: 15.62 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001578/0.4108, allocations: 1.094 MB / 0.6436 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002717/0.4135, allocations: 1.141 MB / 0.6447 GB, free: 13.38 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001176/0.4147, allocations: 0.8089 MB / 0.6455 GB, free: 12.57 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001778/0.4149, allocations: 108 kB / 0.6456 GB, free: 12.46 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001706/0.4166, allocations: 0.6943 MB / 0.6463 GB, free: 11.77 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002866/0.4169, allocations: 267 kB / 0.6465 GB, free: 11.5 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006538/0.4176, allocations: 0.6142 MB / 0.6471 GB, free: 10.89 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002384/0.42, allocations: 1.811 MB / 0.6489 GB, free: 9.07 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.42, allocations: 0 / 0.6489 GB, free: 9.07 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.42, allocations: 4 kB / 0.6489 GB, free: 9.066 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.482e-05/0.42, allocations: 0 / 0.6489 GB, free: 9.066 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.002476/0.4225, allocations: 1.519 MB / 0.6504 GB, free: 7.488 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.4225, allocations: 9.109 kB / 0.6504 GB, free: 7.48 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001737/0.4243, allocations: 323.1 kB / 0.6507 GB, free: 7.164 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001549/0.4258, allocations: 0.9061 MB / 0.6516 GB, free: 6.215 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.951e-05/0.4259, allocations: 62 kB / 0.6516 GB, free: 6.152 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001227/0.426, allocations: 76 kB / 0.6517 GB, free: 6.078 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002003/0.4281, allocations: 1.004 MB / 0.6527 GB, free: 5.02 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/0.4281, allocations: 3.938 kB / 0.6527 GB, free: 5.016 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.101e-05/0.4282, allocations: 35.98 kB / 0.6527 GB, free: 4.98 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.237e-05/0.4282, allocations: 24 kB / 0.6528 GB, free: 4.957 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00219/0.4304, allocations: 0.8234 MB / 0.6536 GB, free: 4.133 MB / 494.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005341/0.4357, allocations: 4.054 MB / 0.6575 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001821/0.4376, allocations: 0.6083 MB / 0.6581 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008669/0.4385, allocations: 317.1 kB / 0.6584 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001064/0.4395, allocations: 0.934 MB / 0.6593 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001102/0.4407, allocations: 431.2 kB / 0.6597 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=47): time 2.415e-06/0.4407, allocations: 3.938 kB / 0.6597 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of matching and sorting (n=47): time 0.002989/0.4437, allocations: 0.9761 MB / 0.6607 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.87e-05/0.4438, allocations: 110.8 kB / 0.6608 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001246/0.445, allocations: 0.8786 MB / 0.6617 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.787e-05/0.4451, allocations: 33.7 kB / 0.6617 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004325/0.4455, allocations: 499.5 kB / 0.6622 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001635/0.4457, allocations: 157.8 kB / 0.6623 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000228/0.4459, allocations: 134.1 kB / 0.6624 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.4461, allocations: 337.9 kB / 0.6628 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008791/0.447, allocations: 297.1 kB / 0.663 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001037/0.448, allocations: 480.3 kB / 0.6635 GB, free: 9.359 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001897/0.4499, allocations: 0.7819 MB / 0.6643 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.4499, allocations: 0 / 0.6643 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002422/0.4524, allocations: 0.9217 MB / 0.6652 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.111e-05/0.4524, allocations: 46.22 kB / 0.6652 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.4524, allocations: 4 kB / 0.6652 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.374e-05/0.4525, allocations: 12 kB / 0.6652 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009865/0.4535, allocations: 199.7 kB / 0.6654 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.054e-05/0.4535, allocations: 15.92 kB / 0.6654 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008731/0.4544, allocations: 123.3 kB / 0.6656 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.529e-05/0.4545, allocations: 31.98 kB / 0.6656 GB, free: 7.133 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 (mDHW60C.count,$PRE.mDHW60C.count,mDHW60C.T_start,$PRE.mDHW60C.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 1 * 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.000445/0.4549, allocations: 269.6 kB / 0.6658 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001874/0.4551, allocations: 110.7 kB / 0.6659 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002728/0.4578, allocations: 1.077 MB / 0.667 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.716e-05/0.4579, allocations: 7.938 kB / 0.667 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.4579, allocations: 7.984 kB / 0.667 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.4579, allocations: 0 / 0.667 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003992/0.4619, allocations: 2.155 MB / 0.6691 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/0.4619, allocations: 0 / 0.6691 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008549/0.4628, allocations: 155.7 kB / 0.6693 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.396e-06/0.4628, allocations: 4 kB / 0.6693 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.822e-05/0.4629, allocations: 19.98 kB / 0.6693 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.432e-06/0.4629, allocations: 4 kB / 0.6693 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.4629, allocations: 4.125 kB / 0.6693 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003283/0.4662, allocations: 1.471 MB / 0.6707 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004372/0.4666, allocations: 267.6 kB / 0.671 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001357/0.4668, allocations: 15.91 kB / 0.671 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007483/0.4675, allocations: 75.97 kB / 0.6711 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/0.4676, allocations: 44.31 kB / 0.6711 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.827e-05/0.4677, allocations: 23.98 kB / 0.6711 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009194/0.4686, allocations: 0.6261 MB / 0.6718 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.81e-07/0.4686, allocations: 0 / 0.6718 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001061/0.4697, allocations: 355.4 kB / 0.6721 GB, free: 308 kB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (dHW_RealInput.THot.T,dHW_ProfileReader.THot.T) * Number of discrete variables: 3 ($whenCondition1,mDHW60C.T_start,mDHW60C.count) * Number of discrete states: 1 (mDHW60C.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 2 * 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.001901/0.4716, allocations: 0.6675 MB / 0.6727 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00241/0.474, allocations: 0.8577 MB / 0.6736 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.4741, allocations: 0 / 0.6736 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001028/0.4751, allocations: 406.6 kB / 0.674 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00219/0.4773, allocations: 487 kB / 0.6744 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008012/0.4853, allocations: 2.396 MB / 0.6768 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006744/0.486, allocations: 1.034 MB / 0.6778 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003814/0.4864, allocations: 115.3 kB / 0.6779 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of SimCode: time 8.41e-07/0.4864, allocations: 0 / 0.6779 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of Templates: time 0.02785/0.5143, allocations: 18.83 MB / 0.6963 GB, free: 7.758 MB / 0.5294 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.sim & ./IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.pipe 2>&1)