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.001556/0.001556, allocations: 104.1 kB / 16.46 MB, free: 6.691 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.001664/0.001664, allocations: 185.6 kB / 17.4 MB, free: 5.797 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.433/1.433, allocations: 225.6 MB / 243.8 MB, free: 14.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8611/0.8611, allocations: 137 MB / 433.6 MB, free: 15.76 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 63.95 kB / 0.6022 GB, free: 12.38 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1612, allocations: 85.44 MB / 0.6856 GB, free: 6.914 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.DHW_example): time 0.04872/0.2099, allocations: 42.29 MB / 0.7269 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01836/0.2283, allocations: 10.94 MB / 0.7376 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001936/0.2302, allocations: 51.75 kB / 0.7376 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001898/0.2321, allocations: 0.5625 MB / 0.7382 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004415/0.2365, allocations: 1.457 MB / 0.7396 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003638/0.2402, allocations: 1.308 MB / 0.7409 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004491/0.2447, allocations: 2.689 MB / 0.7435 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001719/0.2464, allocations: 0.8774 MB / 0.7444 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00346/0.2499, allocations: 1.159 MB / 0.7455 GB, free: 9.375 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001714/0.2516, allocations: 0.8439 MB / 0.7463 GB, free: 8.527 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002873/0.2519, allocations: 108 kB / 0.7464 GB, free: 8.422 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002164/0.254, allocations: 0.7255 MB / 0.7471 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003947/0.2544, allocations: 274.8 kB / 0.7474 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009124/0.2553, allocations: 0.6181 MB / 0.748 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003783/0.2591, allocations: 1.845 MB / 0.7498 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.2591, allocations: 0 / 0.7498 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2591, allocations: 3.938 kB / 0.7498 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.994e-05/0.2591, allocations: 0 / 0.7498 GB, free: 4.949 MB / 0.5762 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.003013/0.2622, allocations: 1.548 MB / 0.7513 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.2622, allocations: 13.11 kB / 0.7513 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001907/0.2641, allocations: 335.7 kB / 0.7516 GB, free: 3 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002074/0.2662, allocations: 0.9536 MB / 0.7526 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.914e-05/0.2663, allocations: 62 kB / 0.7526 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00015/0.2664, allocations: 83.94 kB / 0.7527 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002364/0.2688, allocations: 1.005 MB / 0.7537 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.825e-05/0.2688, allocations: 3.938 kB / 0.7537 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.173e-05/0.2689, allocations: 36 kB / 0.7537 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.259e-05/0.2689, allocations: 20 kB / 0.7538 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.379/0.6479, allocations: 0.8163 MB / 0.7546 GB, free: 68.4 MB / 0.5762 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.006394/0.6543, allocations: 4.014 MB / 0.7585 GB, free: 66.41 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001801/0.6561, allocations: 0.5837 MB / 0.759 GB, free: 66.21 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008339/0.6569, allocations: 311.9 kB / 0.7593 GB, free: 66.11 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007849/0.6577, allocations: 0.9419 MB / 0.7603 GB, free: 65.07 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001066/0.6588, allocations: 426.3 kB / 0.7607 GB, free: 64.91 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=47): time 2.554e-06/0.6588, allocations: 0 / 0.7607 GB, free: 64.91 MB / 0.5762 GB Notification: Performance of matching and sorting (n=47): time 0.003014/0.6618, allocations: 0.978 MB / 0.7616 GB, free: 64.58 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.966e-05/0.6619, allocations: 109.6 kB / 0.7617 GB, free: 64.46 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001427/0.6633, allocations: 0.8792 MB / 0.7626 GB, free: 64.08 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.118e-05/0.6634, allocations: 37.52 kB / 0.7626 GB, free: 64.04 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000416/0.6638, allocations: 494.1 kB / 0.7631 GB, free: 63.69 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001695/0.664, allocations: 175.1 kB / 0.7633 GB, free: 63.58 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000244/0.6642, allocations: 130.6 kB / 0.7634 GB, free: 63.52 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.697e-05/0.6643, allocations: 331.2 kB / 0.7637 GB, free: 63.2 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009142/0.6652, allocations: 295.5 kB / 0.764 GB, free: 63.12 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001055/0.6663, allocations: 489.1 kB / 0.7644 GB, free: 62.82 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001959/0.6682, allocations: 0.7838 MB / 0.7652 GB, free: 62.37 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/0.6682, allocations: 2.031 kB / 0.7652 GB, free: 62.37 MB / 0.5762 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002664/0.6709, allocations: 0.9296 MB / 0.7661 GB, free: 62.01 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.149e-05/0.6709, allocations: 35.48 kB / 0.7662 GB, free: 61.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.502e-05/0.671, allocations: 8.531 kB / 0.7662 GB, free: 61.98 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.07e-05/0.671, allocations: 8.5 kB / 0.7662 GB, free: 61.98 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001055/0.672, allocations: 204.4 kB / 0.7664 GB, free: 61.96 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.329e-05/0.6721, allocations: 9.953 kB / 0.7664 GB, free: 61.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001055/0.6731, allocations: 123.3 kB / 0.7665 GB, free: 61.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/0.6732, allocations: 42.48 kB / 0.7665 GB, free: 61.92 MB / 0.5762 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.0005435/0.6738, allocations: 274.7 kB / 0.7668 GB, free: 61.71 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002495/0.674, allocations: 104.7 kB / 0.7669 GB, free: 61.66 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003117/0.6771, allocations: 1.079 MB / 0.768 GB, free: 61.32 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.266e-05/0.6772, allocations: 7.438 kB / 0.768 GB, free: 61.32 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.6772, allocations: 3.188 kB / 0.768 GB, free: 61.32 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.211e-05/0.6772, allocations: 3.281 kB / 0.768 GB, free: 61.32 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004163/0.6813, allocations: 2.16 MB / 0.7701 GB, free: 60.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/0.6813, allocations: 2.156 kB / 0.7701 GB, free: 60.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009732/0.6823, allocations: 153.7 kB / 0.7702 GB, free: 60.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-05/0.6823, allocations: 7.562 kB / 0.7702 GB, free: 60.19 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.842e-05/0.6824, allocations: 15.19 kB / 0.7702 GB, free: 60.19 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.258e-05/0.6824, allocations: 8.391 kB / 0.7703 GB, free: 60.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.6824, allocations: 1.656 kB / 0.7703 GB, free: 60.18 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003359/0.6858, allocations: 1.469 MB / 0.7717 GB, free: 59.51 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005826/0.6863, allocations: 279.1 kB / 0.772 GB, free: 59.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001537/0.6865, allocations: 18.02 kB / 0.772 GB, free: 59.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007833/0.6873, allocations: 68.36 kB / 0.772 GB, free: 59.29 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001467/0.6874, allocations: 43.11 kB / 0.7721 GB, free: 59.28 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.014e-05/0.6875, allocations: 29.19 kB / 0.7721 GB, free: 59.27 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000971/0.6885, allocations: 0.6239 MB / 0.7727 GB, free: 59 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.6885, allocations: 0 / 0.7727 GB, free: 59 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001255/0.6897, allocations: 360.4 kB / 0.7731 GB, free: 58.96 MB / 0.5762 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.002026/0.6918, allocations: 0.6771 MB / 0.7737 GB, free: 58.75 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002305/0.6941, allocations: 0.777 MB / 0.7745 GB, free: 58.48 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.6941, allocations: 1.469 kB / 0.7745 GB, free: 58.48 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001076/0.6951, allocations: 381 kB / 0.7748 GB, free: 58.37 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002391/0.6975, allocations: 482.2 kB / 0.7753 GB, free: 58.21 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008213/0.7057, allocations: 2.418 MB / 0.7777 GB, free: 57.13 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004898/0.7062, allocations: 1.038 MB / 0.7787 GB, free: 56.41 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004656/0.7067, allocations: 103.7 kB / 0.7788 GB, free: 56.4 MB / 0.5762 GB Notification: Performance of SimCode: time 1.102e-06/0.7067, allocations: 0.9688 kB / 0.7788 GB, free: 56.4 MB / 0.5762 GB Notification: Performance of Templates: time 0.02811/0.7348, allocations: 19.03 MB / 0.7974 GB, free: 43.84 MB / 0.5762 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)