Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.381/2.381, allocations: 284.8 MB / 297.3 MB, free: 6.355 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001561/0.001561, allocations: 172.9 kB / 365.7 MB, free: 2.609 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.984/1.984, allocations: 205.1 MB / 0.6241 GB, free: 8.188 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001548/0.001547, allocations: 101.1 kB / 0.7372 GB, free: 40.79 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.084e-05/3.091e-05, allocations: 4 kB / 0.8574 GB, free: 13.73 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7772/0.7773, allocations: 115.2 MB / 0.97 GB, free: 78.1 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.952/7.729, allocations: 2.394 GB / 3.364 GB, free: 59.59 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003135/7.73, allocations: 95.12 kB / 3.364 GB, free: 59.55 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 14.15/21.88, allocations: 2.675 GB / 6.04 GB, free: 5.238 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.595e-06/21.88, allocations: 0 / 6.04 GB, free: 5.238 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.001413/21.88, allocations: 163 kB / 6.04 GB, free: 5.082 MB / 1.01 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.9054/22.79, allocations: 6.179 MB / 6.046 GB, free: 89.29 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.58e-05/22.79, allocations: 9.375 kB / 6.046 GB, free: 89.29 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01516/22.8, allocations: 1.497 MB / 6.047 GB, free: 88.91 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03012/22.83, allocations: 7.409 MB / 6.055 GB, free: 88.3 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007204/22.83, allocations: 372.4 kB / 6.055 GB, free: 88.29 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002699/22.84, allocations: 0.4989 MB / 6.055 GB, free: 88.28 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02747/22.86, allocations: 6.602 MB / 6.062 GB, free: 87.8 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003339/22.86, allocations: 7 kB / 6.062 GB, free: 87.8 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002006/22.87, allocations: 201.8 kB / 6.062 GB, free: 87.8 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003164/22.87, allocations: 223.9 kB / 6.062 GB, free: 87.79 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01933/22.89, allocations: 5.703 MB / 6.068 GB, free: 87.74 MB / 1.01 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.06782/22.95, allocations: 28.08 MB / 6.095 GB, free: 77.56 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009344/22.96, allocations: 4.449 MB / 6.1 GB, free: 76.74 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006422/22.97, allocations: 2.479 MB / 6.102 GB, free: 76.71 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001664/22.97, allocations: 0.9176 MB / 6.103 GB, free: 75.77 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006774/22.98, allocations: 2.158 MB / 6.105 GB, free: 75.63 MB / 1.01 GB Notification: Performance of pre-optimization done (n=324): time 8.546e-06/22.98, allocations: 0 / 6.105 GB, free: 75.63 MB / 1.01 GB Notification: Performance of matching and sorting (n=328): time 0.03781/23.02, allocations: 9.657 MB / 6.114 GB, free: 74.05 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001332/23.02, allocations: 241.9 kB / 6.115 GB, free: 73.8 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01343/23.03, allocations: 4.516 MB / 6.119 GB, free: 73.49 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.001124/23.03, allocations: 96.14 kB / 6.119 GB, free: 73.46 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.004651/23.04, allocations: 2.736 MB / 6.122 GB, free: 72.82 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.002345/23.04, allocations: 1.136 MB / 6.123 GB, free: 72.13 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004142/23.04, allocations: 69.19 kB / 6.123 GB, free: 72.13 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0003207/23.04, allocations: 441.7 kB / 6.123 GB, free: 71.82 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00491/23.04, allocations: 1.736 MB / 6.125 GB, free: 71.81 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006879/23.05, allocations: 2.651 MB / 6.128 GB, free: 70.94 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007035/23.06, allocations: 2.269 MB / 6.13 GB, free: 70.84 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.934e-05/23.06, allocations: 3.875 kB / 6.13 GB, free: 70.84 MB / 1.01 GB Notification: Performance of matching and sorting (n=421) (initialization): time 0.02205/23.08, allocations: 5.058 MB / 6.135 GB, free: 70.42 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.002499/23.08, allocations: 6.212 MB / 6.141 GB, free: 63.82 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001553/23.08, allocations: 18.52 kB / 6.141 GB, free: 63.82 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001767/23.08, allocations: 207.9 kB / 6.141 GB, free: 63.81 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01104/23.1, allocations: 0.7619 MB / 6.142 GB, free: 63.8 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005552/23.1, allocations: 3.409 MB / 6.145 GB, free: 61.36 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0141/23.11, allocations: 0.6016 MB / 6.146 GB, free: 61.33 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001326/23.12, allocations: 137.9 kB / 6.146 GB, free: 61.33 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/23.12, allocations: 4.75 kB / 6.146 GB, free: 61.33 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01802/23.13, allocations: 4.605 MB / 6.15 GB, free: 61.18 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.348e-05/23.13, allocations: 15.98 kB / 6.15 GB, free: 61.18 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001187/23.14, allocations: 212 kB / 6.151 GB, free: 61.17 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00846/23.14, allocations: 0.7481 MB / 6.151 GB, free: 61.17 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008013/23.15, allocations: 4.057 MB / 6.155 GB, free: 58.42 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01395/23.17, allocations: 0.578 MB / 6.156 GB, free: 58.39 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001349/23.17, allocations: 134 kB / 6.156 GB, free: 58.39 MB / 1.01 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 () * 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.001958/23.17, allocations: 345.2 kB / 6.156 GB, free: 58.23 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002804/23.17, allocations: 0.4989 MB / 6.157 GB, free: 57.98 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02043/23.19, allocations: 4.835 MB / 6.162 GB, free: 57.72 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.456e-05/23.19, allocations: 36.16 kB / 6.162 GB, free: 57.72 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.624e-05/23.19, allocations: 0 / 6.162 GB, free: 57.72 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01499/23.21, allocations: 4.017 MB / 6.166 GB, free: 57.42 MB / 1.01 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.05142/23.26, allocations: 12.03 MB / 6.177 GB, free: 56.39 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.108e-05/23.26, allocations: 6.375 kB / 6.177 GB, free: 56.39 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009605/23.27, allocations: 0.7503 MB / 6.178 GB, free: 56.39 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00118/23.27, allocations: 172.2 kB / 6.178 GB, free: 56.37 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001002/23.27, allocations: 96.48 kB / 6.178 GB, free: 56.37 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004966/23.28, allocations: 3.306 MB / 6.181 GB, free: 53.93 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.246e-05/23.28, allocations: 7.094 kB / 6.182 GB, free: 53.93 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0262/23.3, allocations: 7.938 MB / 6.189 GB, free: 52.56 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007741/23.31, allocations: 1.224 MB / 6.19 GB, free: 52.21 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003255/23.31, allocations: 81.92 kB / 6.191 GB, free: 52.21 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01211/23.33, allocations: 0.4916 MB / 6.191 GB, free: 52.19 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00115/23.33, allocations: 203.6 kB / 6.191 GB, free: 52.18 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005687/23.33, allocations: 123.9 kB / 6.191 GB, free: 52.18 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.009861/23.34, allocations: 3.54 MB / 6.195 GB, free: 51.98 MB / 1.01 GB Notification: Performance of sort global known variables: time 9.42e-07/23.34, allocations: 0 / 6.195 GB, free: 51.98 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0227/23.36, allocations: 3.172 MB / 6.198 GB, free: 51.95 MB / 1.01 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.007504/23.37, allocations: 3.208 MB / 6.201 GB, free: 50.79 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.02026/23.39, allocations: 7.329 MB / 6.208 GB, free: 50.16 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.7e-05/23.39, allocations: 4.875 kB / 6.208 GB, free: 50.16 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.006421/23.39, allocations: 2.303 MB / 6.21 GB, free: 49.96 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0273/23.42, allocations: 3.068 MB / 6.213 GB, free: 49.92 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03479/23.46, allocations: 11.54 MB / 6.225 GB, free: 47.71 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01155/23.47, allocations: 4.671 MB / 6.229 GB, free: 62.86 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.02629/23.5, allocations: 4.408 MB / 6.234 GB, free: 62.81 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002438/23.5, allocations: 297.9 kB / 6.234 GB, free: 62.8 MB / 1.026 GB Notification: Performance of SimCode: time 2.053e-06/23.5, allocations: 0 / 6.234 GB, free: 62.8 MB / 1.026 GB Notification: Performance of Templates: time 0.4282/23.93, allocations: 154.5 MB / 6.385 GB, free: 16.66 MB / 1.026 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe 2>&1)