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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.0007868/0.0007868, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.001162/0.001162, allocations: 168.7 kB / 15.95 MB, free: 204 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.302/1.302, allocations: 223.3 MB / 240 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7361/0.7361, allocations: 132.3 MB / 423.4 MB, free: 2.035 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002835/0.0002836, allocations: 13.09 kB / 0.5034 GB, free: 4.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3417/0.342, allocations: 81.58 MB / 0.5831 GB, free: 4.207 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.DHW_example): time 0.03582/0.3778, allocations: 38.54 MB / 0.6207 GB, free: 7.348 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01357/0.3914, allocations: 10.23 MB / 0.6307 GB, free: 15.04 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001537/0.393, allocations: 42.28 kB / 0.6307 GB, free: 15.02 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001352/0.3943, allocations: 393.8 kB / 0.6311 GB, free: 14.7 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003232/0.3976, allocations: 1.142 MB / 0.6322 GB, free: 13.78 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002709/0.4003, allocations: 0.9521 MB / 0.6332 GB, free: 13.11 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003618/0.404, allocations: 3.039 MB / 0.6361 GB, free: 10.28 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001297/0.4053, allocations: 0.768 MB / 0.6369 GB, free: 9.504 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0018/0.4071, allocations: 0.8788 MB / 0.6377 GB, free: 8.621 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00118/0.4083, allocations: 0.7154 MB / 0.6384 GB, free: 7.902 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001687/0.4084, allocations: 40 kB / 0.6385 GB, free: 7.863 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001368/0.4098, allocations: 423.5 kB / 0.6389 GB, free: 7.449 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002411/0.4101, allocations: 179.1 kB / 0.6391 GB, free: 7.273 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003182/0.4104, allocations: 253.1 kB / 0.6393 GB, free: 7.02 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00146/0.4119, allocations: 1.313 MB / 0.6406 GB, free: 5.703 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.4119, allocations: 0 / 0.6406 GB, free: 5.703 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.4119, allocations: 0 / 0.6406 GB, free: 5.703 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.332e-05/0.4119, allocations: 0 / 0.6406 GB, free: 5.703 MB / 478.1 MB 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.001949/0.4139, allocations: 1.318 MB / 0.6419 GB, free: 4.328 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.071e-05/0.4139, allocations: 12.03 kB / 0.6419 GB, free: 4.316 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001602/0.4155, allocations: 378.2 kB / 0.6422 GB, free: 3.945 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001386/0.4169, allocations: 0.9181 MB / 0.6431 GB, free: 2.984 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.31e-05/0.417, allocations: 62 kB / 0.6432 GB, free: 2.922 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/0.4171, allocations: 79.98 kB / 0.6433 GB, free: 2.844 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001919/0.419, allocations: 1.026 MB / 0.6443 GB, free: 1.77 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.817e-05/0.4191, allocations: 0 / 0.6443 GB, free: 1.77 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.644e-05/0.4191, allocations: 32 kB / 0.6443 GB, free: 1.738 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.804e-05/0.4192, allocations: 20 kB / 0.6443 GB, free: 1.719 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002095/0.4213, allocations: 0.8938 MB / 0.6452 GB, free: 0.8203 MB / 478.1 MB 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.004524/0.4258, allocations: 3.888 MB / 0.649 GB, free: 12.75 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001629/0.4274, allocations: 0.6715 MB / 0.6496 GB, free: 12.07 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008015/0.4282, allocations: 337.3 kB / 0.65 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008758/0.4291, allocations: 0.9535 MB / 0.6509 GB, free: 10.58 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009991/0.4301, allocations: 459.2 kB / 0.6513 GB, free: 10.11 MB / 494.1 MB Notification: Performance of pre-optimization done (n=47): time 1.963e-06/0.4302, allocations: 0 / 0.6513 GB, free: 10.11 MB / 494.1 MB Notification: Performance of matching and sorting (n=47): time 0.002648/0.4328, allocations: 1.047 MB / 0.6524 GB, free: 9.055 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/0.4329, allocations: 114.8 kB / 0.6525 GB, free: 8.918 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001007/0.4339, allocations: 0.843 MB / 0.6533 GB, free: 8.051 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.05e-05/0.434, allocations: 37.7 kB / 0.6533 GB, free: 8.008 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003509/0.4343, allocations: 483.7 kB / 0.6538 GB, free: 7.531 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000144/0.4345, allocations: 169.6 kB / 0.6539 GB, free: 7.363 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.929e-05/0.4345, allocations: 12 kB / 0.654 GB, free: 7.352 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.4346, allocations: 330 kB / 0.6543 GB, free: 7.023 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000815/0.4355, allocations: 317.1 kB / 0.6546 GB, free: 6.715 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009182/0.4364, allocations: 0.4906 MB / 0.6551 GB, free: 6.156 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000876/0.4373, allocations: 398.2 kB / 0.6554 GB, free: 5.762 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.788e-06/0.4373, allocations: 4 kB / 0.6554 GB, free: 5.758 MB / 494.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002081/0.4394, allocations: 0.9493 MB / 0.6564 GB, free: 4.793 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.403e-05/0.4394, allocations: 33.7 kB / 0.6564 GB, free: 4.754 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.4394, allocations: 8 kB / 0.6564 GB, free: 4.746 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.4395, allocations: 8.047 kB / 0.6564 GB, free: 4.738 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009493/0.4404, allocations: 212.3 kB / 0.6566 GB, free: 4.531 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.499e-05/0.4404, allocations: 15.92 kB / 0.6566 GB, free: 4.516 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008283/0.4413, allocations: 155.1 kB / 0.6568 GB, free: 4.363 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.63e-05/0.4414, allocations: 35.97 kB / 0.6568 GB, free: 4.328 MB / 494.1 MB 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.0003547/0.4417, allocations: 273 kB / 0.6571 GB, free: 4.055 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/0.4418, allocations: 98.86 kB / 0.6572 GB, free: 3.957 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002524/0.4444, allocations: 1.143 MB / 0.6583 GB, free: 2.82 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.508e-05/0.4444, allocations: 11.98 kB / 0.6583 GB, free: 2.809 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.4444, allocations: 0 / 0.6583 GB, free: 2.809 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.4444, allocations: 0 / 0.6583 GB, free: 2.809 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003467/0.4479, allocations: 2.213 MB / 0.6605 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.483e-06/0.4479, allocations: 4 kB / 0.6605 GB, free: 0.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008071/0.4487, allocations: 164 kB / 0.6606 GB, free: 348 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.4488, allocations: 4 kB / 0.6606 GB, free: 344 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.552e-05/0.4488, allocations: 19.98 kB / 0.6606 GB, free: 324 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.4488, allocations: 4 kB / 0.6606 GB, free: 320 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.526e-06/0.4488, allocations: 11.95 kB / 0.6607 GB, free: 308 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002942/0.4518, allocations: 1.546 MB / 0.6622 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000348/0.4521, allocations: 275.6 kB / 0.6624 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000125/0.4523, allocations: 11.98 kB / 0.6624 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007826/0.4531, allocations: 119.8 kB / 0.6626 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.4532, allocations: 52.27 kB / 0.6626 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.08e-05/0.4532, allocations: 27.97 kB / 0.6626 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007598/0.454, allocations: 0.6025 MB / 0.6632 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.01e-07/0.454, allocations: 0 / 0.6632 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009351/0.455, allocations: 347.4 kB / 0.6636 GB, free: 13.27 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.001234/0.4562, allocations: 0.622 MB / 0.6642 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001899/0.4581, allocations: 0.8499 MB / 0.665 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.684e-06/0.4581, allocations: 4.062 kB / 0.665 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009543/0.4591, allocations: 434.6 kB / 0.6654 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001935/0.461, allocations: 456.8 kB / 0.6658 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007319/0.4684, allocations: 2.944 MB / 0.6687 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005505/0.4689, allocations: 1.049 MB / 0.6697 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0008174/0.4698, allocations: 206.9 kB / 0.6699 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002419/0.47, allocations: 91.39 kB / 0.67 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of SimCode: time 6.51e-07/0.47, allocations: 4 kB / 0.67 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of Templates: time 0.0288/0.4988, allocations: 19.08 MB / 0.6887 GB, free: 3.941 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.makefile (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)