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.408/2.408, allocations: 253.2 MB / 260.6 MB, free: 7.473 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.00149/0.00149, allocations: 183.5 kB / 319.9 MB, free: 3.051 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.092/2.092, allocations: 205.6 MB / 0.5708 GB, free: 15.28 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.001145/0.001145, allocations: 89.33 kB / 0.6751 GB, free: 4.633 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.024e-05/2.988e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1954/0.1955, allocations: 106.3 MB / 0.8887 GB, free: 11.87 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.069/8.264, allocations: 2.497 GB / 3.385 GB, free: 174.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003196/8.265, allocations: 95.66 kB / 3.386 GB, free: 174.1 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.49/57.76, allocations: 8.928 GB / 12.31 GB, free: 62.67 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.645e-06/57.76, allocations: 1.562 kB / 12.31 GB, free: 62.67 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.005774/57.77, allocations: 389.1 kB / 12.31 GB, free: 62.62 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: 3034 * Number of variables: 3034 Notification: Performance of Generate backend data structure: time 0.07881/57.84, allocations: 15.96 MB / 12.33 GB, free: 57.66 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/57.84, allocations: 11.5 kB / 12.33 GB, free: 57.66 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03539/57.88, allocations: 3.586 MB / 12.33 GB, free: 56.73 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1059/57.99, allocations: 28.76 MB / 12.36 GB, free: 54.68 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001065/57.99, allocations: 375.9 kB / 12.36 GB, free: 54.68 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007963/57.99, allocations: 0.72 MB / 12.36 GB, free: 54.67 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.06018/58.05, allocations: 18.83 MB / 12.38 GB, free: 54.62 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07417/58.13, allocations: 19.97 MB / 12.4 GB, free: 53.69 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00109/58.13, allocations: 32.84 kB / 12.4 GB, free: 53.69 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006624/58.14, allocations: 15.5 kB / 12.4 GB, free: 53.69 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008859/58.14, allocations: 0.5381 MB / 12.4 GB, free: 53.66 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.229/58.37, allocations: 91.56 MB / 12.49 GB, free: 38.89 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03388/58.4, allocations: 16.2 MB / 12.51 GB, free: 36 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01998/58.42, allocations: 8.225 MB / 12.51 GB, free: 35.9 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002463/58.42, allocations: 0.9939 MB / 12.51 GB, free: 34.96 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01928/58.44, allocations: 6.804 MB / 12.52 GB, free: 34.78 MB / 1.026 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0174/58.46, allocations: 1.436 MB / 12.52 GB, free: 34.52 MB / 1.026 GB Notification: Performance of pre-optimization done (n=711): time 7.207e-05/58.46, allocations: 0 / 12.52 GB, free: 34.52 MB / 1.026 GB Notification: Performance of matching and sorting (n=723): time 0.1103/58.57, allocations: 28.05 MB / 12.55 GB, free: 29.84 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000219/58.57, allocations: 256.5 kB / 12.55 GB, free: 29.61 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04319/58.61, allocations: 14.91 MB / 12.56 GB, free: 18.45 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.002964/58.62, allocations: 46.7 kB / 12.56 GB, free: 18.41 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.01605/58.63, allocations: 7.179 MB / 12.57 GB, free: 11.86 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.006323/58.64, allocations: 2.52 MB / 12.57 GB, free: 9.527 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002277/58.64, allocations: 0 / 12.57 GB, free: 9.527 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.001219/58.64, allocations: 0.6596 MB / 12.58 GB, free: 8.949 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01597/58.66, allocations: 5.935 MB / 12.58 GB, free: 3.914 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02875/58.69, allocations: 8.732 MB / 12.59 GB, free: 13.16 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02152/58.71, allocations: 7.896 MB / 12.6 GB, free: 6.789 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001051/58.71, allocations: 12 kB / 12.6 GB, free: 6.777 MB / 1.042 GB Notification: Performance of matching and sorting (n=950) (initialization): time 0.05212/58.76, allocations: 15.11 MB / 12.61 GB, free: 10.05 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 0.008079/58.77, allocations: 20.99 MB / 12.63 GB, free: 3.941 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002472/58.77, allocations: 32 kB / 12.63 GB, free: 3.91 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002113/58.77, allocations: 487.7 kB / 12.63 GB, free: 3.512 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01803/58.79, allocations: 1.991 MB / 12.63 GB, free: 2.023 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.919/60.71, allocations: 6.191 MB / 12.64 GB, free: 117.9 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03019/60.74, allocations: 1.99 MB / 12.64 GB, free: 117.9 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002985/60.74, allocations: 301.9 kB / 12.64 GB, free: 117.9 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/60.74, allocations: 3.906 kB / 12.64 GB, free: 117.9 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04948/60.79, allocations: 13.94 MB / 12.66 GB, free: 117.8 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002362/60.79, allocations: 39.64 kB / 12.66 GB, free: 117.8 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0022/60.8, allocations: 484.7 kB / 12.66 GB, free: 117.7 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01808/60.81, allocations: 1.981 MB / 12.66 GB, free: 117.7 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01207/60.83, allocations: 5.469 MB / 12.66 GB, free: 116.5 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02973/60.86, allocations: 1.965 MB / 12.67 GB, free: 116.5 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002997/60.86, allocations: 300.5 kB / 12.67 GB, free: 116.5 MB / 1.073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 155 * 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.005875/60.86, allocations: 314.8 kB / 12.67 GB, free: 116.4 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006957/60.87, allocations: 1.155 MB / 12.67 GB, free: 116.3 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0468/60.92, allocations: 14.15 MB / 12.68 GB, free: 115.9 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001048/60.92, allocations: 70.25 kB / 12.68 GB, free: 115.9 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.447e-05/60.92, allocations: 8.109 kB / 12.68 GB, free: 115.9 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0354/60.95, allocations: 11.75 MB / 12.69 GB, free: 115.4 MB / 1.073 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.1114/61.06, allocations: 35.48 MB / 12.73 GB, free: 113.9 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.275e-05/61.07, allocations: 6.516 kB / 12.73 GB, free: 113.9 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01865/61.08, allocations: 2.132 MB / 12.73 GB, free: 113.9 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001989/61.09, allocations: 441.6 kB / 12.73 GB, free: 113.9 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002561/61.09, allocations: 143.5 kB / 12.73 GB, free: 113.9 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01112/61.1, allocations: 6.004 MB / 12.74 GB, free: 112.1 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.44e-05/61.1, allocations: 13.38 kB / 12.74 GB, free: 112.1 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06433/61.16, allocations: 23.58 MB / 12.76 GB, free: 109.6 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02419/61.19, allocations: 4.096 MB / 12.76 GB, free: 109.4 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00789/61.2, allocations: 108.7 kB / 12.76 GB, free: 109.4 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03003/61.23, allocations: 1.647 MB / 12.77 GB, free: 109.4 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002739/61.23, allocations: 446.5 kB / 12.77 GB, free: 109.4 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00238/61.23, allocations: 261.5 kB / 12.77 GB, free: 109.4 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.03789/61.27, allocations: 11.72 MB / 12.78 GB, free: 109 MB / 1.073 GB Notification: Performance of sort global known variables: time 7.41e-07/61.27, allocations: 0.5 kB / 12.78 GB, free: 109 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.06356/61.33, allocations: 8.187 MB / 12.79 GB, free: 109 MB / 1.073 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.01251/61.35, allocations: 5.19 MB / 12.79 GB, free: 107 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.05175/61.4, allocations: 21.23 MB / 12.81 GB, free: 106.4 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 2.94e-05/61.4, allocations: 11.44 kB / 12.81 GB, free: 106.4 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.01643/61.41, allocations: 6.618 MB / 12.82 GB, free: 106.2 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07692/61.49, allocations: 9.106 MB / 12.83 GB, free: 106.1 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1678/61.66, allocations: 40.38 MB / 12.87 GB, free: 101 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03162/61.69, allocations: 13.07 MB / 12.88 GB, free: 99.92 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.09383/61.78, allocations: 23.62 MB / 12.9 GB, free: 88.49 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005991/61.79, allocations: 0.6788 MB / 12.9 GB, free: 87.87 MB / 1.073 GB Notification: Performance of SimCode: time 1.443e-06/61.79, allocations: 3.469 kB / 12.9 GB, free: 87.87 MB / 1.073 GB Notification: Performance of Templates: time 1.824/63.61, allocations: 323.1 MB / 13.22 GB, free: 124 MB / 1.089 GB