Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.376/2.376, allocations: 253.2 MB / 260.6 MB, free: 7.398 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001411/0.001411, allocations: 175.2 kB / 319.9 MB, free: 3.09 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.132/2.132, allocations: 205.6 MB / 0.5708 GB, free: 15.27 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00112/0.001119, allocations: 98.59 kB / 0.6751 GB, free: 4.641 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.715e-05/2.716e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2659/0.266, allocations: 106.3 MB / 0.8887 GB, free: 11.86 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.161/8.427, allocations: 2.511 GB / 3.4 GB, free: 160 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003213/8.427, allocations: 90.33 kB / 3.4 GB, free: 160 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 13.44/21.87, allocations: 2.583 GB / 5.983 GB, free: 9.461 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.863e-06/21.87, allocations: 0 / 5.983 GB, free: 9.461 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.001401/21.87, allocations: 171.8 kB / 5.984 GB, free: 9.293 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1252 * Number of variables: 1252 Notification: Performance of Generate backend data structure: time 0.02697/21.9, allocations: 6.195 MB / 5.99 GB, free: 3.027 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/21.9, allocations: 8.031 kB / 5.99 GB, free: 3.02 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0141/21.91, allocations: 1.498 MB / 5.991 GB, free: 1.512 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7995/22.71, allocations: 7.434 MB / 5.998 GB, free: 93.31 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005234/22.71, allocations: 154.2 kB / 5.999 GB, free: 93.31 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002833/22.71, allocations: 303 kB / 5.999 GB, free: 93.31 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02673/22.74, allocations: 5.354 MB / 6.004 GB, free: 93.29 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03617/22.78, allocations: 5.915 MB / 6.01 GB, free: 92.83 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004259/22.78, allocations: 10.05 kB / 6.01 GB, free: 92.83 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002397/22.78, allocations: 7.422 kB / 6.01 GB, free: 92.83 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006074/22.78, allocations: 224.7 kB / 6.01 GB, free: 92.82 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.101/22.88, allocations: 27.23 MB / 6.037 GB, free: 82.81 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01419/22.89, allocations: 5.136 MB / 6.042 GB, free: 81.17 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007588/22.9, allocations: 2.356 MB / 6.044 GB, free: 81.13 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002162/22.9, allocations: 0.9211 MB / 6.045 GB, free: 80.19 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00791/22.91, allocations: 2.188 MB / 6.047 GB, free: 80.03 MB / 0.948 GB Notification: Performance of pre-optimization done (n=324): time 1.364e-05/22.91, allocations: 0 / 6.047 GB, free: 80.03 MB / 0.948 GB Notification: Performance of matching and sorting (n=328): time 0.054/22.97, allocations: 10.89 MB / 6.058 GB, free: 77.21 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001131/22.97, allocations: 294.2 kB / 6.058 GB, free: 76.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01098/22.98, allocations: 4.16 MB / 6.062 GB, free: 76.62 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001101/22.98, allocations: 33.23 kB / 6.062 GB, free: 76.59 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004307/22.98, allocations: 2.723 MB / 6.065 GB, free: 75.91 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002804/22.99, allocations: 1.097 MB / 6.066 GB, free: 75.19 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003735/22.99, allocations: 0 / 6.066 GB, free: 75.19 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002891/22.99, allocations: 440.5 kB / 6.066 GB, free: 74.88 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003586/22.99, allocations: 1.647 MB / 6.068 GB, free: 74.87 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004368/22.99, allocations: 2.55 MB / 6.07 GB, free: 73.99 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005609/23, allocations: 2.217 MB / 6.072 GB, free: 73.93 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.338e-05/23, allocations: 7.766 kB / 6.072 GB, free: 73.93 MB / 0.948 GB Notification: Performance of matching and sorting (n=422) (initialization): time 0.01346/23.01, allocations: 4.785 MB / 6.077 GB, free: 73.54 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001369/23.02, allocations: 6.373 MB / 6.083 GB, free: 66.73 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.133e-05/23.02, allocations: 15.94 kB / 6.083 GB, free: 66.73 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008966/23.02, allocations: 204.9 kB / 6.084 GB, free: 66.71 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00669/23.02, allocations: 0.7606 MB / 6.084 GB, free: 66.71 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003894/23.03, allocations: 3.371 MB / 6.088 GB, free: 64.33 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01018/23.04, allocations: 0.5239 MB / 6.088 GB, free: 64.29 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008378/23.04, allocations: 136.6 kB / 6.088 GB, free: 64.29 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/23.04, allocations: 5 kB / 6.088 GB, free: 64.29 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01122/23.05, allocations: 4.249 MB / 6.092 GB, free: 64.18 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.776e-05/23.05, allocations: 15.22 kB / 6.092 GB, free: 64.18 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008513/23.05, allocations: 201.7 kB / 6.093 GB, free: 64.16 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006247/23.06, allocations: 0.759 MB / 6.093 GB, free: 64.16 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005453/23.06, allocations: 3.913 MB / 6.097 GB, free: 61.54 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01/23.07, allocations: 0.5105 MB / 6.098 GB, free: 61.51 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008961/23.07, allocations: 132.2 kB / 6.098 GB, free: 61.51 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (399): * Single equations (assignments): 393 * 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.001283/23.07, allocations: 222.3 kB / 6.098 GB, free: 61.36 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001884/23.08, allocations: 496.3 kB / 6.099 GB, free: 61.11 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01213/23.09, allocations: 4.503 MB / 6.103 GB, free: 60.88 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.151e-05/23.09, allocations: 31.56 kB / 6.103 GB, free: 60.88 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.23e-05/23.09, allocations: 3.812 kB / 6.103 GB, free: 60.88 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009661/23.1, allocations: 3.779 MB / 6.107 GB, free: 60.61 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.03084/23.13, allocations: 11.15 MB / 6.118 GB, free: 59.61 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.001e-05/23.13, allocations: 3.875 kB / 6.118 GB, free: 59.61 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006591/23.14, allocations: 0.7442 MB / 6.118 GB, free: 59.61 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006988/23.14, allocations: 160.3 kB / 6.118 GB, free: 59.59 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005596/23.14, allocations: 50.17 kB / 6.118 GB, free: 59.59 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003473/23.14, allocations: 3.252 MB / 6.122 GB, free: 57.21 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.01e-05/23.14, allocations: 9.75 kB / 6.122 GB, free: 57.21 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01712/23.16, allocations: 7.571 MB / 6.129 GB, free: 55.88 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005597/23.16, allocations: 1.212 MB / 6.13 GB, free: 55.54 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001875/23.17, allocations: 31.47 kB / 6.13 GB, free: 55.54 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008904/23.17, allocations: 462.5 kB / 6.131 GB, free: 55.51 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009136/23.18, allocations: 205.9 kB / 6.131 GB, free: 55.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004905/23.18, allocations: 125.1 kB / 6.131 GB, free: 55.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.007813/23.18, allocations: 3.223 MB / 6.134 GB, free: 55.32 MB / 0.948 GB Notification: Performance of sort global known variables: time 8.01e-07/23.18, allocations: 6.906 kB / 6.134 GB, free: 55.32 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.02023/23.2, allocations: 2.952 MB / 6.137 GB, free: 55.3 MB / 0.948 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) * 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.006989/23.21, allocations: 3.435 MB / 6.14 GB, free: 54.12 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01608/23.23, allocations: 6.951 MB / 6.147 GB, free: 53.53 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-05/23.23, allocations: 3 kB / 6.147 GB, free: 53.53 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.005411/23.23, allocations: 2.181 MB / 6.149 GB, free: 53.35 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0249/23.26, allocations: 2.934 MB / 6.152 GB, free: 53.31 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03205/23.29, allocations: 11.41 MB / 6.163 GB, free: 51.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01055/23.3, allocations: 4.701 MB / 6.168 GB, free: 66.25 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.02388/23.32, allocations: 4.392 MB / 6.172 GB, free: 66.2 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002288/23.33, allocations: 302.4 kB / 6.172 GB, free: 66.2 MB / 0.9636 GB Notification: Performance of SimCode: time 1.603e-06/23.33, allocations: 0 / 6.172 GB, free: 66.2 MB / 0.9636 GB Notification: Performance of Templates: time 0.2903/23.62, allocations: 121.5 MB / 6.291 GB, free: 42.81 MB / 0.9636 GB