Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.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.Examples.WetCoilCounterFlowPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.087/5.087, allocations: 0.5623 GB / 0.5775 GB, free: 3.348 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.002528/0.002527, allocations: 355.8 kB / 0.6446 GB, free: 185.7 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.341/4.341, allocations: 410.7 MB / 1.113 GB, free: 5.973 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.001881/0.001881, allocations: 180 kB / 1.226 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005328/0.0005331, allocations: 12 kB / 1.349 GB, free: 8.223 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7631/0.7636, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.895/7.658, allocations: 2.394 GB / 3.856 GB, free: 70.4 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003501/7.659, allocations: 101.3 kB / 3.856 GB, free: 70.35 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 13.8/21.46, allocations: 2.646 GB / 6.502 GB, free: 59.43 MB / 1.026 GB Notification: Performance of FrontEnd: time 3.316e-06/21.46, allocations: 0 / 6.502 GB, free: 59.43 MB / 1.026 GB Notification: Performance of Transformations before backend: time 0.001374/21.46, allocations: 167.9 kB / 6.502 GB, free: 59.27 MB / 1.026 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1244 * Number of variables: 1244 Notification: Performance of Generate backend data structure: time 0.03498/21.5, allocations: 7.492 MB / 6.51 GB, free: 51.73 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/21.5, allocations: 12.16 kB / 6.51 GB, free: 51.72 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01393/21.51, allocations: 1.494 MB / 6.511 GB, free: 50.21 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02443/21.54, allocations: 7.278 MB / 6.518 GB, free: 42.87 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004355/21.54, allocations: 369.5 kB / 6.518 GB, free: 42.5 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002086/21.54, allocations: 0.4998 MB / 6.519 GB, free: 42 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02075/21.56, allocations: 6.761 MB / 6.526 GB, free: 35.1 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002054/21.56, allocations: 4 kB / 6.526 GB, free: 35.09 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001042/21.56, allocations: 204 kB / 6.526 GB, free: 34.89 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002723/21.56, allocations: 221.2 kB / 6.526 GB, free: 34.68 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01826/21.58, allocations: 5.897 MB / 6.532 GB, free: 28.77 MB / 1.026 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 1.023/22.6, allocations: 28 MB / 6.559 GB, free: 104.6 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01031/22.61, allocations: 4.531 MB / 6.564 GB, free: 103.8 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006557/22.62, allocations: 2.548 MB / 6.566 GB, free: 103.8 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001582/22.62, allocations: 0.9232 MB / 6.567 GB, free: 102.8 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006764/22.63, allocations: 2.218 MB / 6.569 GB, free: 102.7 MB / 1.026 GB Notification: Performance of pre-optimization done (n=324): time 7.374e-06/22.63, allocations: 0 / 6.569 GB, free: 102.7 MB / 1.026 GB Notification: Performance of matching and sorting (n=328): time 0.04443/22.67, allocations: 11.74 MB / 6.581 GB, free: 101.4 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/22.67, allocations: 242.3 kB / 6.581 GB, free: 101.2 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0153/22.69, allocations: 4.973 MB / 6.586 GB, free: 100.9 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.001115/22.69, allocations: 99.08 kB / 6.586 GB, free: 100.8 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.00488/22.69, allocations: 2.724 MB / 6.588 GB, free: 100.2 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.002275/22.7, allocations: 1.132 MB / 6.589 GB, free: 99.65 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005597/22.7, allocations: 67.12 kB / 6.59 GB, free: 99.65 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0003584/22.7, allocations: 442.5 kB / 6.59 GB, free: 99.34 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005383/22.7, allocations: 1.802 MB / 6.592 GB, free: 99.33 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006797/22.71, allocations: 2.73 MB / 6.594 GB, free: 98.46 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006801/22.72, allocations: 2.319 MB / 6.597 GB, free: 98.38 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.602e-05/22.72, allocations: 3.625 kB / 6.597 GB, free: 98.38 MB / 1.026 GB Notification: Performance of matching and sorting (n=421) (initialization): time 0.01797/22.74, allocations: 5.222 MB / 6.602 GB, free: 97.95 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003782/22.74, allocations: 0.5263 MB / 6.602 GB, free: 97.33 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.82e-05/22.74, allocations: 18.94 kB / 6.602 GB, free: 97.33 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001403/22.74, allocations: 249.2 kB / 6.603 GB, free: 97.32 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007066/22.74, allocations: 0.7607 MB / 6.603 GB, free: 97.32 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004107/22.75, allocations: 3.425 MB / 6.607 GB, free: 94.88 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0107/22.76, allocations: 0.5893 MB / 6.607 GB, free: 94.86 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001118/22.76, allocations: 136.2 kB / 6.607 GB, free: 94.86 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/22.76, allocations: 3.938 kB / 6.607 GB, free: 94.86 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01488/22.78, allocations: 4.737 MB / 6.612 GB, free: 94.71 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.204e-05/22.78, allocations: 17.2 kB / 6.612 GB, free: 94.71 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009021/22.78, allocations: 207.7 kB / 6.612 GB, free: 94.7 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006561/22.78, allocations: 0.7517 MB / 6.613 GB, free: 94.7 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005837/22.79, allocations: 4.064 MB / 6.617 GB, free: 91.96 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01031/22.8, allocations: 0.5832 MB / 6.617 GB, free: 91.94 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001104/22.8, allocations: 132.2 kB / 6.618 GB, free: 91.94 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (398): * Single equations (assignments): 392 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 1 {1 9} Notification: Performance of prepare postOptimizeDAE: time 0.007385/22.81, allocations: 2.407 MB / 6.62 GB, free: 91.72 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002019/22.81, allocations: 0.5015 MB / 6.62 GB, free: 91.46 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01616/22.83, allocations: 4.949 MB / 6.625 GB, free: 91.21 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.633e-05/22.83, allocations: 38.33 kB / 6.625 GB, free: 91.21 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/22.83, allocations: 3.969 kB / 6.625 GB, free: 91.21 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01288/22.84, allocations: 4.129 MB / 6.629 GB, free: 90.91 MB / 1.026 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 postOpt removeSimpleEquations (simulation): time 0.0391/22.88, allocations: 12.11 MB / 6.641 GB, free: 89.89 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.488e-05/22.88, allocations: 5.688 kB / 6.641 GB, free: 89.89 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007105/22.89, allocations: 0.7436 MB / 6.642 GB, free: 89.89 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008584/22.89, allocations: 180.8 kB / 6.642 GB, free: 89.87 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008941/22.89, allocations: 92.78 kB / 6.642 GB, free: 89.87 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003588/22.89, allocations: 3.324 MB / 6.645 GB, free: 87.43 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/22.89, allocations: 5.812 kB / 6.645 GB, free: 87.43 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02123/22.91, allocations: 7.609 MB / 6.653 GB, free: 86.63 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005298/22.92, allocations: 1.197 MB / 6.654 GB, free: 86.28 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00228/22.92, allocations: 82.56 kB / 6.654 GB, free: 86.28 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009079/22.93, allocations: 0.5032 MB / 6.655 GB, free: 86.27 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001031/22.93, allocations: 195.4 kB / 6.655 GB, free: 86.26 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005683/22.93, allocations: 120.8 kB / 6.655 GB, free: 86.26 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.01051/22.94, allocations: 3.495 MB / 6.658 GB, free: 86.08 MB / 1.026 GB Notification: Performance of sort global known variables: time 8.02e-07/22.94, allocations: 0 / 6.658 GB, free: 86.08 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.02272/22.96, allocations: 3.156 MB / 6.661 GB, free: 86.08 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 21 (temSen.T,val.filter.x[1],val.filter.x[2],hex.ele[1].vol1.dynBal.U,hex.ele[1].vol2.dynBal.U,hex.ele[1].vol2.dynBal.mXi[1],hex.ele[1].mas.T,hex.ele[2].vol1.dynBal.U,hex.ele[2].vol2.dynBal.U,hex.ele[2].vol2.dynBal.mXi[1],hex.ele[2].mas.T,hex.ele[3].vol1.dynBal.U,hex.ele[3].vol2.dynBal.U,hex.ele[3].vol2.dynBal.mXi[1],hex.ele[3].mas.T,hex.ele[4].vol1.dynBal.U,hex.ele[4].vol2.dynBal.U,hex.ele[4].vol2.dynBal.m,hex.ele[4].vol2.dynBal.mXi[1],hex.ele[4].mas.T,con.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 (318): * Single equations (assignments): 310 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.007699/22.97, allocations: 3.21 MB / 6.664 GB, free: 84.95 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.0211/22.99, allocations: 7.37 MB / 6.672 GB, free: 84.32 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-05/22.99, allocations: 9.594 kB / 6.672 GB, free: 84.32 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.006523/23, allocations: 2.351 MB / 6.674 GB, free: 84.12 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02934/23.03, allocations: 3.133 MB / 6.677 GB, free: 84.1 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03965/23.07, allocations: 15.68 MB / 6.692 GB, free: 78.6 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01009/23.08, allocations: 4.661 MB / 6.697 GB, free: 77.75 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.01685/23.1, allocations: 2.672 MB / 6.7 GB, free: 77.71 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003042/23.1, allocations: 379.8 kB / 6.7 GB, free: 77.7 MB / 1.026 GB Notification: Performance of SimCode: time 1.683e-06/23.1, allocations: 6.312 kB / 6.7 GB, free: 77.7 MB / 1.026 GB Notification: Performance of Templates: time 0.3249/23.42, allocations: 138.4 MB / 6.835 GB, free: 64.37 MB / 1.026 GB