Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.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 Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.923/4.923, allocations: 0.5623 GB / 0.5775 GB, free: 3.363 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002598/0.002598, allocations: 360.4 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.397/4.397, allocations: 410.7 MB / 1.113 GB, free: 5.93 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001913/0.001913, allocations: 188.1 kB / 1.226 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005003/0.0005007, allocations: 12 kB / 1.349 GB, free: 8.289 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7362/0.7367, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.446/7.183, allocations: 2.086 GB / 3.547 GB, free: 272.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002859/7.184, allocations: 101.6 kB / 3.547 GB, free: 272.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.811/12, allocations: 1.025 GB / 4.572 GB, free: 3.074 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.194e-06/12, allocations: 0 / 4.572 GB, free: 3.074 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0003445/12, allocations: 52.14 kB / 4.573 GB, free: 3.023 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.7602/12.76, allocations: 2.378 MB / 4.575 GB, free: 149 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.481e-05/12.76, allocations: 11.09 kB / 4.575 GB, free: 149 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009366/12.77, allocations: 0.6306 MB / 4.575 GB, free: 148.9 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006958/12.77, allocations: 1.443 MB / 4.577 GB, free: 148.6 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009038/12.77, allocations: 162.8 kB / 4.577 GB, free: 148.6 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005384/12.77, allocations: 118.3 kB / 4.577 GB, free: 148.6 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006338/12.78, allocations: 1.472 MB / 4.579 GB, free: 148.4 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.308e-05/12.78, allocations: 7.469 kB / 4.579 GB, free: 148.4 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000298/12.78, allocations: 52.94 kB / 4.579 GB, free: 148.4 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.13e-05/12.78, allocations: 38.06 kB / 4.579 GB, free: 148.4 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006406/12.79, allocations: 1.254 MB / 4.58 GB, free: 148.4 MB / 0.9636 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.0181/12.81, allocations: 5.869 MB / 4.586 GB, free: 146 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004913/12.81, allocations: 1.161 MB / 4.587 GB, free: 145.8 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002757/12.81, allocations: 0.5754 MB / 4.587 GB, free: 145.8 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001026/12.81, allocations: 318.2 kB / 4.588 GB, free: 145.5 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002811/12.82, allocations: 0.6361 MB / 4.588 GB, free: 145.5 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=87): time 5.691e-06/12.82, allocations: 0 / 4.588 GB, free: 145.5 MB / 0.9636 GB Notification: Performance of matching and sorting (n=95): time 0.0228/12.84, allocations: 4.367 MB / 4.592 GB, free: 144.6 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.339e-05/12.84, allocations: 192.5 kB / 4.593 GB, free: 144.4 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002788/12.84, allocations: 1.332 MB / 4.594 GB, free: 144.2 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0003455/12.84, allocations: 48.02 kB / 4.594 GB, free: 144.2 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008561/12.84, allocations: 0.7267 MB / 4.595 GB, free: 144 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004924/12.84, allocations: 325 kB / 4.595 GB, free: 143.8 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.115e-05/12.84, allocations: 23.75 kB / 4.595 GB, free: 143.8 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.548e-05/12.84, allocations: 341.2 kB / 4.595 GB, free: 143.5 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001746/12.85, allocations: 478.5 kB / 4.596 GB, free: 143.5 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002007/12.85, allocations: 0.7177 MB / 4.597 GB, free: 143.3 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02083/12.87, allocations: 2.557 MB / 4.599 GB, free: 143.1 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/12.87, allocations: 0 / 4.599 GB, free: 143.1 MB / 0.9636 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.008261/12.88, allocations: 1.853 MB / 4.601 GB, free: 142.9 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.000149/12.88, allocations: 214.3 kB / 4.601 GB, free: 142.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/12.88, allocations: 6.812 kB / 4.601 GB, free: 142.7 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002346/12.88, allocations: 477.5 kB / 4.602 GB, free: 142.6 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001475/12.88, allocations: 172.8 kB / 4.602 GB, free: 142.6 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01215/12.89, allocations: 7.07 MB / 4.609 GB, free: 138.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003076/12.9, allocations: 153.9 kB / 4.609 GB, free: 138.2 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003157/12.9, allocations: 36.88 kB / 4.609 GB, free: 138.2 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/12.9, allocations: 3.344 kB / 4.609 GB, free: 138.2 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007727/12.91, allocations: 1.676 MB / 4.61 GB, free: 138.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.786e-05/12.91, allocations: 2.75 kB / 4.61 GB, free: 138.1 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00197/12.91, allocations: 449.4 kB / 4.611 GB, free: 138.1 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001464/12.91, allocations: 170.9 kB / 4.611 GB, free: 138.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01311/12.92, allocations: 8.071 MB / 4.619 GB, free: 132.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002934/12.92, allocations: 152.1 kB / 4.619 GB, free: 132.8 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002931/12.93, allocations: 38.59 kB / 4.619 GB, free: 132.8 MB / 0.9636 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.heaDyn.vol.dynBal.medium.p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con2.I.trigger_internal,con1.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 81 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 11,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.001449/12.93, allocations: 0.4974 MB / 4.62 GB, free: 132.5 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005498/12.93, allocations: 175.1 kB / 4.62 GB, free: 132.4 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007354/12.93, allocations: 1.68 MB / 4.621 GB, free: 132.3 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.637e-05/12.93, allocations: 9.781 kB / 4.621 GB, free: 132.3 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/12.93, allocations: 0 / 4.621 GB, free: 132.3 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006668/12.94, allocations: 1.531 MB / 4.623 GB, free: 132.1 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0123/12.95, allocations: 3.55 MB / 4.626 GB, free: 131.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.586e-05/12.95, allocations: 7 kB / 4.626 GB, free: 131.5 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001849/12.96, allocations: 190.4 kB / 4.627 GB, free: 131.5 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001104/12.96, allocations: 242.1 kB / 4.627 GB, free: 131.5 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002479/12.96, allocations: 34.7 kB / 4.627 GB, free: 131.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005539/12.96, allocations: 2.663 MB / 4.629 GB, free: 129.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.875e-06/12.96, allocations: 8.188 kB / 4.629 GB, free: 129.7 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00974/12.97, allocations: 2.471 MB / 4.632 GB, free: 129.3 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001473/12.97, allocations: 358.9 kB / 4.632 GB, free: 129.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005303/12.97, allocations: 28.84 kB / 4.632 GB, free: 129.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002834/12.98, allocations: 138.4 kB / 4.632 GB, free: 129.1 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002785/12.98, allocations: 71.61 kB / 4.632 GB, free: 129.1 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001608/12.98, allocations: 38.19 kB / 4.632 GB, free: 129.1 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.002189/12.98, allocations: 0.9176 MB / 4.633 GB, free: 129 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6.61e-07/12.98, allocations: 0 / 4.633 GB, free: 129 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.005992/12.99, allocations: 0.9806 MB / 4.634 GB, free: 129 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (senTem1.T,con1.I.y,heaDyn.vol.dynBal.medium.Xi[1],heaDyn.vol.dynBal.medium.T,senTem2.T,con2.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.004671/12.99, allocations: 2.328 MB / 4.637 GB, free: 128.2 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.008728/13, allocations: 2.952 MB / 4.639 GB, free: 127.3 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.178e-05/13, allocations: 1.031 kB / 4.639 GB, free: 127.3 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.002442/13, allocations: 0.8167 MB / 4.64 GB, free: 127.1 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008128/13.01, allocations: 0.8684 MB / 4.641 GB, free: 127.1 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01122/13.02, allocations: 3.945 MB / 4.645 GB, free: 125.4 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001389/13.02, allocations: 1.388 MB / 4.646 GB, free: 124.7 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.002776/13.03, allocations: 344 kB / 4.647 GB, free: 124.7 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006352/13.03, allocations: 108.8 kB / 4.647 GB, free: 124.7 MB / 0.9636 GB Notification: Performance of SimCode: time 8.51e-07/13.03, allocations: 0 / 4.647 GB, free: 124.7 MB / 0.9636 GB Notification: Performance of Templates: time 0.1449/13.17, allocations: 61.04 MB / 4.706 GB, free: 123.1 MB / 0.9636 GB