Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl.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.WetCoilDiscretizedPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.135/5.135, allocations: 0.5623 GB / 0.5775 GB, free: 3.32 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.002692/0.002691, allocations: 363.6 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.307/4.307, allocations: 410.7 MB / 1.113 GB, free: 6.062 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.001854/0.001854, allocations: 187.5 kB / 1.226 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005184/0.0005185, allocations: 12 kB / 1.349 GB, free: 8.191 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7515/0.752, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.107/7.859, allocations: 2.386 GB / 3.847 GB, free: 77.55 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003643/7.859, allocations: 105.9 kB / 3.847 GB, free: 77.49 MB / 0.9636 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/Fluid/Movers/BaseClasses/IdealSource.mo:14:3-22:27:writable] Error: The conditional expression control_m_flow could not be evaluated. Notification: Performance of FrontEnd - DAE generated: time 61.99/69.85, allocations: 11.34 GB / 15.18 GB, free: 60.1 MB / 1.104 GB Notification: Performance of FrontEnd: time 2.575e-06/69.85, allocations: 0 / 15.18 GB, free: 60.1 MB / 1.104 GB Notification: Performance of Transformations before backend: time 0.00609/69.86, allocations: 415.9 kB / 15.18 GB, free: 60.05 MB / 1.104 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3509 * Number of variables: 3509 Notification: Performance of Generate backend data structure: time 0.1146/69.97, allocations: 22.78 MB / 15.21 GB, free: 53.04 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/69.97, allocations: 14.59 kB / 15.21 GB, free: 53.04 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04083/70.01, allocations: 4.123 MB / 15.21 GB, free: 51.98 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1236/70.13, allocations: 34.92 MB / 15.24 GB, free: 49.3 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001794/70.14, allocations: 1.025 MB / 15.24 GB, free: 49.27 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009063/70.15, allocations: 1.396 MB / 15.25 GB, free: 49.26 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09619/70.24, allocations: 25.2 MB / 15.27 GB, free: 48.16 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001206/70.24, allocations: 37.33 kB / 15.27 GB, free: 48.14 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008007/70.25, allocations: 0.5549 MB / 15.27 GB, free: 48.14 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009801/70.25, allocations: 0.6025 MB / 15.27 GB, free: 48.11 MB / 1.104 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0839/70.34, allocations: 23.12 MB / 15.29 GB, free: 46.32 MB / 1.104 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 2.386/72.72, allocations: 100.4 MB / 15.39 GB, free: 76.38 MB / 1.136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03337/72.76, allocations: 13.31 MB / 15.41 GB, free: 75.88 MB / 1.136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02714/72.78, allocations: 9.861 MB / 15.42 GB, free: 75.77 MB / 1.136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003151/72.79, allocations: 1.011 MB / 15.42 GB, free: 74.83 MB / 1.136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0333/72.82, allocations: 8.432 MB / 15.42 GB, free: 74.58 MB / 1.136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02232/72.84, allocations: 1.929 MB / 15.43 GB, free: 74.58 MB / 1.136 GB Notification: Performance of pre-optimization done (n=781): time 5.261e-05/72.84, allocations: 0 / 15.43 GB, free: 74.58 MB / 1.136 GB Notification: Performance of matching and sorting (n=783): time 0.1649/73.01, allocations: 42.93 MB / 15.47 GB, free: 68.33 MB / 1.136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001923/73.01, allocations: 319.2 kB / 15.47 GB, free: 68.04 MB / 1.136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04858/73.06, allocations: 16.89 MB / 15.48 GB, free: 67.39 MB / 1.136 GB Notification: Performance of collectPreVariables (initialization): time 0.003108/73.06, allocations: 192 kB / 15.49 GB, free: 67.36 MB / 1.136 GB Notification: Performance of collectInitialEqns (initialization): time 0.01635/73.08, allocations: 8.124 MB / 15.49 GB, free: 65.68 MB / 1.136 GB Notification: Performance of collectInitialBindings (initialization): time 0.006049/73.08, allocations: 2.821 MB / 15.5 GB, free: 64.31 MB / 1.136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002009/73.08, allocations: 173.1 kB / 15.5 GB, free: 64.31 MB / 1.136 GB Notification: Performance of setup shared object (initialization): time 0.001148/73.08, allocations: 0.7049 MB / 15.5 GB, free: 63.99 MB / 1.136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01853/73.1, allocations: 6.989 MB / 15.5 GB, free: 63.96 MB / 1.136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0226/73.13, allocations: 9.819 MB / 15.51 GB, free: 61.39 MB / 1.136 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: hex.hexReg[1].ele[1,1].vol2.dynBal.medium.p = 101325.0 (sin_2.p = 101325.0) Notification: Performance of analyzeInitialSystem (initialization): time 0.1957/73.32, allocations: 30.87 MB / 15.54 GB, free: 61.05 MB / 1.136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.896e-05/73.32, allocations: 11.84 kB / 15.54 GB, free: 61.05 MB / 1.136 GB Notification: Performance of matching and sorting (n=1079) (initialization): time 0.05663/73.38, allocations: 17.76 MB / 15.56 GB, free: 60.14 MB / 1.136 GB Notification: Performance of prepare postOptimizeDAE: time 0.001201/73.38, allocations: 1.596 MB / 15.56 GB, free: 58.25 MB / 1.136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001634/73.38, allocations: 46.12 kB / 15.56 GB, free: 58.25 MB / 1.136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002016/73.38, allocations: 97.75 kB / 15.56 GB, free: 58.25 MB / 1.136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02107/73.4, allocations: 2.36 MB / 15.56 GB, free: 58.25 MB / 1.136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001072/73.4, allocations: 1.302 MB / 15.57 GB, free: 57.09 MB / 1.136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02701/73.43, allocations: 1.759 MB / 15.57 GB, free: 57.03 MB / 1.136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003251/73.43, allocations: 352.2 kB / 15.57 GB, free: 57.03 MB / 1.136 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/73.43, allocations: 3 kB / 15.57 GB, free: 57.03 MB / 1.136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05182/73.48, allocations: 16.59 MB / 15.58 GB, free: 56.82 MB / 1.136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002117/73.48, allocations: 45.75 kB / 15.58 GB, free: 56.82 MB / 1.136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001585/73.49, allocations: 93.88 kB / 15.58 GB, free: 56.82 MB / 1.136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02046/73.51, allocations: 2.332 MB / 15.59 GB, free: 56.82 MB / 1.136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002536/73.51, allocations: 113.9 kB / 15.59 GB, free: 56.82 MB / 1.136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02654/73.53, allocations: 1.731 MB / 15.59 GB, free: 56.77 MB / 1.136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003236/73.54, allocations: 349 kB / 15.59 GB, free: 56.77 MB / 1.136 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: hex.hexReg[1].ele[1,1].vol2.dynBal.medium.p = 101325.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 214 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,$PRE.mot.uppHys.y,mot.uppHys.y,$PRE.mot.lowHys.y,mot.lowHys.y,mot.int.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1074): * Single equations (assignments): 1071 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.02979/73.57, allocations: 11.47 MB / 15.6 GB, free: 56.55 MB / 1.136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007201/73.57, allocations: 1.321 MB / 15.6 GB, free: 55.87 MB / 1.136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05671/73.63, allocations: 16.54 MB / 15.62 GB, free: 55.45 MB / 1.136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.783e-05/73.63, allocations: 79.22 kB / 15.62 GB, free: 55.45 MB / 1.136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.528e-05/73.63, allocations: 3.375 kB / 15.62 GB, free: 55.45 MB / 1.136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0407/73.67, allocations: 13.55 MB / 15.63 GB, free: 54.89 MB / 1.136 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.1284/73.8, allocations: 40.67 MB / 15.67 GB, free: 52.22 MB / 1.136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.659e-05/73.8, allocations: 16.28 kB / 15.67 GB, free: 52.22 MB / 1.136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02089/73.82, allocations: 2.329 MB / 15.67 GB, free: 52.22 MB / 1.136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001315/73.82, allocations: 38.81 kB / 15.67 GB, free: 52.22 MB / 1.136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00257/73.82, allocations: 261.3 kB / 15.67 GB, free: 52.22 MB / 1.136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006999/73.82, allocations: 1.224 MB / 15.67 GB, free: 51.05 MB / 1.136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.485e-05/73.82, allocations: 18.69 kB / 15.67 GB, free: 51.05 MB / 1.136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06541/73.89, allocations: 25.82 MB / 15.7 GB, free: 37.86 MB / 1.136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01587/73.9, allocations: 3.713 MB / 15.7 GB, free: 35.32 MB / 1.136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007158/73.91, allocations: 238 kB / 15.7 GB, free: 35.23 MB / 1.136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02439/73.94, allocations: 1.539 MB / 15.7 GB, free: 34.4 MB / 1.136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003219/73.94, allocations: 496.5 kB / 15.71 GB, free: 34.16 MB / 1.136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002963/73.94, allocations: 289.5 kB / 15.71 GB, free: 33.97 MB / 1.136 GB Notification: Performance of sorting global known variables: time 0.0358/73.98, allocations: 12.42 MB / 15.72 GB, free: 24.25 MB / 1.136 GB Notification: Performance of sort global known variables: time 6.42e-07/73.98, allocations: 0 / 15.72 GB, free: 24.25 MB / 1.136 GB Notification: Performance of remove unused functions: time 0.04549/74.02, allocations: 7.651 MB / 15.72 GB, free: 16.67 MB / 1.136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 52 * Number of states: 50 (temSen.T,hex.hexReg[1].ele[1,1].vol1.dynBal.U,hex.hexReg[1].ele[1,1].vol2.dynBal.U,hex.hexReg[1].ele[1,1].vol2.dynBal.mXi[1],hex.hexReg[1].ele[1,1].mas.T,hex.hexReg[1].ele[1,2].vol1.dynBal.U,hex.hexReg[1].ele[1,2].vol2.dynBal.U,hex.hexReg[1].ele[1,2].vol2.dynBal.mXi[1],hex.hexReg[1].ele[1,2].mas.T,hex.hexReg[1].ele[1,3].vol1.dynBal.U,hex.hexReg[1].ele[1,3].vol2.dynBal.U,hex.hexReg[1].ele[1,3].vol2.dynBal.mXi[1],hex.hexReg[1].ele[1,3].mas.T,hex.hexReg[2].ele[1,1].vol1.dynBal.U,hex.hexReg[2].ele[1,1].vol2.dynBal.U,hex.hexReg[2].ele[1,1].vol2.dynBal.mXi[1],hex.hexReg[2].ele[1,1].mas.T,hex.hexReg[2].ele[1,2].vol1.dynBal.U,hex.hexReg[2].ele[1,2].vol2.dynBal.U,hex.hexReg[2].ele[1,2].vol2.dynBal.mXi[1],hex.hexReg[2].ele[1,2].mas.T,hex.hexReg[2].ele[1,3].vol1.dynBal.U,hex.hexReg[2].ele[1,3].vol2.dynBal.U,hex.hexReg[2].ele[1,3].vol2.dynBal.mXi[1],hex.hexReg[2].ele[1,3].mas.T,hex.hexReg[3].ele[1,1].vol1.dynBal.U,hex.hexReg[3].ele[1,1].vol2.dynBal.U,hex.hexReg[3].ele[1,1].vol2.dynBal.mXi[1],hex.hexReg[3].ele[1,1].mas.T,hex.hexReg[3].ele[1,2].vol1.dynBal.U,hex.hexReg[3].ele[1,2].vol2.dynBal.U,hex.hexReg[3].ele[1,2].vol2.dynBal.mXi[1],hex.hexReg[3].ele[1,2].mas.T,hex.hexReg[3].ele[1,3].vol1.dynBal.U,hex.hexReg[3].ele[1,3].vol2.dynBal.U,hex.hexReg[3].ele[1,3].vol2.dynBal.mXi[1],hex.hexReg[3].ele[1,3].mas.T,hex.hexReg[4].ele[1,1].vol1.dynBal.U,hex.hexReg[4].ele[1,1].vol2.dynBal.U,hex.hexReg[4].ele[1,1].vol2.dynBal.mXi[1],hex.hexReg[4].ele[1,1].mas.T,hex.hexReg[4].ele[1,2].vol1.dynBal.U,hex.hexReg[4].ele[1,2].vol2.dynBal.U,hex.hexReg[4].ele[1,2].vol2.dynBal.mXi[1],hex.hexReg[4].ele[1,2].mas.T,hex.hexReg[4].ele[1,3].vol1.dynBal.U,hex.hexReg[4].ele[1,3].vol2.dynBal.U,hex.hexReg[4].ele[1,3].vol2.dynBal.mXi[1],hex.hexReg[4].ele[1,3].mas.T,mot.int.y) * Number of discrete variables: 8 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled,mot.uppHys.y,mot.lowHys.y) * Number of discrete states: 8 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1,mot.uppHys.y,mot.lowHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (789): * Single equations (assignments): 782 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01183/74.04, allocations: 4.975 MB / 15.73 GB, free: 12.88 MB / 1.136 GB Notification: Performance of simCode: created initialization part: time 0.06455/74.1, allocations: 23.97 MB / 15.75 GB, free: 9.047 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.195e-05/74.1, allocations: 11 kB / 15.75 GB, free: 9.039 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.02337/74.12, allocations: 7.499 MB / 15.76 GB, free: 2.805 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1294/74.25, allocations: 12.29 MB / 15.77 GB, free: 15.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.317/75.57, allocations: 57.85 MB / 15.83 GB, free: 116.4 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.04026/75.61, allocations: 14.51 MB / 15.84 GB, free: 115.4 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.08734/75.7, allocations: 14.84 MB / 15.86 GB, free: 115.3 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01099/75.71, allocations: 0.9728 MB / 15.86 GB, free: 115.3 MB / 1.182 GB Notification: Performance of SimCode: time 1.823e-06/75.71, allocations: 0.5625 kB / 15.86 GB, free: 115.3 MB / 1.182 GB Notification: Performance of Templates: time 1.004/76.71, allocations: 381.1 MB / 16.23 GB, free: 11.41 MB / 1.229 GB