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.001194/0.001194, allocations: 108 kB / 15.6 MB, free: 132 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.00222/0.002221, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.452/1.452, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9545/0.9545, allocations: 135.1 MB / 425.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 55.84 kB / 0.5053 GB, free: 5.328 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1626, allocations: 80.93 MB / 0.5844 GB, free: 4.551 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.DHW_example): time 0.3223/0.4849, allocations: 41.95 MB / 0.6253 GB, free: 30.61 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01361/0.4986, allocations: 10.91 MB / 0.636 GB, free: 22.9 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002497/0.5011, allocations: 48.34 kB / 0.636 GB, free: 22.88 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001805/0.503, allocations: 0.5547 MB / 0.6366 GB, free: 22.51 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005074/0.5081, allocations: 1.414 MB / 0.6379 GB, free: 21.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003691/0.5118, allocations: 1.283 MB / 0.6392 GB, free: 20.97 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003498/0.5153, allocations: 2.668 MB / 0.6418 GB, free: 19.68 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001546/0.5168, allocations: 1.096 MB / 0.6429 GB, free: 19.17 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00315/0.52, allocations: 1.139 MB / 0.644 GB, free: 18.62 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001657/0.5217, allocations: 0.8135 MB / 0.6448 GB, free: 18.23 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004516/0.5221, allocations: 109.4 kB / 0.6449 GB, free: 18.23 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002547/0.5247, allocations: 0.6815 MB / 0.6456 GB, free: 18.03 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004564/0.5252, allocations: 270.3 kB / 0.6458 GB, free: 17.85 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009308/0.5261, allocations: 0.6136 MB / 0.6464 GB, free: 17.46 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002877/0.529, allocations: 1.824 MB / 0.6482 GB, free: 16.75 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.529, allocations: 0 / 0.6482 GB, free: 16.75 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.455e-06/0.529, allocations: 0 / 0.6482 GB, free: 16.75 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.579e-05/0.5291, allocations: 0 / 0.6482 GB, free: 16.75 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.002465/0.5315, allocations: 1.509 MB / 0.6497 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.5316, allocations: 7.875 kB / 0.6497 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001836/0.5334, allocations: 322.7 kB / 0.65 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001603/0.535, allocations: 0.9166 MB / 0.6509 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.825e-05/0.5351, allocations: 61.62 kB / 0.6509 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001197/0.5352, allocations: 79.81 kB / 0.651 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001987/0.5372, allocations: 1.003 MB / 0.652 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.323e-05/0.5373, allocations: 6.797 kB / 0.652 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.752e-05/0.5374, allocations: 36.5 kB / 0.652 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.838e-05/0.5374, allocations: 18.25 kB / 0.652 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002146/0.5395, allocations: 0.8186 MB / 0.6528 GB, free: 14.21 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.005447/0.545, allocations: 4.044 MB / 0.6568 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00193/0.547, allocations: 0.6064 MB / 0.6574 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009375/0.5479, allocations: 311.6 kB / 0.6577 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008604/0.5488, allocations: 0.9425 MB / 0.6586 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001176/0.55, allocations: 430.3 kB / 0.659 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=47): time 3.186e-06/0.55, allocations: 5.25 kB / 0.659 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of matching and sorting (n=47): time 0.003349/0.5533, allocations: 0.974 MB / 0.66 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.265e-05/0.5534, allocations: 110.4 kB / 0.6601 GB, free: 9.348 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001481/0.5549, allocations: 0.8783 MB / 0.6609 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.103e-05/0.555, allocations: 37.8 kB / 0.661 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003744/0.5554, allocations: 485.1 kB / 0.6614 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001598/0.5555, allocations: 166.8 kB / 0.6616 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002398/0.5558, allocations: 133.5 kB / 0.6617 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.199e-05/0.5559, allocations: 330.9 kB / 0.662 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009305/0.5568, allocations: 296.7 kB / 0.6623 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00104/0.5578, allocations: 487.5 kB / 0.6628 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001867/0.5597, allocations: 0.783 MB / 0.6636 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.5597, allocations: 1.094 kB / 0.6636 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00253/0.5623, allocations: 0.9204 MB / 0.6644 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.312e-05/0.5623, allocations: 40.62 kB / 0.6645 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.629e-05/0.5624, allocations: 7.266 kB / 0.6645 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.204e-05/0.5624, allocations: 11.53 kB / 0.6645 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001032/0.5634, allocations: 193.9 kB / 0.6647 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.936e-05/0.5635, allocations: 13.97 kB / 0.6647 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001041/0.5645, allocations: 125.4 kB / 0.6648 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.046e-05/0.5646, allocations: 35.2 kB / 0.6649 GB, free: 6.719 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.0004777/0.5651, allocations: 266.8 kB / 0.6651 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001751/0.5653, allocations: 99.92 kB / 0.6652 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002783/0.5681, allocations: 1.095 MB / 0.6663 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.113e-05/0.5681, allocations: 6.75 kB / 0.6663 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.5681, allocations: 5.469 kB / 0.6663 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.225e-05/0.5681, allocations: 2.906 kB / 0.6663 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004137/0.5723, allocations: 2.155 MB / 0.6684 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.296e-06/0.5723, allocations: 1.469 kB / 0.6684 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009135/0.5732, allocations: 151.1 kB / 0.6685 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-05/0.5732, allocations: 4.062 kB / 0.6685 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.546e-05/0.5733, allocations: 23.81 kB / 0.6686 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.856e-06/0.5733, allocations: 3.281 kB / 0.6686 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.5733, allocations: 5.031 kB / 0.6686 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00373/0.5771, allocations: 1.463 MB / 0.67 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006545/0.5777, allocations: 264.6 kB / 0.6703 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001527/0.5779, allocations: 22.7 kB / 0.6703 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009456/0.5788, allocations: 67.91 kB / 0.6703 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001607/0.579, allocations: 56.62 kB / 0.6704 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.595e-05/0.5791, allocations: 24.67 kB / 0.6704 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001148/0.5802, allocations: 0.6229 MB / 0.671 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5803, allocations: 0 / 0.671 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001534/0.5818, allocations: 353.9 kB / 0.6714 GB, free: 3.633 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.001471/0.5833, allocations: 0.6769 MB / 0.672 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002503/0.5858, allocations: 0.8563 MB / 0.6729 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.5858, allocations: 5.312 kB / 0.6729 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001107/0.5869, allocations: 410.2 kB / 0.6733 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002424/0.5894, allocations: 472.9 kB / 0.6737 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008342/0.5977, allocations: 2.368 MB / 0.676 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006149/0.5984, allocations: 1.039 MB / 0.677 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001191/0.5996, allocations: 223.5 kB / 0.6773 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002734/0.5998, allocations: 97.12 kB / 0.6773 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of SimCode: time 1.172e-06/0.5998, allocations: 0 / 0.6773 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of Templates: time 0.0442/0.6441, allocations: 20.87 MB / 0.6977 GB, free: 8.422 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)