Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl.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.DryCoilDiscretizedPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.044/5.044, allocations: 0.5623 GB / 0.5775 GB, free: 3.371 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.002701/0.0027, allocations: 362.3 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.317/4.317, allocations: 410.7 MB / 1.113 GB, free: 5.961 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.001984/0.001984, allocations: 178.6 kB / 1.226 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0007988/0.0007991, allocations: 16 kB / 1.349 GB, free: 8.297 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7464/0.7473, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.75/7.498, allocations: 2.38 GB / 3.841 GB, free: 83.7 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000348/7.498, allocations: 107.8 kB / 3.841 GB, free: 83.64 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 50.17/57.67, allocations: 9.143 GB / 12.98 GB, free: 75.95 MB / 1.089 GB Notification: Performance of FrontEnd: time 3.607e-06/57.67, allocations: 0 / 12.98 GB, free: 75.95 MB / 1.089 GB Notification: Performance of Transformations before backend: time 0.005169/57.67, allocations: 385.4 kB / 12.98 GB, free: 75.9 MB / 1.089 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3010 * Number of variables: 3010 Notification: Performance of Generate backend data structure: time 0.1016/57.77, allocations: 20.6 MB / 13 GB, free: 69.64 MB / 1.089 GB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/57.77, allocations: 14.38 kB / 13 GB, free: 69.64 MB / 1.089 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03646/57.81, allocations: 3.585 MB / 13.01 GB, free: 68.71 MB / 1.089 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09734/57.91, allocations: 28.26 MB / 13.04 GB, free: 66.62 MB / 1.089 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001668/57.91, allocations: 0.8844 MB / 13.04 GB, free: 66.59 MB / 1.089 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008192/57.92, allocations: 1.21 MB / 13.04 GB, free: 66.58 MB / 1.089 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07954/58, allocations: 21.91 MB / 13.06 GB, free: 65.59 MB / 1.089 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000921/58, allocations: 37.8 kB / 13.06 GB, free: 65.59 MB / 1.089 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006578/58.01, allocations: 488.5 kB / 13.06 GB, free: 65.59 MB / 1.089 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008064/58.01, allocations: 0.5306 MB / 13.06 GB, free: 65.56 MB / 1.089 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06587/58.07, allocations: 20.05 MB / 13.08 GB, free: 65.47 MB / 1.089 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.2193/58.29, allocations: 93.55 MB / 13.17 GB, free: 34.02 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03607/58.33, allocations: 14.67 MB / 13.19 GB, free: 28.41 MB / 1.089 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02401/58.35, allocations: 8.736 MB / 13.19 GB, free: 23.54 MB / 1.089 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00234/58.35, allocations: 0.9886 MB / 13.19 GB, free: 22.43 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02198/58.38, allocations: 7.341 MB / 13.2 GB, free: 16.75 MB / 1.089 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01782/58.39, allocations: 1.562 MB / 13.2 GB, free: 15.6 MB / 1.089 GB Notification: Performance of pre-optimization done (n=711): time 2.87e-05/58.39, allocations: 112 / 13.2 GB, free: 15.6 MB / 1.089 GB Notification: Performance of matching and sorting (n=723): time 0.1557/58.55, allocations: 36.7 MB / 13.24 GB, free: 1.812 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002392/58.55, allocations: 261.9 kB / 13.24 GB, free: 1.516 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.06057/58.61, allocations: 16.75 MB / 13.26 GB, free: 4.754 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 0.003175/58.61, allocations: 189.4 kB / 13.26 GB, free: 4.566 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 0.01785/58.63, allocations: 7.17 MB / 13.26 GB, free: 14.06 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.007557/58.64, allocations: 2.61 MB / 13.27 GB, free: 11.68 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002668/58.64, allocations: 144 kB / 13.27 GB, free: 11.54 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 0.001398/58.64, allocations: 0.66 MB / 13.27 GB, free: 10.96 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02002/58.66, allocations: 6.387 MB / 13.27 GB, free: 5.711 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.088/60.75, allocations: 8.822 MB / 13.28 GB, free: 115.4 MB / 1.136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0224/60.78, allocations: 8.316 MB / 13.29 GB, free: 115.2 MB / 1.136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.917e-05/60.78, allocations: 9.156 kB / 13.29 GB, free: 115.2 MB / 1.136 GB Notification: Performance of matching and sorting (n=950) (initialization): time 0.0554/60.83, allocations: 16.36 MB / 13.31 GB, free: 115 MB / 1.136 GB Notification: Performance of prepare postOptimizeDAE: time 0.001135/60.83, allocations: 1.187 MB / 13.31 GB, free: 113.6 MB / 1.136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001407/60.83, allocations: 34.12 kB / 13.31 GB, free: 113.6 MB / 1.136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002313/60.83, allocations: 499.5 kB / 13.31 GB, free: 113.6 MB / 1.136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01803/60.85, allocations: 2.017 MB / 13.31 GB, free: 113.6 MB / 1.136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01148/60.86, allocations: 6.225 MB / 13.32 GB, free: 111.7 MB / 1.136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02935/60.89, allocations: 2.133 MB / 13.32 GB, free: 111.7 MB / 1.136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003304/60.9, allocations: 299.9 kB / 13.32 GB, free: 111.7 MB / 1.136 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/60.9, allocations: 2.969 kB / 13.32 GB, free: 111.7 MB / 1.136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04756/60.94, allocations: 15.33 MB / 13.33 GB, free: 111.4 MB / 1.136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000196/60.94, allocations: 30.5 kB / 13.33 GB, free: 111.4 MB / 1.136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002002/60.95, allocations: 0.4956 MB / 13.33 GB, free: 111.4 MB / 1.136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01762/60.96, allocations: 1.991 MB / 13.33 GB, free: 111.4 MB / 1.136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0111/60.98, allocations: 5.638 MB / 13.34 GB, free: 110.1 MB / 1.136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02893/61, allocations: 2.119 MB / 13.34 GB, free: 110.1 MB / 1.136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002913/61.01, allocations: 302.3 kB / 13.34 GB, free: 110.1 MB / 1.136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 153 * 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 (921): * Single equations (assignments): 918 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.02667/61.03, allocations: 10.18 MB / 13.35 GB, free: 109.9 MB / 1.136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009666/61.04, allocations: 1.164 MB / 13.35 GB, free: 109.9 MB / 1.136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07777/61.12, allocations: 15.37 MB / 13.37 GB, free: 109.5 MB / 1.136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001197/61.12, allocations: 69.19 kB / 13.37 GB, free: 109.5 MB / 1.136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.803e-05/61.12, allocations: 2.969 kB / 13.37 GB, free: 109.5 MB / 1.136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04209/61.16, allocations: 12.77 MB / 13.38 GB, free: 108.9 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.1208/61.28, allocations: 38.6 MB / 13.42 GB, free: 107 MB / 1.136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.046e-05/61.29, allocations: 3.75 kB / 13.42 GB, free: 107 MB / 1.136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0191/61.3, allocations: 2.1 MB / 13.42 GB, free: 107 MB / 1.136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00197/61.31, allocations: 445.6 kB / 13.42 GB, free: 107 MB / 1.136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002667/61.31, allocations: 244.5 kB / 13.42 GB, free: 107 MB / 1.136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0113/61.32, allocations: 6.169 MB / 13.43 GB, free: 105 MB / 1.136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.184e-06/61.32, allocations: 3.938 kB / 13.43 GB, free: 105 MB / 1.136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06431/61.38, allocations: 23.72 MB / 13.45 GB, free: 104.2 MB / 1.136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01715/61.4, allocations: 3.971 MB / 13.45 GB, free: 103.5 MB / 1.136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00715/61.41, allocations: 222.5 kB / 13.46 GB, free: 103.5 MB / 1.136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0254/61.43, allocations: 1.755 MB / 13.46 GB, free: 103.4 MB / 1.136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003001/61.44, allocations: 444.4 kB / 13.46 GB, free: 103.4 MB / 1.136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002216/61.44, allocations: 270.5 kB / 13.46 GB, free: 103.4 MB / 1.136 GB Notification: Performance of sorting global known variables: time 0.03433/61.47, allocations: 11.94 MB / 13.47 GB, free: 103.1 MB / 1.136 GB Notification: Performance of sort global known variables: time 5.31e-07/61.47, allocations: 0 / 13.47 GB, free: 103.1 MB / 1.136 GB Notification: Performance of remove unused functions: time 0.06126/61.54, allocations: 8.614 MB / 13.48 GB, free: 103.1 MB / 1.136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 51 (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.m,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 (705): * Single equations (assignments): 698 * 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: 1 * 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%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01235/61.55, allocations: 4.927 MB / 13.48 GB, free: 101.1 MB / 1.136 GB Notification: Performance of simCode: created initialization part: time 0.05959/61.61, allocations: 22.45 MB / 13.5 GB, free: 100.5 MB / 1.136 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-05/61.61, allocations: 9.719 kB / 13.5 GB, free: 100.5 MB / 1.136 GB Notification: Performance of simCode: created simulation system equations: time 0.01932/61.63, allocations: 7.098 MB / 13.51 GB, free: 100.3 MB / 1.136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.08237/61.71, allocations: 9.436 MB / 13.52 GB, free: 100.2 MB / 1.136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.133/61.84, allocations: 49.91 MB / 13.57 GB, free: 75.94 MB / 1.136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03396/61.88, allocations: 12.95 MB / 13.58 GB, free: 68.37 MB / 1.136 GB Notification: Performance of simCode: alias equations: time 0.05957/61.94, allocations: 13.26 MB / 13.59 GB, free: 59.81 MB / 1.136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009416/61.95, allocations: 0.8815 MB / 13.6 GB, free: 59.01 MB / 1.136 GB Notification: Performance of SimCode: time 2.926e-06/61.95, allocations: 0 / 13.6 GB, free: 59.01 MB / 1.136 GB Notification: Performance of Templates: time 1.913/63.86, allocations: 362.3 MB / 13.95 GB, free: 82.96 MB / 1.151 GB