Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.182/2.182, allocations: 252.6 MB / 265.2 MB, free: 5.723 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.001479/0.001479, allocations: 183.9 kB / 324.5 MB, free: 14.33 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.973/1.973, allocations: 205.4 MB / 0.5754 GB, free: 10.47 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.001141/0.001141, allocations: 93.7 kB / 0.6797 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.686e-05/3.702e-05, allocations: 4 kB / 0.7911 GB, free: 96.59 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.2214, allocations: 106.2 MB / 0.8949 GB, free: 6.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.091/8.313, allocations: 2.496 GB / 3.391 GB, free: 152 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003226/8.313, allocations: 96.02 kB / 3.391 GB, free: 151.9 MB / 0.8698 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 49.46/57.77, allocations: 9.001 GB / 12.39 GB, free: 67.15 MB / 1.026 GB Notification: Performance of FrontEnd: time 2.615e-06/57.77, allocations: 0 / 12.39 GB, free: 67.15 MB / 1.026 GB Notification: Performance of Transformations before backend: time 0.006011/57.78, allocations: 389.4 kB / 12.39 GB, free: 67.1 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: 3034 * Number of variables: 3034 Notification: Performance of Generate backend data structure: time 0.09304/57.87, allocations: 15.96 MB / 12.41 GB, free: 62.23 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 5.773e-05/57.87, allocations: 7.781 kB / 12.41 GB, free: 62.23 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04153/57.91, allocations: 3.595 MB / 12.41 GB, free: 61.3 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1009/58.01, allocations: 28.75 MB / 12.44 GB, free: 59.25 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001541/58.02, allocations: 0.8918 MB / 12.44 GB, free: 59.23 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007803/58.02, allocations: 1.22 MB / 12.44 GB, free: 59.21 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08763/58.11, allocations: 21.69 MB / 12.46 GB, free: 58.23 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00103/58.11, allocations: 35.25 kB / 12.46 GB, free: 58.23 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006889/58.12, allocations: 499.2 kB / 12.46 GB, free: 58.23 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008955/58.12, allocations: 0.5373 MB / 12.46 GB, free: 58.21 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06704/58.19, allocations: 19.86 MB / 12.48 GB, free: 58.11 MB / 1.026 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.2335/58.42, allocations: 94 MB / 12.58 GB, free: 43.12 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03373/58.45, allocations: 13.88 MB / 12.59 GB, free: 42.55 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02164/58.48, allocations: 8.568 MB / 12.6 GB, free: 42.48 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002632/58.48, allocations: 0.9904 MB / 12.6 GB, free: 41.54 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02105/58.5, allocations: 7.227 MB / 12.61 GB, free: 41.34 MB / 1.042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01739/58.52, allocations: 1.578 MB / 12.61 GB, free: 41.08 MB / 1.042 GB Notification: Performance of pre-optimization done (n=711): time 4.063e-05/58.52, allocations: 1.25 kB / 12.61 GB, free: 41.08 MB / 1.042 GB Notification: Performance of matching and sorting (n=723): time 0.1282/58.65, allocations: 29.72 MB / 12.64 GB, free: 36.86 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002564/58.65, allocations: 261.2 kB / 12.64 GB, free: 36.64 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05033/58.7, allocations: 15.59 MB / 12.65 GB, free: 32.35 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.003047/58.7, allocations: 184 kB / 12.65 GB, free: 32.21 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0158/58.72, allocations: 7.213 MB / 12.66 GB, free: 26.95 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.006345/58.72, allocations: 2.609 MB / 12.66 GB, free: 24.95 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002439/58.72, allocations: 148.8 kB / 12.66 GB, free: 24.81 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.001258/58.73, allocations: 0.6591 MB / 12.66 GB, free: 24.23 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01672/58.74, allocations: 6.234 MB / 12.67 GB, free: 18.92 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01976/58.76, allocations: 8.624 MB / 12.68 GB, free: 10.71 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02595/58.79, allocations: 8.18 MB / 12.68 GB, free: 4.055 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.595e-05/58.79, allocations: 14.66 kB / 12.68 GB, free: 4.043 MB / 1.042 GB Notification: Performance of matching and sorting (n=950) (initialization): time 0.08425/58.87, allocations: 16.49 MB / 12.7 GB, free: 7.555 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 0.009806/58.88, allocations: 20.77 MB / 12.72 GB, free: 1.836 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001698/58.88, allocations: 36 kB / 12.72 GB, free: 1.801 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002306/58.89, allocations: 492.5 kB / 12.72 GB, free: 1.398 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01929/58.9, allocations: 2.031 MB / 12.72 GB, free: 0 / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01322/58.92, allocations: 6.224 MB / 12.73 GB, free: 10.43 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03111/58.95, allocations: 2.167 MB / 12.73 GB, free: 9.113 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003085/58.95, allocations: 301.9 kB / 12.73 GB, free: 8.836 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/58.95, allocations: 4 kB / 12.73 GB, free: 8.832 MB / 1.089 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 2.069/61.02, allocations: 16.24 MB / 12.75 GB, free: 118.5 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001407/61.02, allocations: 32.91 kB / 12.75 GB, free: 118.5 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002172/61.02, allocations: 491 kB / 12.75 GB, free: 118.5 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02215/61.05, allocations: 1.98 MB / 12.75 GB, free: 118.5 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01321/61.06, allocations: 5.63 MB / 12.76 GB, free: 117.2 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03115/61.09, allocations: 2.127 MB / 12.76 GB, free: 117.2 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003171/61.09, allocations: 301.8 kB / 12.76 GB, free: 117.2 MB / 1.089 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 () * 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.006406/61.1, allocations: 0.5853 MB / 12.76 GB, free: 117.1 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007357/61.11, allocations: 1.168 MB / 12.76 GB, free: 117.1 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05663/61.16, allocations: 15.07 MB / 12.77 GB, free: 116.7 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001309/61.16, allocations: 68.69 kB / 12.77 GB, free: 116.7 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.927e-05/61.16, allocations: 6 kB / 12.77 GB, free: 116.7 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03949/61.2, allocations: 12.47 MB / 12.79 GB, free: 116.1 MB / 1.089 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.1265/61.33, allocations: 37.96 MB / 12.82 GB, free: 114.6 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.618e-05/61.33, allocations: 7.672 kB / 12.82 GB, free: 114.6 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01985/61.35, allocations: 2.144 MB / 12.83 GB, free: 114.6 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002007/61.35, allocations: 446.5 kB / 12.83 GB, free: 114.6 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002669/61.36, allocations: 243.9 kB / 12.83 GB, free: 114.6 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01136/61.37, allocations: 6.153 MB / 12.83 GB, free: 112.7 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.776e-06/61.37, allocations: 10.94 kB / 12.83 GB, free: 112.7 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06476/61.43, allocations: 24.76 MB / 12.86 GB, free: 110.2 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01991/61.45, allocations: 4.167 MB / 12.86 GB, free: 110.1 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007295/61.46, allocations: 218.4 kB / 12.86 GB, free: 110.1 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02622/61.49, allocations: 1.777 MB / 12.86 GB, free: 110.1 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003056/61.49, allocations: 443.9 kB / 12.86 GB, free: 110.1 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00273/61.49, allocations: 261.7 kB / 12.86 GB, free: 110.1 MB / 1.089 GB Notification: Performance of sorting global known variables: time 0.03658/61.53, allocations: 12.36 MB / 12.88 GB, free: 109.7 MB / 1.089 GB Notification: Performance of sort global known variables: time 6.51e-07/61.53, allocations: 2.828 kB / 12.88 GB, free: 109.7 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.06279/61.59, allocations: 8.692 MB / 12.88 GB, free: 109.7 MB / 1.089 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) * 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.01291/61.6, allocations: 4.934 MB / 12.89 GB, free: 107.7 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.0593/61.66, allocations: 22.37 MB / 12.91 GB, free: 107.1 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-05/61.66, allocations: 6.594 kB / 12.91 GB, free: 107.1 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.01879/61.68, allocations: 6.954 MB / 12.92 GB, free: 106.8 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07536/61.76, allocations: 9.318 MB / 12.93 GB, free: 106.7 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1275/61.88, allocations: 40.5 MB / 12.97 GB, free: 101.6 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03741/61.92, allocations: 13.07 MB / 12.98 GB, free: 100.5 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.09919/62.02, allocations: 23.89 MB / 13 GB, free: 99.89 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007391/62.03, allocations: 0.6752 MB / 13 GB, free: 99.27 MB / 1.089 GB Notification: Performance of SimCode: time 2.294e-06/62.03, allocations: 4 kB / 13 GB, free: 99.26 MB / 1.089 GB Notification: Performance of Templates: time 1.997/64.03, allocations: 392.8 MB / 13.39 GB, free: 108.2 MB / 1.104 GB