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.001238/0.001238, allocations: 103.6 kB / 16.35 MB, free: 6.289 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.001229/0.001229, allocations: 193.4 kB / 17.3 MB, free: 5.859 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.312/1.312, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7689/0.7689, allocations: 135.1 MB / 426.3 MB, free: 4.152 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 59.91 kB / 0.5067 GB, free: 7.688 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3753/0.3765, allocations: 80.91 MB / 0.5857 GB, free: 25.54 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.DHW_example): time 0.03313/0.4097, allocations: 41.97 MB / 0.6267 GB, free: 0.5195 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0152/0.4249, allocations: 10.92 MB / 0.6374 GB, free: 5.57 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002287/0.4272, allocations: 51.69 kB / 0.6374 GB, free: 5.52 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001686/0.4289, allocations: 0.5547 MB / 0.638 GB, free: 4.961 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003999/0.433, allocations: 1.41 MB / 0.6394 GB, free: 3.543 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00337/0.4364, allocations: 1.302 MB / 0.6406 GB, free: 2.262 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003585/0.44, allocations: 2.67 MB / 0.6432 GB, free: 15.58 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001406/0.4414, allocations: 1.09 MB / 0.6443 GB, free: 14.47 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002611/0.444, allocations: 1.133 MB / 0.6454 GB, free: 13.34 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001113/0.4452, allocations: 0.8166 MB / 0.6462 GB, free: 12.52 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001525/0.4453, allocations: 112 kB / 0.6463 GB, free: 12.41 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002079/0.4474, allocations: 0.6943 MB / 0.647 GB, free: 11.71 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003005/0.4477, allocations: 259 kB / 0.6472 GB, free: 11.46 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007622/0.4485, allocations: 0.6181 MB / 0.6478 GB, free: 10.84 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002486/0.451, allocations: 1.846 MB / 0.6496 GB, free: 8.988 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.451, allocations: 0 / 0.6496 GB, free: 8.988 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.451, allocations: 0 / 0.6496 GB, free: 8.988 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.663e-05/0.451, allocations: 0 / 0.6496 GB, free: 8.988 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.002289/0.4533, allocations: 1.507 MB / 0.6511 GB, free: 7.422 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.4534, allocations: 17.11 kB / 0.6511 GB, free: 7.406 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001612/0.455, allocations: 327.1 kB / 0.6514 GB, free: 7.086 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001654/0.4567, allocations: 0.9529 MB / 0.6524 GB, free: 6.09 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.866e-05/0.4567, allocations: 61.98 kB / 0.6524 GB, free: 6.027 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001196/0.4569, allocations: 80 kB / 0.6525 GB, free: 5.949 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001912/0.4588, allocations: 1.011 MB / 0.6535 GB, free: 4.887 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.896e-05/0.4588, allocations: 0 / 0.6535 GB, free: 4.887 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.697e-05/0.4589, allocations: 32 kB / 0.6535 GB, free: 4.855 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.21e-05/0.4589, allocations: 20 kB / 0.6535 GB, free: 4.836 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002047/0.461, allocations: 0.8234 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.005787/0.4668, allocations: 4.007 MB / 0.6583 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001647/0.4684, allocations: 0.6177 MB / 0.6589 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007865/0.4692, allocations: 317.1 kB / 0.6592 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009888/0.4702, allocations: 0.9379 MB / 0.6601 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001015/0.4713, allocations: 431.2 kB / 0.6605 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=47): time 2.114e-06/0.4713, allocations: 0 / 0.6605 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of matching and sorting (n=47): time 0.002925/0.4742, allocations: 0.9722 MB / 0.6614 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.769e-05/0.4743, allocations: 114.8 kB / 0.6616 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001253/0.4756, allocations: 0.8708 MB / 0.6624 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.143e-05/0.4756, allocations: 37.7 kB / 0.6624 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004484/0.4761, allocations: 499.5 kB / 0.6629 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001501/0.4762, allocations: 161.7 kB / 0.6631 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002275/0.4765, allocations: 134.1 kB / 0.6632 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.4766, allocations: 326 kB / 0.6635 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007943/0.4774, allocations: 309 kB / 0.6638 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009317/0.4784, allocations: 476.2 kB / 0.6643 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001715/0.4801, allocations: 0.7897 MB / 0.665 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.4801, allocations: 0 / 0.665 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002212/0.4823, allocations: 0.9223 MB / 0.6659 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.311e-05/0.4824, allocations: 37.7 kB / 0.666 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.4824, allocations: 8 kB / 0.666 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.264e-05/0.4824, allocations: 8 kB / 0.666 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009524/0.4834, allocations: 199.6 kB / 0.6662 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.637e-05/0.4834, allocations: 11.98 kB / 0.6662 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008149/0.4842, allocations: 123 kB / 0.6663 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.625e-05/0.4843, allocations: 35.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.0004264/0.4848, allocations: 270.9 kB / 0.6666 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001574/0.4849, allocations: 106.7 kB / 0.6667 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002576/0.4875, allocations: 1.078 MB / 0.6678 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-05/0.4875, allocations: 8 kB / 0.6678 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/0.4875, allocations: 4 kB / 0.6678 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/0.4876, allocations: 3.984 kB / 0.6678 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003743/0.4913, allocations: 2.155 MB / 0.6699 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.248e-06/0.4913, allocations: 4 kB / 0.6699 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008232/0.4922, allocations: 155.9 kB / 0.67 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.205e-06/0.4922, allocations: 4 kB / 0.67 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.933e-05/0.4922, allocations: 19.98 kB / 0.67 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.642e-06/0.4922, allocations: 4 kB / 0.6701 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/0.4923, allocations: 7.922 kB / 0.6701 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002967/0.4952, allocations: 1.472 MB / 0.6715 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000419/0.4957, allocations: 271.6 kB / 0.6718 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000132/0.4958, allocations: 19.97 kB / 0.6718 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007131/0.4965, allocations: 63.91 kB / 0.6718 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001572/0.4967, allocations: 52.31 kB / 0.6719 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.86e-05/0.4967, allocations: 23.98 kB / 0.6719 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00085/0.4976, allocations: 0.6222 MB / 0.6725 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4977, allocations: 4 kB / 0.6725 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001068/0.4987, allocations: 355.5 kB / 0.6729 GB, free: 208 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.001487/0.5002, allocations: 0.6562 MB / 0.6735 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001956/0.5022, 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.366e-06/0.5022, allocations: 3.938 kB / 0.6743 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009624/0.5032, allocations: 410.4 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.001856/0.505, allocations: 489.5 kB / 0.6752 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007402/0.5125, allocations: 2.339 MB / 0.6774 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006653/0.5131, allocations: 1.037 MB / 0.6784 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0007889/0.5139, allocations: 227.6 kB / 0.6787 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002423/0.5142, allocations: 99.39 kB / 0.6788 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of SimCode: time 9.02e-07/0.5142, allocations: 0 / 0.6788 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of Templates: time 0.03325/0.5475, allocations: 20.84 MB / 0.6991 GB, free: 5.621 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 cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.pipe 2>&1)