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.005755/0.005755, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001516/0.001516, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.008/1.008, allocations: 135.1 MB / 425.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 59.91 kB / 0.5856 GB, free: 3.363 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4393/0.4405, allocations: 80.91 MB / 0.6646 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.DHW_example): time 0.04036/0.4809, allocations: 41.96 MB / 0.7056 GB, free: 5.934 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01698/0.4979, allocations: 10.92 MB / 0.7163 GB, free: 12.63 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003129/0.5011, allocations: 51.69 kB / 0.7163 GB, free: 12.58 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002078/0.5032, allocations: 0.5509 MB / 0.7169 GB, free: 12.02 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004784/0.508, allocations: 1.457 MB / 0.7183 GB, free: 10.56 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003767/0.5118, allocations: 1.299 MB / 0.7195 GB, free: 9.273 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004233/0.5161, allocations: 2.682 MB / 0.7222 GB, free: 6.586 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001855/0.5179, allocations: 1.092 MB / 0.7232 GB, free: 5.477 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003118/0.5211, allocations: 1.149 MB / 0.7244 GB, free: 4.328 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001479/0.5226, allocations: 0.8237 MB / 0.7252 GB, free: 3.504 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003204/0.5229, allocations: 112 kB / 0.7253 GB, free: 3.395 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002024/0.5249, allocations: 0.6865 MB / 0.7259 GB, free: 2.707 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003455/0.5253, allocations: 271 kB / 0.7262 GB, free: 2.441 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0007613/0.526, allocations: 0.6103 MB / 0.7268 GB, free: 1.828 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002613/0.5287, allocations: 1.848 MB / 0.7286 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.5287, allocations: 0 / 0.7286 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5287, allocations: 0 / 0.7286 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.42e-05/0.5287, allocations: 0 / 0.7286 GB, free: 15.98 MB / 0.5606 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.002276/0.531, allocations: 1.511 MB / 0.7301 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.531, allocations: 12.03 kB / 0.7301 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00157/0.5326, allocations: 323 kB / 0.7304 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001566/0.5342, allocations: 0.9604 MB / 0.7313 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.754e-05/0.5343, allocations: 58 kB / 0.7314 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001237/0.5344, allocations: 80 kB / 0.7315 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001903/0.5363, allocations: 1.004 MB / 0.7324 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/0.5363, allocations: 0 / 0.7324 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.031e-05/0.5364, allocations: 35.98 kB / 0.7325 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.087e-05/0.5365, allocations: 20 kB / 0.7325 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00205/0.5385, allocations: 0.8195 MB / 0.7333 GB, free: 11 MB / 0.5606 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.004982/0.5435, allocations: 4.013 MB / 0.7372 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001587/0.5451, allocations: 0.6091 MB / 0.7378 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007466/0.5459, allocations: 313.4 kB / 0.7381 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000929/0.5468, allocations: 0.9418 MB / 0.739 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009856/0.5478, allocations: 435.1 kB / 0.7394 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=47): time 2.445e-06/0.5478, allocations: 4 kB / 0.7394 GB, free: 4.277 MB / 0.5606 GB Notification: Performance of matching and sorting (n=47): time 0.002676/0.5505, allocations: 0.9575 MB / 0.7404 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.449e-05/0.5506, allocations: 118.8 kB / 0.7405 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001115/0.5517, allocations: 0.8863 MB / 0.7414 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.136e-05/0.5518, allocations: 33.7 kB / 0.7414 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003818/0.5521, allocations: 491.6 kB / 0.7419 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000152/0.5523, allocations: 161.7 kB / 0.742 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002228/0.5525, allocations: 134.2 kB / 0.7421 GB, free: 1.441 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.5527, allocations: 322 kB / 0.7424 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007917/0.5535, allocations: 305.1 kB / 0.7427 GB, free: 0.8242 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009346/0.5544, allocations: 484.1 kB / 0.7432 GB, free: 280 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001678/0.5561, allocations: 0.7859 MB / 0.744 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.5561, allocations: 4 kB / 0.744 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002138/0.5582, allocations: 0.9261 MB / 0.7449 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.222e-05/0.5583, allocations: 43.97 kB / 0.7449 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.5583, allocations: 4 kB / 0.7449 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.287e-05/0.5583, allocations: 8 kB / 0.7449 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009436/0.5593, allocations: 195.7 kB / 0.7451 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.5e-05/0.5593, allocations: 11.94 kB / 0.7451 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007645/0.5601, allocations: 119.2 kB / 0.7452 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.283e-05/0.5602, allocations: 40.05 kB / 0.7453 GB, free: 14.05 MB / 0.5762 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.0004002/0.5606, allocations: 269.6 kB / 0.7455 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001484/0.5608, allocations: 102.7 kB / 0.7456 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002488/0.5632, allocations: 1.078 MB / 0.7467 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-05/0.5633, allocations: 7.984 kB / 0.7467 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.5633, allocations: 4 kB / 0.7467 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.5633, allocations: 4 kB / 0.7467 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003578/0.5669, allocations: 2.151 MB / 0.7488 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.749e-06/0.5669, allocations: 8 kB / 0.7488 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008433/0.5678, allocations: 155.9 kB / 0.749 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.165e-06/0.5678, allocations: 4 kB / 0.749 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.564e-05/0.5678, allocations: 19.98 kB / 0.749 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/0.5679, allocations: 7.938 kB / 0.749 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.5679, allocations: 3.938 kB / 0.749 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003097/0.571, allocations: 1.457 MB / 0.7504 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004451/0.5714, allocations: 279.5 kB / 0.7507 GB, free: 8.355 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001174/0.5715, allocations: 12 kB / 0.7507 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007065/0.5723, allocations: 63.91 kB / 0.7508 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/0.5724, allocations: 56.25 kB / 0.7508 GB, free: 8.227 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.025e-05/0.5725, allocations: 23.98 kB / 0.7508 GB, free: 8.203 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008838/0.5734, allocations: 0.6261 MB / 0.7514 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.81e-07/0.5734, allocations: 0 / 0.7514 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001108/0.5745, allocations: 363.4 kB / 0.7518 GB, free: 7.211 MB / 0.5762 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.001457/0.5759, allocations: 0.6608 MB / 0.7524 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001968/0.5779, allocations: 0.807 MB / 0.7532 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.5779, allocations: 4.062 kB / 0.7532 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009599/0.5789, allocations: 406.3 kB / 0.7536 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001871/0.5808, allocations: 482.5 kB / 0.7541 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007256/0.588, allocations: 2.332 MB / 0.7564 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00067/0.5887, allocations: 1.041 MB / 0.7574 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007803/0.5895, allocations: 215.7 kB / 0.7576 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002439/0.5898, allocations: 99.39 kB / 0.7577 GB, free: 1.258 MB / 0.5762 GB Notification: Performance of SimCode: time 6.61e-07/0.5898, allocations: 3.938 kB / 0.7577 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of Templates: time 0.03503/0.6248, allocations: 21.02 MB / 0.7782 GB, free: 12.47 MB / 0.6075 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)