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.0009303/0.0009303, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001169/0.001169, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.236/1.236, allocations: 223.2 MB / 239.9 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8761/0.8761, allocations: 135.2 MB / 426.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000277/0.0002771, allocations: 8 kB / 0.5068 GB, free: 5.277 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.144, allocations: 82.31 MB / 0.5872 GB, free: 3.141 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.DHW_example): time 0.2716/0.4156, allocations: 34.99 MB / 0.6214 GB, free: 34 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01004/0.4256, allocations: 9.473 MB / 0.6306 GB, free: 28.32 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001262/0.4269, allocations: 42.62 kB / 0.6306 GB, free: 28.3 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001266/0.4282, allocations: 0.5188 MB / 0.6312 GB, free: 28 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003527/0.4318, allocations: 1.626 MB / 0.6327 GB, free: 26.94 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003181/0.435, allocations: 1.44 MB / 0.6341 GB, free: 26.25 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002174/0.4371, allocations: 1.592 MB / 0.6357 GB, free: 25.39 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008164/0.438, allocations: 0.7759 MB / 0.6365 GB, free: 25.11 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001163/0.4391, allocations: 0.8102 MB / 0.6373 GB, free: 24.71 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005125/0.4397, allocations: 0.5201 MB / 0.6378 GB, free: 24.47 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.782e-05/0.4397, allocations: 38.62 kB / 0.6378 GB, free: 24.47 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001163/0.4409, allocations: 489.7 kB / 0.6383 GB, free: 24.37 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001379/0.4411, allocations: 175.4 kB / 0.6384 GB, free: 24.27 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001641/0.4412, allocations: 249.5 kB / 0.6387 GB, free: 24.12 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009812/0.4422, allocations: 1.298 MB / 0.6399 GB, free: 23.79 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.4422, allocations: 0 / 0.6399 GB, free: 23.79 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.214e-06/0.4422, allocations: 2.969 kB / 0.6399 GB, free: 23.79 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.148e-05/0.4423, allocations: 0 / 0.6399 GB, free: 23.79 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.001669/0.4439, allocations: 1.315 MB / 0.6412 GB, free: 22.88 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.889e-05/0.444, allocations: 13.03 kB / 0.6412 GB, free: 22.88 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001543/0.4455, allocations: 386.9 kB / 0.6416 GB, free: 22.79 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00119/0.4467, allocations: 0.8666 MB / 0.6425 GB, free: 22.25 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.583e-05/0.4468, allocations: 62.73 kB / 0.6425 GB, free: 22.22 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.892e-05/0.4469, allocations: 79.53 kB / 0.6426 GB, free: 22.19 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001714/0.4486, allocations: 1.022 MB / 0.6436 GB, free: 21.72 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.4486, allocations: 2.594 kB / 0.6436 GB, free: 21.72 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.815e-05/0.4487, allocations: 31.94 kB / 0.6436 GB, free: 21.7 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.759e-05/0.4487, allocations: 18.94 kB / 0.6436 GB, free: 21.7 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001882/0.4506, allocations: 0.8979 MB / 0.6445 GB, free: 21.42 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.003968/0.4546, allocations: 3.909 MB / 0.6483 GB, free: 18.7 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00147/0.4561, allocations: 0.6613 MB / 0.649 GB, free: 18.49 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006885/0.4568, allocations: 0.9501 MB / 0.6499 GB, free: 17.44 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008877/0.4577, allocations: 456.9 kB / 0.6503 GB, free: 17.27 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=47): time 2.184e-06/0.4577, allocations: 0 / 0.6503 GB, free: 17.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=47): time 0.002433/0.4601, allocations: 1.053 MB / 0.6514 GB, free: 16.94 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.4602, allocations: 112 kB / 0.6515 GB, free: 16.81 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008732/0.4611, allocations: 0.8812 MB / 0.6523 GB, free: 16.42 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.618e-05/0.4611, allocations: 36.95 kB / 0.6524 GB, free: 16.38 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002604/0.4614, allocations: 486.7 kB / 0.6528 GB, free: 16 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001128/0.4615, allocations: 159.2 kB / 0.653 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.536e-05/0.4615, allocations: 15.38 kB / 0.653 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.359e-05/0.4616, allocations: 333.2 kB / 0.6533 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008067/0.4624, allocations: 324.4 kB / 0.6536 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008842/0.4633, allocations: 495.8 kB / 0.6541 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008477/0.4642, allocations: 380.8 kB / 0.6545 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.4642, allocations: 5.031 kB / 0.6545 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002026/0.4662, allocations: 0.9627 MB / 0.6554 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.183e-05/0.4662, allocations: 34.05 kB / 0.6554 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.4663, allocations: 5.531 kB / 0.6554 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.4663, allocations: 8.688 kB / 0.6555 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009036/0.4672, allocations: 207.8 kB / 0.6557 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.42e-05/0.4672, allocations: 15.2 kB / 0.6557 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000845/0.4681, allocations: 164.8 kB / 0.6558 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.772e-05/0.4681, allocations: 35.98 kB / 0.6559 GB, free: 14.53 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.mDHW60C.T_start,mDHW60C.T_start,$PRE.mDHW60C.count,mDHW60C.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003443/0.4685, allocations: 259.5 kB / 0.6561 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/0.4686, allocations: 99.19 kB / 0.6562 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002563/0.4712, allocations: 1.138 MB / 0.6573 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.728e-05/0.4712, allocations: 12.31 kB / 0.6573 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.4712, allocations: 0.6094 kB / 0.6573 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.4712, allocations: 3.906 kB / 0.6573 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003488/0.4747, allocations: 2.214 MB / 0.6595 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-06/0.4747, allocations: 1.094 kB / 0.6595 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007897/0.4755, allocations: 172.7 kB / 0.6597 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.655e-06/0.4756, allocations: 11.27 kB / 0.6597 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.195e-05/0.4756, allocations: 19.02 kB / 0.6597 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.8e-06/0.4756, allocations: 4.406 kB / 0.6597 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.4756, allocations: 1.75 kB / 0.6597 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002878/0.4785, allocations: 1.604 MB / 0.6613 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003827/0.4789, allocations: 293.4 kB / 0.6615 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001246/0.479, allocations: 18.33 kB / 0.6616 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000794/0.4798, allocations: 111.8 kB / 0.6617 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.9e-05/0.4799, allocations: 49.61 kB / 0.6617 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.408e-05/0.48, allocations: 24.39 kB / 0.6617 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007738/0.4808, allocations: 0.6237 MB / 0.6623 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3e-07/0.4808, allocations: 0.9375 kB / 0.6623 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009569/0.4818, allocations: 360.5 kB / 0.6627 GB, free: 11.3 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00112/0.4829, allocations: 0.6638 MB / 0.6633 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001928/0.4848, allocations: 0.8483 MB / 0.6642 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.4848, allocations: 5.094 kB / 0.6642 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009512/0.4858, allocations: 434.2 kB / 0.6646 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00184/0.4876, allocations: 448.4 kB / 0.665 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007387/0.495, allocations: 2.928 MB / 0.6679 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004868/0.4955, allocations: 1.066 MB / 0.6689 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0008652/0.4964, allocations: 219.7 kB / 0.6691 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002307/0.4967, allocations: 92.28 kB / 0.6692 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of SimCode: time 5.21e-07/0.4967, allocations: 4 kB / 0.6692 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of Templates: time 0.03099/0.5277, allocations: 19.64 MB / 0.6884 GB, free: 1.609 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: