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.001288/0.001288, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 199.9 kB / 16.79 MB, free: 6.828 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.383/1.383, allocations: 222.9 MB / 240.5 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.034/1.034, allocations: 135.1 MB / 425.8 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 73.41 kB / 0.5053 GB, free: 5.777 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1634, allocations: 80.92 MB / 0.5843 GB, free: 5.023 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.DHW_example): time 0.3235/0.4869, allocations: 41.72 MB / 0.6251 GB, free: 31.3 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01594/0.5029, allocations: 10.92 MB / 0.6358 GB, free: 23.54 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003002/0.506, allocations: 46.84 kB / 0.6358 GB, free: 23.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002366/0.5084, allocations: 458.2 kB / 0.6362 GB, free: 23.24 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005977/0.5144, allocations: 1.312 MB / 0.6375 GB, free: 22.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005072/0.5196, allocations: 1.158 MB / 0.6386 GB, free: 21.81 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00733/0.5269, allocations: 3.533 MB / 0.6421 GB, free: 20.47 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002909/0.5299, allocations: 0.9192 MB / 0.643 GB, free: 20.06 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003271/0.5332, allocations: 0.984 MB / 0.644 GB, free: 19.62 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001907/0.5351, allocations: 0.8091 MB / 0.6447 GB, free: 19.25 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003603/0.5355, allocations: 60.34 kB / 0.6448 GB, free: 19.25 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003122/0.5387, allocations: 0.6586 MB / 0.6454 GB, free: 19.04 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000541/0.5393, allocations: 218.9 kB / 0.6457 GB, free: 18.92 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001414/0.5407, allocations: 0.5685 MB / 0.6462 GB, free: 18.58 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002948/0.5437, allocations: 1.395 MB / 0.6476 GB, free: 18.1 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 9.408e-06/0.5437, allocations: 0 / 0.6476 GB, free: 18.1 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.337e-06/0.5438, allocations: 0 / 0.6476 GB, free: 18.1 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.879e-05/0.5438, allocations: 0 / 0.6476 GB, free: 18.1 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.004497/0.5483, allocations: 1.499 MB / 0.649 GB, free: 17.06 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.775e-05/0.5484, allocations: 13.34 kB / 0.649 GB, free: 17.06 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003265/0.5517, allocations: 333 kB / 0.6494 GB, free: 16.98 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003042/0.5548, allocations: 0.9478 MB / 0.6503 GB, free: 16.37 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.512e-05/0.5549, allocations: 57.5 kB / 0.6503 GB, free: 16.35 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002796/0.5552, allocations: 85.59 kB / 0.6504 GB, free: 16.32 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003871/0.5591, allocations: 0.9935 MB / 0.6514 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.589e-05/0.5592, allocations: 6.594 kB / 0.6514 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001696/0.5594, allocations: 32 kB / 0.6514 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.062e-05/0.5594, allocations: 18.84 kB / 0.6515 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004093/0.5635, allocations: 0.8151 MB / 0.6522 GB, free: 15.57 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.00911/0.5727, allocations: 3.85 MB / 0.656 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003341/0.5761, allocations: 0.6056 MB / 0.6566 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001645/0.5778, allocations: 319.2 kB / 0.6569 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001378/0.5792, allocations: 0.935 MB / 0.6578 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002042/0.5812, allocations: 432.4 kB / 0.6582 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=47): time 7.203e-06/0.5813, allocations: 1.562 kB / 0.6582 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=47): time 0.005865/0.5872, allocations: 0.9684 MB / 0.6592 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.999e-05/0.5873, allocations: 109.8 kB / 0.6593 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002561/0.5899, allocations: 0.8621 MB / 0.6601 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001255/0.59, allocations: 37.23 kB / 0.6602 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00066/0.5907, allocations: 477 kB / 0.6606 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002721/0.591, allocations: 169.2 kB / 0.6608 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000409/0.5914, allocations: 132.9 kB / 0.6609 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.679e-05/0.5915, allocations: 335.3 kB / 0.6612 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001733/0.5933, allocations: 290.2 kB / 0.6615 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001974/0.5953, allocations: 473.4 kB / 0.662 GB, free: 9.215 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003345/0.5986, allocations: 0.7638 MB / 0.6627 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.024e-05/0.5987, allocations: 1.062 kB / 0.6627 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.004468/0.6032, allocations: 0.9025 MB / 0.6636 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.84e-05/0.6033, allocations: 38.67 kB / 0.6636 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.293e-05/0.6033, allocations: 9.562 kB / 0.6636 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.447e-05/0.6034, allocations: 12.22 kB / 0.6636 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001845/0.6052, allocations: 190.6 kB / 0.6638 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.208e-05/0.6053, allocations: 17.06 kB / 0.6638 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001947/0.6072, allocations: 141.1 kB / 0.664 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001742/0.6074, allocations: 32.97 kB / 0.664 GB, free: 8.309 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 (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 (73): * Single equations (assignments): 72 * 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.0008234/0.6083, allocations: 264.5 kB / 0.6643 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005153/0.6088, allocations: 100.1 kB / 0.6643 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005239/0.6141, allocations: 1.083 MB / 0.6654 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.312e-05/0.6142, allocations: 11.36 kB / 0.6654 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.632e-05/0.6142, allocations: 1.156 kB / 0.6654 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.871e-05/0.6142, allocations: 4.25 kB / 0.6654 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00809/0.6223, allocations: 2.152 MB / 0.6675 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-05/0.6224, allocations: 1.344 kB / 0.6675 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001679/0.6241, allocations: 150.7 kB / 0.6677 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.897e-05/0.6241, allocations: 3.406 kB / 0.6677 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001049/0.6242, allocations: 19.77 kB / 0.6677 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.986e-05/0.6243, allocations: 8.672 kB / 0.6677 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.6243, allocations: 9.125 kB / 0.6677 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006119/0.6304, allocations: 1.462 MB / 0.6691 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009374/0.6314, allocations: 269.5 kB / 0.6694 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004531/0.6319, allocations: 18.02 kB / 0.6694 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001958/0.6339, allocations: 87.41 kB / 0.6695 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002416/0.6342, allocations: 52.2 kB / 0.6695 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001482/0.6344, allocations: 32.31 kB / 0.6696 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001861/0.6362, allocations: 0.6044 MB / 0.6702 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8.12e-07/0.6363, allocations: 0 / 0.6702 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002349/0.6386, allocations: 356.8 kB / 0.6705 GB, free: 5.23 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 (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.002884/0.6416, allocations: 0.6545 MB / 0.6711 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004092/0.6457, allocations: 0.7931 MB / 0.6719 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-05/0.6457, allocations: 0 / 0.6719 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002185/0.6479, allocations: 407.9 kB / 0.6723 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005077/0.653, allocations: 447.8 kB / 0.6727 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01521/0.6683, allocations: 2.781 MB / 0.6754 GB, free: 3 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001009/0.6694, allocations: 1.05 MB / 0.6765 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007294/0.6701, allocations: 98.59 kB / 0.6766 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of SimCode: time 1.693e-06/0.6702, allocations: 0 / 0.6766 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of Templates: time 0.05471/0.7249, allocations: 18.56 MB / 0.6947 GB, free: 10.91 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)