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.001252/0.001252, 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.001457/0.001457, allocations: 190.4 kB / 16.25 MB, free: 6.637 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.526/1.526, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.023/1.023, allocations: 135.1 MB / 425.2 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 70.73 kB / 0.5049 GB, free: 5.637 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1711/0.1723, allocations: 80.92 MB / 0.5839 GB, free: 4.883 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.DHW_example): time 0.3654/0.5378, allocations: 41.62 MB / 0.6245 GB, free: 30.89 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01449/0.5523, allocations: 10.81 MB / 0.6351 GB, free: 23.31 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002814/0.5552, allocations: 49.03 kB / 0.6351 GB, free: 23.29 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002038/0.5572, allocations: 476.3 kB / 0.6356 GB, free: 23 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00483/0.5621, allocations: 1.313 MB / 0.6369 GB, free: 22.23 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003494/0.5656, allocations: 1.177 MB / 0.638 GB, free: 21.57 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006482/0.5721, allocations: 2.684 MB / 0.6406 GB, free: 20.27 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003539/0.5757, allocations: 1.083 MB / 0.6417 GB, free: 19.75 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004691/0.5805, allocations: 1.136 MB / 0.6428 GB, free: 19.2 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001848/0.5824, allocations: 0.8307 MB / 0.6436 GB, free: 18.8 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005188/0.5829, allocations: 114.5 kB / 0.6437 GB, free: 18.8 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002482/0.5854, allocations: 0.6903 MB / 0.6444 GB, free: 18.6 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004967/0.5859, allocations: 269.7 kB / 0.6446 GB, free: 18.42 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001342/0.5873, allocations: 0.6222 MB / 0.6453 GB, free: 18.03 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004025/0.5913, allocations: 1.828 MB / 0.647 GB, free: 17.32 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.5913, allocations: 0 / 0.647 GB, free: 17.32 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.274e-06/0.5914, allocations: 4 kB / 0.647 GB, free: 17.32 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.186e-05/0.5914, allocations: 0 / 0.647 GB, free: 17.32 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.002571/0.594, allocations: 1.511 MB / 0.6485 GB, free: 16.27 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.594, allocations: 7.875 kB / 0.6485 GB, free: 16.27 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001693/0.5957, allocations: 326.2 kB / 0.6488 GB, free: 16.2 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001449/0.5972, allocations: 0.9454 MB / 0.6498 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.812e-05/0.5972, allocations: 62.91 kB / 0.6498 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001169/0.5974, allocations: 85.64 kB / 0.6499 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001947/0.5993, allocations: 0.9859 MB / 0.6509 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.412e-05/0.5994, allocations: 3.938 kB / 0.6509 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-05/0.5994, allocations: 34.88 kB / 0.6509 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.999e-05/0.5995, allocations: 19.97 kB / 0.6509 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002121/0.6016, allocations: 0.8265 MB / 0.6517 GB, free: 14.78 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.005646/0.6073, allocations: 3.844 MB / 0.6555 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001781/0.6091, allocations: 0.6133 MB / 0.6561 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008347/0.6099, allocations: 310.3 kB / 0.6564 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008668/0.6108, allocations: 0.9421 MB / 0.6573 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001124/0.6119, allocations: 429.9 kB / 0.6577 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=47): time 2.455e-06/0.6119, allocations: 0 / 0.6577 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of matching and sorting (n=47): time 0.003315/0.6153, allocations: 0.9695 MB / 0.6587 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.579e-05/0.6153, allocations: 108.8 kB / 0.6588 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001559/0.6169, allocations: 0.854 MB / 0.6596 GB, free: 9.727 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001037/0.617, allocations: 38.12 kB / 0.6596 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000424/0.6175, allocations: 485.3 kB / 0.6601 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001838/0.6176, allocations: 164.6 kB / 0.6602 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002651/0.6179, allocations: 129.6 kB / 0.6604 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.537e-05/0.618, allocations: 330.3 kB / 0.6607 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009603/0.619, allocations: 298 kB / 0.661 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001082/0.6201, allocations: 474.2 kB / 0.6614 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001878/0.622, allocations: 0.7636 MB / 0.6622 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.381e-06/0.622, allocations: 1.156 kB / 0.6622 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002658/0.6246, allocations: 0.9057 MB / 0.6631 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.721e-05/0.6247, allocations: 34.36 kB / 0.6631 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.72e-05/0.6247, allocations: 5.594 kB / 0.6631 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.201e-05/0.6248, allocations: 12.69 kB / 0.6631 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001036/0.6258, allocations: 194.9 kB / 0.6633 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.963e-05/0.6258, allocations: 12.48 kB / 0.6633 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001229/0.6271, allocations: 141.4 kB / 0.6634 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.19e-05/0.6272, allocations: 33.36 kB / 0.6635 GB, free: 7.523 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.0005244/0.6277, allocations: 262 kB / 0.6637 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002007/0.6279, allocations: 100.5 kB / 0.6638 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002954/0.6309, allocations: 1.09 MB / 0.6649 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.729e-05/0.6309, allocations: 11.97 kB / 0.6649 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.6309, allocations: 1.344 kB / 0.6649 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.335e-05/0.6309, allocations: 2.906 kB / 0.6649 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004356/0.6353, allocations: 2.153 MB / 0.667 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.745e-06/0.6353, allocations: 2.094 kB / 0.667 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000869/0.6362, allocations: 149.4 kB / 0.6671 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.447e-06/0.6362, allocations: 12.53 kB / 0.6672 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.255e-05/0.6363, allocations: 18.75 kB / 0.6672 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.453e-06/0.6363, allocations: 4.438 kB / 0.6672 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.6363, allocations: 6.234 kB / 0.6672 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003382/0.6397, allocations: 1.467 MB / 0.6686 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000581/0.6403, allocations: 267.9 kB / 0.6689 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001403/0.6404, allocations: 13.48 kB / 0.6689 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008697/0.6413, allocations: 99.44 kB / 0.669 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001449/0.6415, allocations: 52.59 kB / 0.669 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.048e-05/0.6415, allocations: 24.12 kB / 0.6691 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009681/0.6425, allocations: 0.6106 MB / 0.6696 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6425, allocations: 5.031 kB / 0.6697 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001273/0.6438, allocations: 348 kB / 0.67 GB, free: 4.43 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.001451/0.6453, allocations: 0.6509 MB / 0.6706 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002441/0.6477, allocations: 0.8465 MB / 0.6714 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.6477, allocations: 0 / 0.6714 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001033/0.6488, allocations: 413.1 kB / 0.6718 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002237/0.651, allocations: 484.4 kB / 0.6723 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007966/0.659, allocations: 2.736 MB / 0.675 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000628/0.6597, allocations: 1.039 MB / 0.676 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001092/0.6608, allocations: 219.1 kB / 0.6762 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002687/0.661, allocations: 97.06 kB / 0.6763 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of SimCode: time 9.92e-07/0.661, allocations: 0 / 0.6763 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of Templates: time 0.03979/0.7008, allocations: 20.38 MB / 0.6962 GB, free: 9.848 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)