Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002604/0.002608, allocations: 358.5 kB / 16.58 MB, free: 5.566 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.497/1.497, allocations: 165.8 MB / 183.1 MB, free: 5.465 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.664/3.664, allocations: 410.8 MB / 0.6001 GB, free: 15.18 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001724/0.001724, allocations: 188 kB / 0.6668 GB, free: 6.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000649/0.0006492, allocations: 12 kB / 0.7429 GB, free: 8.977 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4055/0.4062, allocations: 67.45 MB / 0.8087 GB, free: 28.8 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.3/1.707, allocations: 369.5 MB / 1.17 GB, free: 158.5 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003334/1.707, allocations: 102.5 kB / 1.17 GB, free: 158.5 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 1.666/3.373, allocations: 410.2 MB / 1.57 GB, free: 21.71 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.665e-06/3.373, allocations: 0 / 1.57 GB, free: 21.71 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0002291/3.373, allocations: 43.98 kB / 1.57 GB, free: 21.66 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.00815/3.381, allocations: 2.223 MB / 1.572 GB, free: 19.38 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/3.381, allocations: 8.031 kB / 1.572 GB, free: 19.38 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001456/3.383, allocations: 221.5 kB / 1.573 GB, free: 19.16 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00616/3.389, allocations: 2.006 MB / 1.575 GB, free: 17.09 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000109/3.389, allocations: 114.7 kB / 1.575 GB, free: 16.98 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004084/3.389, allocations: 159.8 kB / 1.575 GB, free: 16.82 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00443/3.394, allocations: 1.892 MB / 1.577 GB, free: 14.87 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.811e-05/3.394, allocations: 0 / 1.577 GB, free: 14.87 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00022/3.394, allocations: 60 kB / 1.577 GB, free: 14.81 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.097e-05/3.394, allocations: 43.92 kB / 1.577 GB, free: 14.77 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004384/3.399, allocations: 1.685 MB / 1.578 GB, free: 13.07 MB / 0.573 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.01797/3.417, allocations: 7.467 MB / 1.586 GB, free: 5.32 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002617/3.419, allocations: 1.413 MB / 1.587 GB, free: 3.867 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001228/3.421, allocations: 0.6408 MB / 1.588 GB, free: 3.227 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4151/3.836, allocations: 3.788 MB / 1.591 GB, free: 104.5 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.299e-05/3.836, allocations: 47 kB / 1.592 GB, free: 104.5 MB / 0.573 GB Notification: Performance of pre-optimization done (n=88): time 4.118e-06/3.836, allocations: 0 / 1.592 GB, free: 104.5 MB / 0.573 GB Notification: Performance of matching and sorting (n=88): time 0.004274/3.84, allocations: 1.474 MB / 1.593 GB, free: 104.4 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.723e-05/3.84, allocations: 64.53 kB / 1.593 GB, free: 104.4 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003862/3.844, allocations: 1.564 MB / 1.595 GB, free: 104.2 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0003679/3.845, allocations: 49.77 kB / 1.595 GB, free: 104.2 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007983/3.845, allocations: 0.7524 MB / 1.595 GB, free: 104 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005094/3.846, allocations: 307 kB / 1.596 GB, free: 103.8 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001178/3.846, allocations: 28.09 kB / 1.596 GB, free: 103.8 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001676/3.846, allocations: 366.5 kB / 1.596 GB, free: 103.5 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001747/3.848, allocations: 0.667 MB / 1.597 GB, free: 103.5 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001878/3.85, allocations: 1.018 MB / 1.598 GB, free: 103.2 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001906/3.852, allocations: 0.8569 MB / 1.598 GB, free: 103.1 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-05/3.852, allocations: 3.875 kB / 1.598 GB, free: 103.1 MB / 0.573 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.004574/3.856, allocations: 1.916 MB / 1.6 GB, free: 103 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001989/3.857, allocations: 353.8 kB / 1.601 GB, free: 102.6 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.047e-05/3.857, allocations: 9.25 kB / 1.601 GB, free: 102.6 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.599e-05/3.857, allocations: 22.19 kB / 1.601 GB, free: 102.6 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00257/3.859, allocations: 335 kB / 1.601 GB, free: 102.6 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.46e-05/3.859, allocations: 26.09 kB / 1.601 GB, free: 102.6 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002383/3.862, allocations: 212.3 kB / 1.601 GB, free: 102.6 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002613/3.862, allocations: 66.88 kB / 1.601 GB, free: 102.6 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/3.862, allocations: 2.719 kB / 1.601 GB, free: 102.6 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00446/3.867, allocations: 1.766 MB / 1.603 GB, free: 102.5 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.385e-05/3.867, allocations: 8.656 kB / 1.603 GB, free: 102.5 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.155e-05/3.867, allocations: 18.41 kB / 1.603 GB, free: 102.5 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002745/3.87, allocations: 337.5 kB / 1.603 GB, free: 102.5 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-05/3.87, allocations: 21.09 kB / 1.603 GB, free: 102.5 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002407/3.872, allocations: 186.7 kB / 1.604 GB, free: 102.5 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003083/3.872, allocations: 65.94 kB / 1.604 GB, free: 102.5 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (175): * Single equations (assignments): 175 * Array equations: 0 * Algorithm blocks: 0 * 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.001791/3.874, allocations: 0.7481 MB / 1.604 GB, free: 102.3 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005939/3.875, allocations: 146.5 kB / 1.605 GB, free: 102.2 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003258/3.878, allocations: 1.258 MB / 1.606 GB, free: 102.1 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-05/3.878, allocations: 7.344 kB / 1.606 GB, free: 102.1 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.866e-06/3.878, allocations: 0.8438 kB / 1.606 GB, free: 102.1 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002046/3.88, allocations: 1.261 MB / 1.607 GB, free: 101.7 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006298/3.887, allocations: 2.88 MB / 1.61 GB, free: 101.3 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/3.887, allocations: 0 / 1.61 GB, free: 101.3 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001518/3.888, allocations: 189.8 kB / 1.61 GB, free: 101.3 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.081e-05/3.888, allocations: 3.5 kB / 1.61 GB, free: 101.3 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.47e-05/3.888, allocations: 23.11 kB / 1.61 GB, free: 101.3 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.938e-06/3.888, allocations: 5.188 kB / 1.61 GB, free: 101.3 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/3.888, allocations: 7.453 kB / 1.61 GB, free: 101.3 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00383/3.892, allocations: 1.878 MB / 1.612 GB, free: 101 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001248/3.893, allocations: 409.2 kB / 1.612 GB, free: 100.8 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004086/3.894, allocations: 19.47 kB / 1.612 GB, free: 100.8 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00156/3.895, allocations: 74.91 kB / 1.612 GB, free: 100.8 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001516/3.896, allocations: 60.08 kB / 1.612 GB, free: 100.8 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001215/3.896, allocations: 35.77 kB / 1.612 GB, free: 100.8 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002527/3.898, allocations: 1.172 MB / 1.614 GB, free: 100.7 MB / 0.573 GB Notification: Performance of sort global known variables: time 6.41e-07/3.898, allocations: 3.5 kB / 1.614 GB, free: 100.7 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.00378/3.902, allocations: 0.9373 MB / 1.615 GB, free: 100.6 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (indTanHex.vol[1].dynBal.U,indTanHex.vol[2].dynBal.U,indTanHex.vol[3].dynBal.U,indTanHex.cap[1].T,indTanHex.cap[2].T,indTanHex.cap[3].T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 Backend phase and start with SimCode phase: time 0.001343/3.903, allocations: 499.8 kB / 1.615 GB, free: 100.5 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.004964/3.908, allocations: 2.3 MB / 1.617 GB, free: 100.5 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.697e-06/3.909, allocations: 6.406 kB / 1.617 GB, free: 100.5 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001048/3.91, allocations: 0.5056 MB / 1.618 GB, free: 100.5 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007215/3.917, allocations: 0.8643 MB / 1.619 GB, free: 100.5 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008236/3.925, allocations: 4.308 MB / 1.623 GB, free: 99.02 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001362/3.926, allocations: 1.692 MB / 1.624 GB, free: 98.3 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.004419/3.931, allocations: 0.9067 MB / 1.625 GB, free: 98.28 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006678/3.932, allocations: 136.3 kB / 1.625 GB, free: 98.27 MB / 0.573 GB Notification: Performance of SimCode: time 1.402e-06/3.932, allocations: 0 / 1.625 GB, free: 98.27 MB / 0.573 GB Notification: Performance of Templates: time 0.0788/4.01, allocations: 34.18 MB / 1.659 GB, free: 97.18 MB / 0.573 GB