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.001223/0.001223, allocations: 106.9 kB / 16.37 MB, free: 6.477 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.001268/0.001268, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.321/1.321, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7909/0.7909, allocations: 135.1 MB / 426.3 MB, free: 4.156 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 67.89 kB / 0.5067 GB, free: 7.691 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4216/0.4228, allocations: 80.91 MB / 0.5858 GB, free: 25.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.DHW_example): time 0.03549/0.4584, allocations: 41.95 MB / 0.6267 GB, free: 0.5352 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01692/0.4753, allocations: 10.93 MB / 0.6374 GB, free: 5.574 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002322/0.4777, allocations: 55.69 kB / 0.6375 GB, free: 5.52 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001807/0.4795, allocations: 0.5508 MB / 0.638 GB, free: 4.965 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004199/0.4838, allocations: 1.41 MB / 0.6394 GB, free: 3.547 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003414/0.4872, allocations: 1.299 MB / 0.6406 GB, free: 2.27 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003952/0.4912, allocations: 2.674 MB / 0.6432 GB, free: 15.58 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001489/0.4927, allocations: 1.09 MB / 0.6443 GB, free: 14.47 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002641/0.4953, allocations: 1.137 MB / 0.6454 GB, free: 13.34 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001177/0.4965, allocations: 0.8206 MB / 0.6462 GB, free: 12.51 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001591/0.4967, allocations: 108 kB / 0.6463 GB, free: 12.41 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001707/0.4984, allocations: 0.6904 MB / 0.647 GB, free: 11.71 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002891/0.4987, allocations: 263 kB / 0.6473 GB, free: 11.46 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007095/0.4994, allocations: 0.622 MB / 0.6479 GB, free: 10.83 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002452/0.5019, allocations: 1.838 MB / 0.6497 GB, free: 8.992 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.5019, allocations: 0 / 0.6497 GB, free: 8.992 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.215e-06/0.5019, allocations: 0 / 0.6497 GB, free: 8.992 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.087e-05/0.5019, allocations: 0 / 0.6497 GB, free: 8.992 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.002792/0.5047, allocations: 1.519 MB / 0.6511 GB, free: 7.414 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.5048, allocations: 9.109 kB / 0.6511 GB, free: 7.406 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001726/0.5065, allocations: 327.1 kB / 0.6515 GB, free: 7.086 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001782/0.5083, allocations: 0.9489 MB / 0.6524 GB, free: 6.094 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001829/0.5085, allocations: 65.98 kB / 0.6524 GB, free: 6.027 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001202/0.5086, allocations: 76 kB / 0.6525 GB, free: 5.953 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002018/0.5107, allocations: 1.004 MB / 0.6535 GB, free: 4.895 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/0.5107, allocations: 0 / 0.6535 GB, free: 4.895 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.658e-05/0.5108, allocations: 36 kB / 0.6535 GB, free: 4.859 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.52e-05/0.5108, allocations: 16 kB / 0.6536 GB, free: 4.844 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002177/0.513, allocations: 0.8312 MB / 0.6544 GB, free: 4.008 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.005517/0.5185, allocations: 4.009 MB / 0.6583 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001718/0.5202, allocations: 0.61 MB / 0.6589 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008214/0.5211, allocations: 321.1 kB / 0.6592 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009102/0.522, allocations: 0.9418 MB / 0.6601 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001128/0.5231, allocations: 427.2 kB / 0.6605 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=47): time 2.254e-06/0.5231, allocations: 0 / 0.6605 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of matching and sorting (n=47): time 0.002843/0.526, allocations: 0.9761 MB / 0.6615 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.675e-05/0.5261, allocations: 106.8 kB / 0.6616 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001227/0.5273, allocations: 0.8825 MB / 0.6624 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.263e-05/0.5274, allocations: 33.7 kB / 0.6625 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003868/0.5278, allocations: 491.5 kB / 0.6629 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001612/0.5279, allocations: 161.7 kB / 0.6631 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002273/0.5282, allocations: 138.1 kB / 0.6632 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.5283, allocations: 334 kB / 0.6635 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008084/0.5291, allocations: 293.1 kB / 0.6638 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009614/0.5301, allocations: 492.1 kB / 0.6643 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001721/0.5318, allocations: 0.7779 MB / 0.665 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.5318, allocations: 8 kB / 0.665 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002225/0.5341, allocations: 0.9184 MB / 0.6659 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.151e-05/0.5341, allocations: 37.64 kB / 0.666 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.5341, allocations: 4.234 kB / 0.666 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/0.5342, allocations: 12 kB / 0.666 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009695/0.5351, allocations: 199.6 kB / 0.6662 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.64e-05/0.5352, allocations: 11.98 kB / 0.6662 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008468/0.536, allocations: 127.1 kB / 0.6663 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-05/0.5361, allocations: 31.98 kB / 0.6663 GB, free: 7.047 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.0004204/0.5365, allocations: 270.9 kB / 0.6666 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001528/0.5367, allocations: 106.7 kB / 0.6667 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002541/0.5393, allocations: 1.08 MB / 0.6678 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.741e-05/0.5393, allocations: 8 kB / 0.6678 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.5393, allocations: 0 / 0.6678 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.5393, allocations: 7.984 kB / 0.6678 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003682/0.543, allocations: 2.155 MB / 0.6699 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.181e-06/0.543, allocations: 0 / 0.6699 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008293/0.5439, allocations: 152 kB / 0.67 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.146e-06/0.5439, allocations: 4 kB / 0.67 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.984e-05/0.5439, allocations: 23.92 kB / 0.6701 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.825e-06/0.5439, allocations: 7.938 kB / 0.6701 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.5439, allocations: 0 / 0.6701 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003073/0.547, allocations: 1.472 MB / 0.6715 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004731/0.5475, allocations: 275.6 kB / 0.6718 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001337/0.5477, allocations: 15.91 kB / 0.6718 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000749/0.5484, allocations: 71.91 kB / 0.6718 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.5485, allocations: 44.31 kB / 0.6719 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.146e-05/0.5486, allocations: 23.98 kB / 0.6719 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000865/0.5495, allocations: 0.6301 MB / 0.6725 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.623e-06/0.5495, allocations: 0 / 0.6725 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001069/0.5506, allocations: 355.4 kB / 0.6729 GB, free: 212 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.001482/0.552, allocations: 0.6629 MB / 0.6735 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002038/0.5541, allocations: 0.8071 MB / 0.6743 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.636e-06/0.5541, allocations: 4.062 kB / 0.6743 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001013/0.5551, allocations: 406.3 kB / 0.6747 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002052/0.5572, allocations: 492.8 kB / 0.6752 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007429/0.5646, allocations: 2.336 MB / 0.6774 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006159/0.5653, allocations: 1.041 MB / 0.6785 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0008351/0.5661, allocations: 219.8 kB / 0.6787 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002586/0.5664, allocations: 99.33 kB / 0.6788 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of SimCode: time 7.72e-07/0.5664, allocations: 0 / 0.6788 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of Templates: time 0.03368/0.6001, allocations: 20.85 MB / 0.6991 GB, free: 5.629 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.pipe 2>&1)