Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.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.Tap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap") translateModel(IDEAS.Fluid.Taps.Examples.Tap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001602/0.001602, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001656/0.001656, allocations: 194.9 kB / 16.25 MB, free: 6.633 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.353/1.353, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9317/0.9317, allocations: 135.6 MB / 425.6 MB, free: 11.86 MB / 350.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001877/0.001877, allocations: 73.44 kB / 0.5054 GB, free: 5.203 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1617, allocations: 81.02 MB / 0.5845 GB, free: 4.324 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.Tap): time 0.2686/0.4303, allocations: 42.99 MB / 0.6265 GB, free: 29.58 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007164/0.4375, allocations: 7.265 MB / 0.6336 GB, free: 24.37 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00107/0.4386, allocations: 41.53 kB / 0.6336 GB, free: 24.35 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009692/0.4396, allocations: 402.8 kB / 0.634 GB, free: 24.08 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002745/0.4424, allocations: 1.333 MB / 0.6353 GB, free: 23.31 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001786/0.4442, allocations: 0.948 MB / 0.6362 GB, free: 22.78 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001833/0.446, allocations: 2.545 MB / 0.6387 GB, free: 21.57 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008134/0.4468, allocations: 0.8569 MB / 0.6395 GB, free: 21.16 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001635/0.4485, allocations: 1.225 MB / 0.6407 GB, free: 20.55 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005431/0.449, allocations: 0.7167 MB / 0.6414 GB, free: 20.23 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.379e-05/0.4491, allocations: 85.47 kB / 0.6415 GB, free: 20.22 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001232/0.4504, allocations: 0.8249 MB / 0.6423 GB, free: 19.89 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001563/0.4505, allocations: 232.7 kB / 0.6426 GB, free: 19.75 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003318/0.4509, allocations: 0.5158 MB / 0.6431 GB, free: 19.43 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001256/0.4521, allocations: 1.558 MB / 0.6446 GB, free: 18.84 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.4521, allocations: 0 / 0.6446 GB, free: 18.84 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.262e-06/0.4521, allocations: 0 / 0.6446 GB, free: 18.84 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.055e-05/0.4522, allocations: 0 / 0.6446 GB, free: 18.84 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: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.00152/0.4537, allocations: 1.374 MB / 0.6459 GB, free: 17.86 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.916e-05/0.4537, allocations: 10.62 kB / 0.6459 GB, free: 17.86 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001611/0.4539, allocations: 114.2 kB / 0.646 GB, free: 17.8 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006967/0.4546, allocations: 0.6971 MB / 0.6467 GB, free: 17.34 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.897e-05/0.4546, allocations: 64.34 kB / 0.6468 GB, free: 17.31 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.545e-05/0.4547, allocations: 69.09 kB / 0.6468 GB, free: 17.29 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001141/0.4559, allocations: 0.8299 MB / 0.6477 GB, free: 16.86 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/0.4559, allocations: 3.938 kB / 0.6477 GB, free: 16.85 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.5e-05/0.456, allocations: 31.25 kB / 0.6477 GB, free: 16.83 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/0.456, allocations: 18.38 kB / 0.6477 GB, free: 16.83 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001081/0.4571, allocations: 0.5874 MB / 0.6483 GB, free: 16.64 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.002586/0.4597, allocations: 3.812 MB / 0.652 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009249/0.4606, allocations: 380.2 kB / 0.6524 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004385/0.4611, allocations: 231.8 kB / 0.6526 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005894/0.4617, allocations: 1.312 MB / 0.6539 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005911/0.4623, allocations: 297.9 kB / 0.6542 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=39): time 2.004e-06/0.4623, allocations: 1.062 kB / 0.6542 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of matching and sorting (n=39): time 0.001647/0.4639, allocations: 0.6945 MB / 0.6548 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.574e-05/0.464, allocations: 65.75 kB / 0.6549 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007236/0.4647, allocations: 0.7189 MB / 0.6556 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.679e-05/0.4647, allocations: 42.33 kB / 0.6556 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002323/0.465, allocations: 446.5 kB / 0.6561 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.406e-05/0.4651, allocations: 125.5 kB / 0.6562 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001727/0.4652, allocations: 132.3 kB / 0.6563 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.434e-05/0.4653, allocations: 330 kB / 0.6566 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004802/0.4658, allocations: 214 kB / 0.6568 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006077/0.4664, allocations: 408.6 kB / 0.6572 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009848/0.4674, allocations: 0.6309 MB / 0.6578 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.4674, allocations: 1.562 kB / 0.6578 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001387/0.4688, allocations: 0.7596 MB / 0.6586 GB, free: 9.23 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.472e-05/0.4688, allocations: 67.75 kB / 0.6586 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.4689, allocations: 9.75 kB / 0.6587 GB, free: 9.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.4689, allocations: 8.031 kB / 0.6587 GB, free: 9.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00044/0.4693, allocations: 131.2 kB / 0.6588 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.28e-05/0.4694, allocations: 15.39 kB / 0.6588 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006683/0.47, allocations: 118.5 kB / 0.6589 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.19e-05/0.4701, allocations: 40.67 kB / 0.659 GB, free: 9.09 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: 13 (m_flow_set2.count,$PRE.m_flow_set2.count,m_flow_set2.T_start,$PRE.m_flow_set2.T_start,tap2.DHWCom,tap1.DHWCom,m_flow_set1.count,$PRE.m_flow_set1.count,m_flow_set1.T_start,$PRE.m_flow_set1.T_start,$whenCondition1,$whenCondition2,DHWDisCom1_Kh.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 2 * 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.0002585/0.4704, allocations: 239.8 kB / 0.6592 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/0.4705, allocations: 93.33 kB / 0.6593 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001923/0.4724, allocations: 1.112 MB / 0.6604 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-05/0.4724, allocations: 15.08 kB / 0.6604 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.4725, allocations: 0 / 0.6604 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.4725, allocations: 3.375 kB / 0.6604 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002732/0.4752, allocations: 1.924 MB / 0.6623 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.4752, allocations: 2.844 kB / 0.6623 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003712/0.4756, allocations: 95 kB / 0.6623 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/0.4756, allocations: 7.281 kB / 0.6624 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.229e-05/0.4757, allocations: 23.88 kB / 0.6624 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.055e-06/0.4757, allocations: 6.578 kB / 0.6624 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.4757, allocations: 9.406 kB / 0.6624 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002169/0.4779, allocations: 1.404 MB / 0.6638 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002742/0.4782, allocations: 258.2 kB / 0.664 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.4783, allocations: 24.56 kB / 0.664 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005588/0.4788, allocations: 75.2 kB / 0.6641 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001481/0.479, allocations: 74.39 kB / 0.6642 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.914e-05/0.479, allocations: 33.22 kB / 0.6642 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005664/0.4796, allocations: 0.4913 MB / 0.6647 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4796, allocations: 0 / 0.6647 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009666/0.4806, allocations: 331.8 kB / 0.665 GB, free: 6.242 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 1 (DHWDisCom1_Kh.y) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,m_flow_set1.T_start,m_flow_set1.count,tap1.DHWCom,tap2.DHWCom,m_flow_set2.T_start,m_flow_set2.count) * Number of discrete states: 2 (m_flow_set2.count,m_flow_set1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * When equations: 4 * 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.0007365/0.4813, allocations: 423.1 kB / 0.6654 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001601/0.483, allocations: 0.7982 MB / 0.6662 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.483, allocations: 1.062 kB / 0.6662 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000856/0.4838, allocations: 463.8 kB / 0.6666 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001598/0.4854, allocations: 378 kB / 0.667 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002211/0.4877, allocations: 1.989 MB / 0.6689 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004419/0.4881, allocations: 1.024 MB / 0.6699 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005213/0.4886, allocations: 164.3 kB / 0.6701 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001687/0.4888, allocations: 87.38 kB / 0.6702 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of SimCode: time 4.01e-07/0.4888, allocations: 0 / 0.6702 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of Templates: time 0.02917/0.518, allocations: 18.19 MB / 0.6879 GB, free: 14.3 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.sim & ./IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.pipe 2>&1)