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.0009598/0.0009599, allocations: 91.92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 180.8 kB / 16.92 MB, free: 6.652 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.36/1.36, allocations: 223.3 MB / 241 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9205/0.9205, allocations: 135.3 MB / 427.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003504/0.0003506, allocations: 8 kB / 0.5082 GB, free: 4.777 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1586, allocations: 82.32 MB / 0.5886 GB, free: 2.637 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.DHW_example): time 0.3304/0.4891, allocations: 40.76 MB / 0.6284 GB, free: 29.85 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01342/0.5026, allocations: 10.8 MB / 0.639 GB, free: 23.18 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002167/0.5048, allocations: 46.75 kB / 0.639 GB, free: 23.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001605/0.5064, allocations: 452.2 kB / 0.6394 GB, free: 22.89 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004088/0.5105, allocations: 1.322 MB / 0.6407 GB, free: 22.12 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00326/0.5138, allocations: 1.156 MB / 0.6419 GB, free: 21.46 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004403/0.5182, allocations: 3.541 MB / 0.6453 GB, free: 20.12 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001414/0.5196, allocations: 0.8715 MB / 0.6462 GB, free: 19.75 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002139/0.5218, allocations: 0.9422 MB / 0.6471 GB, free: 19.32 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001098/0.5229, allocations: 0.7751 MB / 0.6478 GB, free: 18.98 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001087/0.523, allocations: 41.12 kB / 0.6479 GB, free: 18.98 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001714/0.5247, allocations: 0.6419 MB / 0.6485 GB, free: 18.77 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001997/0.525, allocations: 189.3 kB / 0.6487 GB, free: 18.67 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005783/0.5255, allocations: 0.5574 MB / 0.6492 GB, free: 18.32 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001521/0.5271, allocations: 1.368 MB / 0.6506 GB, free: 17.98 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.5271, allocations: 0 / 0.6506 GB, free: 17.98 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5271, allocations: 4 kB / 0.6506 GB, free: 17.97 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.419e-05/0.5271, allocations: 2.875 kB / 0.6506 GB, free: 17.97 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.00199/0.5291, allocations: 1.3 MB / 0.6518 GB, free: 17.06 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.5292, allocations: 7.938 kB / 0.6519 GB, free: 17.06 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00174/0.5309, allocations: 391.5 kB / 0.6522 GB, free: 16.98 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001377/0.5323, allocations: 0.9514 MB / 0.6532 GB, free: 16.37 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.177e-05/0.5324, allocations: 59.09 kB / 0.6532 GB, free: 16.34 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/0.5325, allocations: 79.34 kB / 0.6533 GB, free: 16.32 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001867/0.5343, allocations: 1.032 MB / 0.6543 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.297e-05/0.5344, allocations: 7 kB / 0.6543 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-05/0.5345, allocations: 32.44 kB / 0.6543 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.545e-05/0.5345, allocations: 19.41 kB / 0.6544 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002153/0.5366, allocations: 0.8922 MB / 0.6552 GB, free: 15.55 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.004766/0.5414, allocations: 3.891 MB / 0.659 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00184/0.5433, allocations: 0.6629 MB / 0.6597 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009542/0.5442, allocations: 341.4 kB / 0.66 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008527/0.5451, allocations: 0.9581 MB / 0.6609 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001202/0.5463, allocations: 461.4 kB / 0.6614 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=47): time 2.695e-06/0.5463, allocations: 4 kB / 0.6614 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=47): time 0.003274/0.5496, allocations: 1.056 MB / 0.6624 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.972e-05/0.5497, allocations: 109.8 kB / 0.6625 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001378/0.5511, allocations: 0.8574 MB / 0.6633 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.227e-05/0.5512, allocations: 37.81 kB / 0.6634 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003639/0.5515, allocations: 478 kB / 0.6638 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001553/0.5517, allocations: 169 kB / 0.664 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.016e-05/0.5518, allocations: 53.95 kB / 0.6641 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.631e-05/0.5519, allocations: 331.2 kB / 0.6644 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009661/0.5528, allocations: 320.3 kB / 0.6647 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001047/0.5539, allocations: 0.4891 MB / 0.6652 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001969/0.5559, allocations: 0.8264 MB / 0.666 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/0.5559, allocations: 1.094 kB / 0.666 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002576/0.5585, allocations: 0.9574 MB / 0.6669 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.872e-05/0.5585, allocations: 35.73 kB / 0.6669 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.5586, allocations: 9.156 kB / 0.6669 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.601e-05/0.5586, allocations: 12.58 kB / 0.6669 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009839/0.5596, allocations: 212.6 kB / 0.6672 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.879e-05/0.5596, allocations: 16.53 kB / 0.6672 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001135/0.5607, allocations: 154.3 kB / 0.6673 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.115e-05/0.5608, allocations: 37.53 kB / 0.6673 GB, free: 8.27 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.0004813/0.5613, allocations: 258.6 kB / 0.6676 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000134/0.5615, allocations: 100.2 kB / 0.6677 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002707/0.5642, allocations: 1.154 MB / 0.6688 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.181e-05/0.5642, allocations: 8.109 kB / 0.6688 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.5642, allocations: 5.406 kB / 0.6688 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/0.5643, allocations: 2.953 kB / 0.6688 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003924/0.5682, allocations: 2.208 MB / 0.671 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.548e-06/0.5682, allocations: 2.406 kB / 0.671 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008675/0.5691, allocations: 167.8 kB / 0.6712 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.397e-06/0.5691, allocations: 4.188 kB / 0.6712 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.834e-05/0.5692, allocations: 22.77 kB / 0.6712 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.355e-06/0.5692, allocations: 4 kB / 0.6712 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.5692, allocations: 1.969 kB / 0.6712 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003398/0.5726, allocations: 1.552 MB / 0.6727 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005858/0.5732, allocations: 279.1 kB / 0.673 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001268/0.5733, allocations: 12.78 kB / 0.673 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008572/0.5742, allocations: 112 kB / 0.6731 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.5743, allocations: 57.09 kB / 0.6731 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.277e-05/0.5744, allocations: 24.77 kB / 0.6732 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008979/0.5753, allocations: 0.6068 MB / 0.6738 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.71e-07/0.5753, allocations: 0 / 0.6738 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001182/0.5765, allocations: 353.7 kB / 0.6741 GB, free: 5.152 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.001422/0.5779, allocations: 0.6522 MB / 0.6747 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002366/0.5803, allocations: 0.849 MB / 0.6756 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.5803, allocations: 1.344 kB / 0.6756 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001091/0.5814, allocations: 436.6 kB / 0.676 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002881/0.5843, allocations: 449.5 kB / 0.6764 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008938/0.5933, allocations: 3.034 MB / 0.6794 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006302/0.594, allocations: 1.041 MB / 0.6804 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004695/0.5944, allocations: 97.62 kB / 0.6805 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of SimCode: time 6.31e-07/0.5945, allocations: 1 kB / 0.6805 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of Templates: time 0.0344/0.6289, allocations: 18.41 MB / 0.6985 GB, free: 10.73 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)