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.001343/0.001343, allocations: 108.2 kB / 16.41 MB, free: 6.469 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.00135/0.00135, allocations: 187 kB / 17.34 MB, free: 5.715 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.412/1.412, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8503/0.8503, allocations: 135.2 MB / 426.4 MB, free: 4.055 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 62.69 kB / 0.5863 GB, free: 21.36 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.162, allocations: 80.93 MB / 0.6653 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.DHW_example): time 0.04628/0.2083, allocations: 42.02 MB / 0.7064 GB, free: 11.57 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01667/0.225, allocations: 10.94 MB / 0.7171 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002085/0.2271, allocations: 55.69 kB / 0.7171 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001899/0.229, allocations: 0.5664 MB / 0.7177 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004204/0.2332, allocations: 1.445 MB / 0.7191 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00356/0.2367, allocations: 1.301 MB / 0.7204 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004266/0.241, allocations: 2.67 MB / 0.723 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00164/0.2426, allocations: 0.8969 MB / 0.7238 GB, free: 9.625 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003052/0.2457, allocations: 1.147 MB / 0.725 GB, free: 8.48 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001403/0.2471, allocations: 0.8089 MB / 0.7257 GB, free: 7.668 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002393/0.2473, allocations: 112 kB / 0.7259 GB, free: 7.559 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001792/0.2491, allocations: 0.6904 MB / 0.7265 GB, free: 6.867 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003265/0.2494, allocations: 282.8 kB / 0.7268 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0008002/0.2502, allocations: 0.6103 MB / 0.7274 GB, free: 5.977 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00323/0.2535, allocations: 1.853 MB / 0.7292 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.2535, allocations: 0 / 0.7292 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.365e-06/0.2535, allocations: 0 / 0.7292 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.874e-05/0.2535, allocations: 0 / 0.7292 GB, free: 4.117 MB / 0.5606 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.002841/0.2563, allocations: 1.55 MB / 0.7307 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.2564, allocations: 13.11 kB / 0.7307 GB, free: 2.496 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00179/0.2582, allocations: 331.8 kB / 0.731 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001791/0.26, allocations: 0.9652 MB / 0.732 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.829e-05/0.26, allocations: 58 kB / 0.732 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001339/0.2602, allocations: 76 kB / 0.7321 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002227/0.2624, allocations: 1.008 MB / 0.7331 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.328e-05/0.2624, allocations: 0 / 0.7331 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.153e-05/0.2625, allocations: 32 kB / 0.7331 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.391e-05/0.2625, allocations: 24 kB / 0.7332 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002351/0.2649, allocations: 0.8273 MB / 0.734 GB, free: 15.09 MB / 0.5762 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.005972/0.2708, allocations: 4.029 MB / 0.7379 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001823/0.2727, allocations: 0.5875 MB / 0.7385 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008626/0.2735, allocations: 305.1 kB / 0.7388 GB, free: 9.969 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001053/0.2746, allocations: 0.934 MB / 0.7397 GB, free: 8.832 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001118/0.2757, allocations: 435.1 kB / 0.7401 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=47): time 2.184e-06/0.2757, allocations: 0 / 0.7401 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of matching and sorting (n=47): time 0.003106/0.2788, allocations: 0.9806 MB / 0.741 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.972e-05/0.2789, allocations: 106.8 kB / 0.7411 GB, free: 7.273 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0013/0.2802, allocations: 0.8825 MB / 0.742 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.43e-05/0.2803, allocations: 37.7 kB / 0.742 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004883/0.2808, allocations: 492.4 kB / 0.7425 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002151/0.281, allocations: 170.6 kB / 0.7427 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002665/0.2812, allocations: 138.2 kB / 0.7428 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001808/0.2814, allocations: 326 kB / 0.7431 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009388/0.2824, allocations: 297.1 kB / 0.7434 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001145/0.2835, allocations: 484.2 kB / 0.7439 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001927/0.2854, allocations: 0.7858 MB / 0.7446 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.2854, allocations: 4 kB / 0.7446 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002472/0.2879, allocations: 0.926 MB / 0.7455 GB, free: 2.559 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.005e-05/0.288, allocations: 42.28 kB / 0.7456 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.604e-05/0.288, allocations: 8 kB / 0.7456 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.307e-05/0.288, allocations: 12 kB / 0.7456 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009707/0.289, allocations: 199.6 kB / 0.7458 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.524e-05/0.289, allocations: 8 kB / 0.7458 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008811/0.2899, allocations: 123.3 kB / 0.7459 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.06e-05/0.29, allocations: 31.98 kB / 0.7459 GB, free: 2.137 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.0004708/0.2904, allocations: 278.8 kB / 0.7462 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001898/0.2906, allocations: 107.3 kB / 0.7463 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002851/0.2935, allocations: 1.078 MB / 0.7474 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.789e-05/0.2935, allocations: 12 kB / 0.7474 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.2935, allocations: 3.938 kB / 0.7474 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.858e-06/0.2935, allocations: 3.984 kB / 0.7474 GB, free: 0.6445 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3506/0.6441, allocations: 2.148 MB / 0.7495 GB, free: 79.81 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.298e-05/0.6441, allocations: 1.625 kB / 0.7495 GB, free: 79.81 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009201/0.645, allocations: 151.9 kB / 0.7496 GB, free: 79.81 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.459e-05/0.6451, allocations: 3.469 kB / 0.7496 GB, free: 79.81 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-05/0.6451, allocations: 20.39 kB / 0.7497 GB, free: 79.81 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.12e-05/0.6451, allocations: 7.031 kB / 0.7497 GB, free: 79.81 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.6451, allocations: 1.062 kB / 0.7497 GB, free: 79.81 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003522/0.6486, allocations: 1.472 MB / 0.7511 GB, free: 79.55 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005244/0.6492, allocations: 275.4 kB / 0.7514 GB, free: 79.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001516/0.6493, allocations: 14.31 kB / 0.7514 GB, free: 79.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007562/0.6501, allocations: 69.92 kB / 0.7514 GB, free: 79.41 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000144/0.6502, allocations: 47.58 kB / 0.7515 GB, free: 79.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.109e-05/0.6503, allocations: 28.3 kB / 0.7515 GB, free: 79.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001026/0.6513, allocations: 0.6216 MB / 0.7521 GB, free: 79.12 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.6513, allocations: 0 / 0.7521 GB, free: 79.12 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001342/0.6527, allocations: 369.7 kB / 0.7525 GB, free: 79.09 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.001979/0.6546, allocations: 0.6591 MB / 0.7531 GB, free: 78.95 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002439/0.6571, allocations: 0.783 MB / 0.7539 GB, free: 78.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.6571, allocations: 0.75 kB / 0.7539 GB, free: 78.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00116/0.6582, allocations: 387.1 kB / 0.7543 GB, free: 78.59 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00251/0.6608, allocations: 487.1 kB / 0.7547 GB, free: 78.48 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008841/0.6696, allocations: 2.397 MB / 0.7571 GB, free: 77.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009028/0.6705, allocations: 1.038 MB / 0.7581 GB, free: 76.78 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005842/0.6711, allocations: 108.2 kB / 0.7582 GB, free: 76.76 MB / 0.5762 GB Notification: Performance of SimCode: time 1.763e-06/0.6711, allocations: 0.5 kB / 0.7582 GB, free: 76.76 MB / 0.5762 GB Notification: Performance of Templates: time 0.0355/0.7066, allocations: 19.04 MB / 0.7768 GB, free: 69.02 MB / 0.5762 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)