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.001419/0.001419, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001493/0.001493, allocations: 192.4 kB / 16.14 MB, free: 6.645 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.485/1.485, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.05/1.05, allocations: 135.1 MB / 425.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 67.42 kB / 0.5047 GB, free: 5.773 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1571, allocations: 80.92 MB / 0.5837 GB, free: 5.012 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.DHW_example): time 0.3335/0.4906, allocations: 41.71 MB / 0.6244 GB, free: 30.84 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01488/0.5056, allocations: 10.92 MB / 0.6351 GB, free: 23.25 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00241/0.508, allocations: 49.19 kB / 0.6352 GB, free: 23.23 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001666/0.5097, allocations: 468.8 kB / 0.6356 GB, free: 22.95 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004585/0.5143, allocations: 1.311 MB / 0.6369 GB, free: 22.19 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003972/0.5183, allocations: 1.162 MB / 0.638 GB, free: 21.52 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004347/0.5227, allocations: 3.531 MB / 0.6415 GB, free: 20.19 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001097/0.5238, allocations: 0.918 MB / 0.6424 GB, free: 19.78 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001769/0.5256, allocations: 0.9738 MB / 0.6433 GB, free: 19.34 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008601/0.5264, allocations: 0.8128 MB / 0.6441 GB, free: 18.98 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001061/0.5265, allocations: 58.91 kB / 0.6442 GB, free: 18.98 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001586/0.5281, allocations: 0.6659 MB / 0.6448 GB, free: 18.76 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001935/0.5283, allocations: 211.4 kB / 0.645 GB, free: 18.64 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004978/0.5288, allocations: 0.5677 MB / 0.6456 GB, free: 18.3 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001752/0.5306, allocations: 1.781 MB / 0.6473 GB, free: 17.62 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.5306, allocations: 2.625 kB / 0.6473 GB, free: 17.62 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.824e-06/0.5306, allocations: 0 / 0.6473 GB, free: 17.62 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.249e-05/0.5307, allocations: 4 kB / 0.6473 GB, free: 17.61 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.002063/0.5327, allocations: 1.512 MB / 0.6488 GB, free: 16.56 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.5328, allocations: 9.219 kB / 0.6488 GB, free: 16.56 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001629/0.5344, allocations: 321.5 kB / 0.6491 GB, free: 16.49 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001261/0.5357, allocations: 0.948 MB / 0.65 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.362e-05/0.5357, allocations: 65.44 kB / 0.6501 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001082/0.5358, allocations: 77.19 kB / 0.6502 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00175/0.5376, allocations: 0.9962 MB / 0.6511 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.5376, allocations: 1.219 kB / 0.6511 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.731e-05/0.5377, allocations: 35.2 kB / 0.6512 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.5e-05/0.5377, allocations: 19.91 kB / 0.6512 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002111/0.5399, allocations: 0.8227 MB / 0.652 GB, free: 15.08 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.004806/0.5447, allocations: 3.853 MB / 0.6558 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001766/0.5465, allocations: 0.6077 MB / 0.6564 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008739/0.5473, allocations: 315.3 kB / 0.6567 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008884/0.5482, allocations: 0.9382 MB / 0.6576 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00121/0.5495, allocations: 431.2 kB / 0.658 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=47): time 3.797e-06/0.5495, allocations: 5.297 kB / 0.658 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=47): time 0.003054/0.5525, allocations: 0.9697 MB / 0.6589 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.68e-05/0.5526, allocations: 109 kB / 0.659 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001298/0.5539, allocations: 0.8587 MB / 0.6599 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.553e-05/0.554, allocations: 37.42 kB / 0.6599 GB, free: 9.973 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003557/0.5543, allocations: 485.9 kB / 0.6604 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001428/0.5545, allocations: 168.5 kB / 0.6605 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002329/0.5547, allocations: 128.8 kB / 0.6607 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.589e-05/0.5548, allocations: 327.2 kB / 0.661 GB, free: 9.086 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009132/0.5557, allocations: 297.9 kB / 0.6613 GB, free: 9 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00102/0.5568, allocations: 469.6 kB / 0.6617 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001828/0.5586, allocations: 0.7562 MB / 0.6624 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/0.5586, allocations: 1.094 kB / 0.6624 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002351/0.561, allocations: 0.9102 MB / 0.6633 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.044e-05/0.561, allocations: 34.23 kB / 0.6634 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.561, allocations: 5.562 kB / 0.6634 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.74e-05/0.5611, allocations: 12.77 kB / 0.6634 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001002/0.5621, allocations: 198 kB / 0.6636 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.692e-05/0.5621, allocations: 13.06 kB / 0.6636 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001052/0.5632, allocations: 137.2 kB / 0.6637 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.874e-05/0.5633, allocations: 37.23 kB / 0.6638 GB, free: 7.812 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 (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 (73): * Single equations (assignments): 72 * 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.000472/0.5637, allocations: 262.2 kB / 0.664 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001695/0.5639, allocations: 101.3 kB / 0.6641 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002698/0.5666, allocations: 1.085 MB / 0.6652 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.798e-05/0.5667, allocations: 7.75 kB / 0.6652 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.5667, allocations: 1.906 kB / 0.6652 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/0.5667, allocations: 4.016 kB / 0.6652 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003938/0.5706, allocations: 2.155 MB / 0.6673 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.368e-06/0.5707, allocations: 2 kB / 0.6673 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008682/0.5715, allocations: 154.6 kB / 0.6674 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.013e-05/0.5715, allocations: 3.469 kB / 0.6674 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.45e-05/0.5716, allocations: 23.8 kB / 0.6675 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.304e-06/0.5716, allocations: 3.406 kB / 0.6675 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.5716, allocations: 1.281 kB / 0.6675 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003102/0.5747, allocations: 1.464 MB / 0.6689 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004559/0.5752, allocations: 268.7 kB / 0.6691 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001345/0.5753, allocations: 17.59 kB / 0.6692 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008379/0.5762, allocations: 92 kB / 0.6692 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001554/0.5764, allocations: 55.03 kB / 0.6693 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.169e-05/0.5764, allocations: 24.77 kB / 0.6693 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009648/0.5774, allocations: 0.6039 MB / 0.6699 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5774, allocations: 0 / 0.6699 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001304/0.5787, allocations: 347.9 kB / 0.6702 GB, free: 4.742 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 (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.001454/0.5802, allocations: 0.6604 MB / 0.6709 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002081/0.5823, allocations: 0.7953 MB / 0.6717 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.5823, allocations: 0 / 0.6717 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001036/0.5833, allocations: 409.1 kB / 0.6721 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002187/0.5855, allocations: 453.6 kB / 0.6725 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007936/0.5935, allocations: 2.738 MB / 0.6752 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005678/0.5941, allocations: 1.047 MB / 0.6762 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00102/0.5951, allocations: 208.8 kB / 0.6764 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002973/0.5954, allocations: 99.16 kB / 0.6765 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of SimCode: time 7.01e-07/0.5954, allocations: 1.156 kB / 0.6765 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of Templates: time 0.03997/0.6354, allocations: 19.69 MB / 0.6957 GB, free: 10.23 MB / 0.5137 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)