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.009331/0.009332, allocations: 102.3 kB / 15.73 MB, free: 6.039 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.001951/0.001951, allocations: 189.1 kB / 16.67 MB, free: 5.973 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.415/1.415, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.955/0.955, allocations: 135.1 MB / 425.7 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 59.89 kB / 0.5856 GB, free: 3.406 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4536/0.455, allocations: 80.92 MB / 0.6646 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.DHW_example): time 0.04174/0.4967, allocations: 41.96 MB / 0.7056 GB, free: 6.133 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01834/0.5151, allocations: 10.92 MB / 0.7163 GB, free: 12.78 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003222/0.5184, allocations: 51.75 kB / 0.7163 GB, free: 12.73 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00214/0.5206, allocations: 0.5508 MB / 0.7169 GB, free: 12.18 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005577/0.5262, allocations: 1.457 MB / 0.7183 GB, free: 10.71 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004238/0.5305, allocations: 1.298 MB / 0.7195 GB, free: 9.426 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.005001/0.5355, allocations: 2.666 MB / 0.7221 GB, free: 6.754 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002136/0.5377, allocations: 1.094 MB / 0.7232 GB, free: 5.641 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003436/0.5411, allocations: 1.161 MB / 0.7244 GB, free: 4.484 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001763/0.5429, allocations: 0.8243 MB / 0.7252 GB, free: 3.656 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0004066/0.5433, allocations: 108 kB / 0.7253 GB, free: 3.551 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002513/0.5458, allocations: 0.6904 MB / 0.7259 GB, free: 2.859 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004836/0.5463, allocations: 263.1 kB / 0.7262 GB, free: 2.602 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0012/0.5475, allocations: 0.6142 MB / 0.7268 GB, free: 1.984 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00379/0.5513, allocations: 1.854 MB / 0.7286 GB, free: 128 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.5514, allocations: 0 / 0.7286 GB, free: 128 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.944e-06/0.5514, allocations: 0 / 0.7286 GB, free: 128 kB / 0.545 GB Notification: Performance of Transformations before backend: time 5.997e-05/0.5515, allocations: 4 kB / 0.7286 GB, free: 124 kB / 0.545 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.003278/0.5547, allocations: 1.503 MB / 0.7301 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.5548, allocations: 11.97 kB / 0.7301 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001829/0.5566, allocations: 327.1 kB / 0.7304 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001897/0.5585, allocations: 0.9604 MB / 0.7313 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.185e-05/0.5586, allocations: 58 kB / 0.7314 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001533/0.5588, allocations: 84 kB / 0.7315 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002242/0.561, allocations: 1.001 MB / 0.7324 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/0.561, allocations: 0 / 0.7324 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.675e-05/0.5611, allocations: 35.98 kB / 0.7325 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.83e-05/0.5612, allocations: 24 kB / 0.7325 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002346/0.5635, allocations: 0.8195 MB / 0.7333 GB, free: 11.14 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.005619/0.5692, allocations: 4.009 MB / 0.7372 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001787/0.571, allocations: 0.6184 MB / 0.7378 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008514/0.5718, allocations: 309.4 kB / 0.7381 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009626/0.5728, allocations: 0.9379 MB / 0.739 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001123/0.5739, allocations: 439.1 kB / 0.7394 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=47): time 2.234e-06/0.5739, allocations: 0 / 0.7394 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of matching and sorting (n=47): time 0.002969/0.5769, allocations: 0.9653 MB / 0.7404 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.13e-05/0.577, allocations: 106.8 kB / 0.7405 GB, free: 3.324 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001311/0.5783, allocations: 0.8901 MB / 0.7414 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.552e-05/0.5784, allocations: 33.7 kB / 0.7414 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004109/0.5788, allocations: 483.6 kB / 0.7419 GB, free: 1.895 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001648/0.579, allocations: 165.7 kB / 0.742 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000231/0.5792, allocations: 130.2 kB / 0.7421 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.5794, allocations: 334 kB / 0.7425 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008991/0.5803, allocations: 297.1 kB / 0.7427 GB, free: 0.9766 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00103/0.5813, allocations: 488.1 kB / 0.7432 GB, free: 432 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001881/0.5832, allocations: 0.7858 MB / 0.744 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.5832, allocations: 0 / 0.744 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002443/0.5857, allocations: 0.9257 MB / 0.7449 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.377e-05/0.5857, allocations: 41.62 kB / 0.7449 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.5857, allocations: 8 kB / 0.7449 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.265e-05/0.5858, allocations: 8 kB / 0.7449 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009693/0.5868, allocations: 200.4 kB / 0.7451 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.675e-05/0.5868, allocations: 11.94 kB / 0.7451 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008812/0.5877, allocations: 115.1 kB / 0.7452 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.437e-05/0.5878, allocations: 31.98 kB / 0.7453 GB, free: 14.21 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.0004422/0.5882, allocations: 273.6 kB / 0.7455 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002471/0.5885, allocations: 102.7 kB / 0.7456 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002763/0.5912, allocations: 1.082 MB / 0.7467 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.735e-05/0.5913, allocations: 8 kB / 0.7467 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.064e-06/0.5913, allocations: 3.984 kB / 0.7467 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.5913, allocations: 0 / 0.7467 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004056/0.5954, allocations: 2.159 MB / 0.7488 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.052e-06/0.5954, allocations: 0 / 0.7488 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008704/0.5963, allocations: 155.8 kB / 0.749 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.42e-05/0.5963, allocations: 4 kB / 0.749 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.965e-05/0.5963, allocations: 15.98 kB / 0.749 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.027e-06/0.5964, allocations: 4 kB / 0.749 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.5964, allocations: 12.09 kB / 0.749 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003377/0.5998, allocations: 1.465 MB / 0.7504 GB, free: 8.793 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004634/0.6002, allocations: 271.5 kB / 0.7507 GB, free: 8.508 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002042/0.6005, allocations: 20 kB / 0.7507 GB, free: 8.488 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008069/0.6013, allocations: 67.97 kB / 0.7508 GB, free: 8.422 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001361/0.6014, allocations: 56.25 kB / 0.7508 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.567e-05/0.6015, allocations: 23.98 kB / 0.7508 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009616/0.6025, allocations: 0.6222 MB / 0.7514 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.61e-07/0.6025, allocations: 0 / 0.7514 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001258/0.6037, allocations: 359.4 kB / 0.7518 GB, free: 7.359 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.001706/0.6054, allocations: 0.6586 MB / 0.7524 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002232/0.6077, allocations: 0.8032 MB / 0.7532 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.6077, allocations: 3.938 kB / 0.7532 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001083/0.6088, allocations: 410.7 kB / 0.7536 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002273/0.6111, allocations: 484.8 kB / 0.7541 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008071/0.6192, allocations: 2.332 MB / 0.7564 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007006/0.6199, allocations: 1.045 MB / 0.7574 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009266/0.6208, allocations: 215.7 kB / 0.7576 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003282/0.6212, allocations: 103.4 kB / 0.7577 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of SimCode: time 7.81e-07/0.6212, allocations: 0 / 0.7577 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of Templates: time 0.03835/0.6595, allocations: 21.02 MB / 0.7782 GB, free: 12.62 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)