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.0009628/0.0009627, allocations: 92.39 kB / 15.06 MB, free: 1.098 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.0009537/0.0009537, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.531/1.531, allocations: 223.3 MB / 240 MB, free: 5.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.066/1.066, allocations: 135.3 MB / 426.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003743/0.0003744, allocations: 9.562 kB / 0.507 GB, free: 5.148 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1769/0.1773, allocations: 82.31 MB / 0.5874 GB, free: 3.012 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.DHW_example): time 0.3532/0.5305, allocations: 38.52 MB / 0.625 GB, free: 32.79 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01168/0.5422, allocations: 10.23 MB / 0.635 GB, free: 25.46 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001922/0.5442, allocations: 45 kB / 0.635 GB, free: 25.44 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001385/0.5456, allocations: 385.5 kB / 0.6354 GB, free: 25.23 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003117/0.5487, allocations: 1.153 MB / 0.6365 GB, free: 24.56 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002661/0.5514, allocations: 0.9475 MB / 0.6374 GB, free: 24.11 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003328/0.5547, allocations: 3.039 MB / 0.6404 GB, free: 22.84 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001208/0.556, allocations: 0.7763 MB / 0.6412 GB, free: 22.55 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001673/0.5577, allocations: 0.8817 MB / 0.642 GB, free: 22.18 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008532/0.5585, allocations: 0.7126 MB / 0.6427 GB, free: 21.88 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.404e-05/0.5586, allocations: 46.97 kB / 0.6428 GB, free: 21.88 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001238/0.5599, allocations: 426.2 kB / 0.6432 GB, free: 21.77 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001712/0.5601, allocations: 179.3 kB / 0.6433 GB, free: 21.67 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002434/0.5603, allocations: 250.2 kB / 0.6436 GB, free: 21.52 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001154/0.5615, allocations: 1.31 MB / 0.6449 GB, free: 21.18 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.5615, allocations: 0 / 0.6449 GB, free: 21.18 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.994e-06/0.5615, allocations: 4 kB / 0.6449 GB, free: 21.18 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.686e-05/0.5615, allocations: 0 / 0.6449 GB, free: 21.18 MB / 0.4981 GB 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.0018/0.5633, allocations: 1.315 MB / 0.6461 GB, free: 20.27 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.5634, allocations: 9.094 kB / 0.6461 GB, free: 20.27 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001522/0.5649, allocations: 384 kB / 0.6465 GB, free: 20.19 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00135/0.5662, allocations: 0.9213 MB / 0.6474 GB, free: 19.61 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.473e-05/0.5663, allocations: 57.91 kB / 0.6475 GB, free: 19.58 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.958e-05/0.5664, allocations: 76.19 kB / 0.6475 GB, free: 19.56 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001727/0.5682, allocations: 1.032 MB / 0.6486 GB, free: 19.09 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/0.5682, allocations: 0 / 0.6486 GB, free: 19.09 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.082e-05/0.5683, allocations: 37.27 kB / 0.6486 GB, free: 19.06 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.453e-05/0.5683, allocations: 18.47 kB / 0.6486 GB, free: 19.06 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001868/0.5702, allocations: 0.8887 MB / 0.6495 GB, free: 18.79 MB / 0.4981 GB 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.004042/0.5742, allocations: 3.878 MB / 0.6533 GB, free: 16.09 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00148/0.5757, allocations: 0.6613 MB / 0.6539 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007818/0.5765, allocations: 342.7 kB / 0.6542 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000767/0.5773, allocations: 0.9509 MB / 0.6552 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001054/0.5783, allocations: 471.3 kB / 0.6556 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=47): time 1.954e-06/0.5784, allocations: 4 kB / 0.6556 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of matching and sorting (n=47): time 0.002951/0.5813, allocations: 1.048 MB / 0.6566 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.626e-05/0.5814, allocations: 113.1 kB / 0.6567 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00135/0.5827, allocations: 0.8494 MB / 0.6576 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.937e-05/0.5828, allocations: 37.73 kB / 0.6576 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000366/0.5832, allocations: 477.5 kB / 0.6581 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001664/0.5834, allocations: 165.5 kB / 0.6582 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.795e-05/0.5834, allocations: 10.53 kB / 0.6582 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.202e-05/0.5835, allocations: 330.7 kB / 0.6585 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009024/0.5844, allocations: 321.9 kB / 0.6589 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009159/0.5853, allocations: 498 kB / 0.6593 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009105/0.5862, allocations: 387.9 kB / 0.6597 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.5863, allocations: 0 / 0.6597 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00295/0.5892, allocations: 0.9571 MB / 0.6606 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.292e-05/0.5893, allocations: 35.92 kB / 0.6607 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.837e-05/0.5893, allocations: 4.25 kB / 0.6607 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.435e-05/0.5894, allocations: 12.89 kB / 0.6607 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001263/0.5907, allocations: 208.8 kB / 0.6609 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.247e-05/0.5907, allocations: 13.52 kB / 0.6609 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001371/0.5921, allocations: 162.3 kB / 0.6611 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001197/0.5922, allocations: 33.23 kB / 0.6611 GB, free: 11.84 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.mDHW60C.T_start,mDHW60C.T_start,$PRE.mDHW60C.count,mDHW60C.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005834/0.5928, allocations: 267.2 kB / 0.6613 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001867/0.593, allocations: 97.33 kB / 0.6614 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002853/0.5959, allocations: 1.144 MB / 0.6625 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-05/0.5959, allocations: 16.02 kB / 0.6626 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.5959, allocations: 5.125 kB / 0.6626 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.33e-05/0.5959, allocations: 4.156 kB / 0.6626 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004243/0.6002, allocations: 2.207 MB / 0.6647 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.418e-06/0.6002, allocations: 2.656 kB / 0.6647 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000866/0.6011, allocations: 171.5 kB / 0.6649 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.488e-06/0.6011, allocations: 8.031 kB / 0.6649 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.921e-05/0.6012, allocations: 19.73 kB / 0.6649 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.226e-06/0.6012, allocations: 4.172 kB / 0.6649 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.6012, allocations: 1.188 kB / 0.6649 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003308/0.6045, allocations: 1.543 MB / 0.6664 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005821/0.6051, allocations: 281.7 kB / 0.6667 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001305/0.6052, allocations: 14.53 kB / 0.6667 GB, free: 9.102 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007885/0.606, allocations: 112.6 kB / 0.6668 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001387/0.6062, allocations: 48.48 kB / 0.6669 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.072e-05/0.6063, allocations: 25.33 kB / 0.6669 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001117/0.6074, allocations: 0.5946 MB / 0.6675 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.21e-07/0.6074, allocations: 3.938 kB / 0.6675 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001411/0.6088, allocations: 354.2 kB / 0.6678 GB, free: 8.715 MB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001421/0.6102, allocations: 0.6336 MB / 0.6684 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002196/0.6124, allocations: 0.8493 MB / 0.6693 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.6125, allocations: 0 / 0.6693 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001025/0.6135, allocations: 438.5 kB / 0.6697 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00233/0.6158, allocations: 454.2 kB / 0.6701 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008192/0.624, allocations: 2.941 MB / 0.673 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006869/0.6248, allocations: 1.039 MB / 0.674 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001294/0.6261, allocations: 216.2 kB / 0.6742 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003016/0.6264, allocations: 91.56 kB / 0.6743 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of SimCode: time 9.31e-07/0.6264, allocations: 0 / 0.6743 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of Templates: time 0.03795/0.6643, allocations: 19.09 MB / 0.6929 GB, free: 14.66 MB / 0.5137 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)