Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS.Fluid.Taps.Examples.DHW_example") translateModel(IDEAS.Fluid.Taps.Examples.DHW_example,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0008591/0.0008591, allocations: 99.7 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.0008621/0.0008622, allocations: 177.3 kB / 15.94 MB, free: 228 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.23/1.23, allocations: 223.2 MB / 239.9 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8421/0.8421, allocations: 135.2 MB / 426.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000317/0.0003171, allocations: 11.98 kB / 0.5068 GB, free: 5.289 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1504, allocations: 82.3 MB / 0.5872 GB, free: 3.156 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.DHW_example): time 0.2758/0.4263, allocations: 34.99 MB / 0.6214 GB, free: 33.95 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009499/0.4358, allocations: 9.466 MB / 0.6306 GB, free: 28.33 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001251/0.4371, allocations: 44.34 kB / 0.6306 GB, free: 28.31 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00157/0.4387, allocations: 0.5289 MB / 0.6312 GB, free: 28 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004637/0.4433, allocations: 1.613 MB / 0.6327 GB, free: 26.96 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003355/0.4467, allocations: 1.453 MB / 0.6342 GB, free: 26.25 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002518/0.4492, allocations: 1.593 MB / 0.6357 GB, free: 25.4 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001005/0.4502, allocations: 0.7827 MB / 0.6365 GB, free: 25.11 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001389/0.4516, allocations: 0.8108 MB / 0.6373 GB, free: 24.71 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005757/0.4522, allocations: 0.5135 MB / 0.6378 GB, free: 24.48 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.566e-05/0.4523, allocations: 40.62 kB / 0.6378 GB, free: 24.48 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001365/0.4537, allocations: 490.2 kB / 0.6383 GB, free: 24.38 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001476/0.4538, allocations: 183.4 kB / 0.6384 GB, free: 24.27 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001711/0.454, allocations: 242.3 kB / 0.6387 GB, free: 24.13 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009744/0.455, allocations: 1.3 MB / 0.6399 GB, free: 23.8 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.455, allocations: 0 / 0.6399 GB, free: 23.8 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.363e-06/0.455, allocations: 4 kB / 0.6399 GB, free: 23.79 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.182e-05/0.455, 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.001701/0.4567, allocations: 1.309 MB / 0.6412 GB, free: 22.88 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.086e-05/0.4568, allocations: 8.844 kB / 0.6412 GB, free: 22.88 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001621/0.4584, allocations: 389.4 kB / 0.6416 GB, free: 22.8 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001175/0.4596, allocations: 0.8713 MB / 0.6425 GB, free: 22.25 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.461e-05/0.4596, allocations: 59.19 kB / 0.6425 GB, free: 22.22 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001008/0.4598, allocations: 81 kB / 0.6426 GB, free: 22.2 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001622/0.4614, allocations: 1.027 MB / 0.6436 GB, free: 21.73 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.4614, allocations: 0 / 0.6436 GB, free: 21.73 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.125e-05/0.4615, allocations: 32.75 kB / 0.6436 GB, free: 21.7 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.759e-05/0.4615, allocations: 19.16 kB / 0.6436 GB, free: 21.7 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001867/0.4634, allocations: 0.895 MB / 0.6445 GB, free: 21.43 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.004025/0.4674, allocations: 3.899 MB / 0.6483 GB, free: 18.71 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001575/0.469, allocations: 0.6647 MB / 0.649 GB, free: 18.5 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007353/0.4698, allocations: 0.9476 MB / 0.6499 GB, free: 17.45 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009063/0.4707, allocations: 452.7 kB / 0.6503 GB, free: 17.29 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=47): time 2.495e-06/0.4707, allocations: 2.938 kB / 0.6503 GB, free: 17.29 MB / 0.4981 GB Notification: Performance of matching and sorting (n=47): time 0.002593/0.4733, allocations: 1.052 MB / 0.6514 GB, free: 16.95 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.4733, allocations: 119 kB / 0.6515 GB, free: 16.82 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009317/0.4743, allocations: 0.8783 MB / 0.6523 GB, free: 16.43 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.358e-05/0.4743, allocations: 39.8 kB / 0.6524 GB, free: 16.39 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000277/0.4746, allocations: 480.8 kB / 0.6528 GB, free: 16.02 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001211/0.4748, allocations: 159.2 kB / 0.653 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.349e-05/0.4748, allocations: 11.69 kB / 0.653 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.619e-05/0.4749, allocations: 332.6 kB / 0.6533 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008298/0.4757, allocations: 315.4 kB / 0.6536 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009198/0.4766, allocations: 0.4911 MB / 0.6541 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008981/0.4775, allocations: 383.8 kB / 0.6545 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.4775, allocations: 1.312 kB / 0.6545 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002258/0.4798, allocations: 0.9598 MB / 0.6554 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.018e-05/0.4799, allocations: 41.39 kB / 0.6554 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.4799, allocations: 9.188 kB / 0.6554 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.6e-05/0.4799, allocations: 13.16 kB / 0.6555 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000966/0.4809, allocations: 214 kB / 0.6557 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.446e-05/0.4809, allocations: 7.375 kB / 0.6557 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009033/0.4818, allocations: 158.2 kB / 0.6558 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.368e-05/0.4819, allocations: 40.19 kB / 0.6559 GB, free: 14.54 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.0004005/0.4823, allocations: 265.1 kB / 0.6561 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/0.4824, allocations: 99.81 kB / 0.6562 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002724/0.4852, allocations: 1.135 MB / 0.6573 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.847e-05/0.4852, allocations: 8.094 kB / 0.6573 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.4852, allocations: 0.5625 kB / 0.6573 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/0.4852, allocations: 3.875 kB / 0.6573 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00372/0.4889, allocations: 2.214 MB / 0.6595 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.311e-06/0.489, allocations: 1.375 kB / 0.6595 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008281/0.4898, allocations: 172.8 kB / 0.6597 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-06/0.4898, allocations: 3.719 kB / 0.6597 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.582e-05/0.4899, allocations: 23.7 kB / 0.6597 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.484e-06/0.4899, allocations: 7.141 kB / 0.6597 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.4899, allocations: 6.25 kB / 0.6597 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003/0.4929, allocations: 1.604 MB / 0.6613 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004709/0.4934, allocations: 289.8 kB / 0.6615 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001288/0.4935, allocations: 22.02 kB / 0.6616 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008067/0.4943, allocations: 113.2 kB / 0.6617 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/0.4945, allocations: 43.81 kB / 0.6617 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-05/0.4945, allocations: 25.69 kB / 0.6617 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008336/0.4954, allocations: 0.6241 MB / 0.6623 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.1e-07/0.4954, allocations: 0 / 0.6623 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00103/0.4964, allocations: 365 kB / 0.6627 GB, free: 11.31 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.001141/0.4976, allocations: 0.6643 MB / 0.6633 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001957/0.4995, allocations: 0.8408 MB / 0.6642 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.4995, allocations: 0.9062 kB / 0.6642 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009697/0.5005, allocations: 438.7 kB / 0.6646 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001912/0.5024, allocations: 449.6 kB / 0.665 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007601/0.51, allocations: 2.93 MB / 0.6679 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005041/0.5106, allocations: 1.06 MB / 0.6689 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0009458/0.5115, allocations: 213.1 kB / 0.6691 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002422/0.5118, allocations: 105.5 kB / 0.6692 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of SimCode: time 8.82e-07/0.5118, allocations: 0 / 0.6692 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of Templates: time 0.03078/0.5426, allocations: 19.65 MB / 0.6884 GB, free: 1.629 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.pipe ; mkfifo IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.pipe >> ../files/IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.sim & ./IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.pipe 2>&1) Environment - environmentSimulation: