Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.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.DryCoilDiscretized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.539/4.539, allocations: 0.5623 GB / 0.5775 GB, free: 66.95 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002759/0.002758, allocations: 364.5 kB / 0.6446 GB, free: 21.57 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.288/4.288, allocations: 410.7 MB / 1.113 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001923/0.001922, allocations: 182.7 kB / 1.226 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of FrontEnd - loaded program: time 0.0004932/0.0004934, allocations: 12.41 kB / 1.349 GB, free: 320.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2117, allocations: 115.3 MB / 1.461 GB, free: 220.7 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.497/7.709, allocations: 2.355 GB / 3.816 GB, free: 260.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003049/7.71, allocations: 100.7 kB / 3.816 GB, free: 260.9 MB / 0.948 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 28.75/36.46, allocations: 5.357 GB / 9.173 GB, free: 87.53 MB / 1.057 GB Notification: Performance of FrontEnd: time 2.444e-06/36.46, allocations: 0 / 9.173 GB, free: 87.53 MB / 1.057 GB Notification: Performance of Transformations before backend: time 0.002735/36.46, allocations: 204.6 kB / 9.174 GB, free: 87.5 MB / 1.057 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1600 * Number of variables: 1600 Notification: Performance of Generate backend data structure: time 0.05884/36.52, allocations: 11.26 MB / 9.185 GB, free: 84.38 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/36.52, allocations: 9.531 kB / 9.185 GB, free: 84.38 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01868/36.54, allocations: 1.858 MB / 9.186 GB, free: 83.89 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0499/36.59, allocations: 14.69 MB / 9.201 GB, free: 82.71 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008465/36.59, allocations: 484.2 kB / 9.201 GB, free: 82.7 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00445/36.59, allocations: 0.6443 MB / 9.202 GB, free: 82.69 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0449/36.64, allocations: 11.56 MB / 9.213 GB, free: 82.09 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006031/36.64, allocations: 22 kB / 9.213 GB, free: 82.09 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003888/36.64, allocations: 260.5 kB / 9.213 GB, free: 82.09 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004624/36.64, allocations: 290.3 kB / 9.214 GB, free: 82.07 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03744/36.68, allocations: 10.69 MB / 9.224 GB, free: 82.01 MB / 1.057 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.1195/36.8, allocations: 49.63 MB / 9.273 GB, free: 65 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01764/36.82, allocations: 7.482 MB / 9.28 GB, free: 64.14 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01243/36.83, allocations: 4.672 MB / 9.284 GB, free: 64.11 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001962/36.83, allocations: 0.9317 MB / 9.285 GB, free: 63.16 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001444/36.83, allocations: 90.17 kB / 9.285 GB, free: 63.12 MB / 1.057 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01275/36.85, allocations: 1.365 MB / 9.287 GB, free: 62.98 MB / 1.057 GB Notification: Performance of pre-optimization done (n=369): time 5.495e-05/36.85, allocations: 0 / 9.287 GB, free: 62.98 MB / 1.057 GB Notification: Performance of matching and sorting (n=375): time 0.08148/36.93, allocations: 19.63 MB / 9.306 GB, free: 60.89 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.704e-05/36.93, allocations: 89.86 kB / 9.306 GB, free: 60.82 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02453/36.95, allocations: 8.548 MB / 9.314 GB, free: 60.43 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.001719/36.96, allocations: 102.2 kB / 9.314 GB, free: 60.4 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.006488/36.96, allocations: 3.618 MB / 9.318 GB, free: 59.24 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.003262/36.96, allocations: 1.322 MB / 9.319 GB, free: 58.39 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008737/36.97, allocations: 73.5 kB / 9.319 GB, free: 58.39 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0005238/36.97, allocations: 495.4 kB / 9.32 GB, free: 58.09 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01015/36.98, allocations: 3.403 MB / 9.323 GB, free: 58.08 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0194/37, allocations: 4.65 MB / 9.328 GB, free: 57 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0233/37.02, allocations: 4.371 MB / 9.332 GB, free: 56.95 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001168/37.02, allocations: 11.3 kB / 9.332 GB, free: 56.95 MB / 1.057 GB Notification: Performance of matching and sorting (n=490) (initialization): time 0.03093/37.05, allocations: 8.628 MB / 9.34 GB, free: 56.51 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004753/37.05, allocations: 0.6447 MB / 9.341 GB, free: 55.74 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.88e-05/37.05, allocations: 18.22 kB / 9.341 GB, free: 55.74 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001043/37.05, allocations: 226.4 kB / 9.341 GB, free: 55.73 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009729/37.06, allocations: 1.109 MB / 9.342 GB, free: 55.73 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004388/37.07, allocations: 2.864 MB / 9.345 GB, free: 54.47 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01591/37.08, allocations: 1.15 MB / 9.346 GB, free: 54.42 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001668/37.08, allocations: 161.8 kB / 9.346 GB, free: 54.42 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/37.08, allocations: 5.156 kB / 9.346 GB, free: 54.42 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02335/37.11, allocations: 8.056 MB / 9.354 GB, free: 54.32 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-05/37.11, allocations: 26.55 kB / 9.354 GB, free: 54.31 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009055/37.11, allocations: 226.9 kB / 9.354 GB, free: 54.3 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009606/37.12, allocations: 1.106 MB / 9.356 GB, free: 54.3 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004188/37.12, allocations: 2.86 MB / 9.358 GB, free: 53.04 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01584/37.14, allocations: 1.142 MB / 9.359 GB, free: 52.99 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001628/37.14, allocations: 168.1 kB / 9.36 GB, free: 52.99 MB / 1.057 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (482): * Single equations (assignments): 481 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01336/37.15, allocations: 5.258 MB / 9.365 GB, free: 52.79 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002978/37.16, allocations: 0.6208 MB / 9.365 GB, free: 52.47 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02545/37.18, allocations: 8.113 MB / 9.373 GB, free: 52.07 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.651e-05/37.18, allocations: 37.78 kB / 9.373 GB, free: 52.07 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.31e-05/37.18, allocations: 3.875 kB / 9.373 GB, free: 52.07 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01876/37.2, allocations: 6.857 MB / 9.38 GB, free: 49.66 MB / 1.057 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.07335/37.27, allocations: 20.66 MB / 9.4 GB, free: 41.43 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.048e-05/37.27, allocations: 5.969 kB / 9.4 GB, free: 41.43 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01308/37.29, allocations: 1.092 MB / 9.401 GB, free: 40.63 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001232/37.29, allocations: 201.9 kB / 9.401 GB, free: 40.47 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001325/37.29, allocations: 126.7 kB / 9.402 GB, free: 40.36 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005561/37.3, allocations: 2.839 MB / 9.404 GB, free: 37.73 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-05/37.3, allocations: 5.875 kB / 9.404 GB, free: 37.72 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0334/37.33, allocations: 12.45 MB / 9.417 GB, free: 27.04 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009716/37.34, allocations: 2.082 MB / 9.419 GB, free: 25.11 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003441/37.34, allocations: 115.5 kB / 9.419 GB, free: 25 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01372/37.36, allocations: 0.9397 MB / 9.42 GB, free: 24.43 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001614/37.36, allocations: 234.7 kB / 9.42 GB, free: 24.29 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007476/37.36, allocations: 137.2 kB / 9.42 GB, free: 24.17 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.01687/37.38, allocations: 6.178 MB / 9.426 GB, free: 19.14 MB / 1.057 GB Notification: Performance of sort global known variables: time 8.42e-07/37.38, allocations: 0 / 9.426 GB, free: 19.14 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.02983/37.41, allocations: 4.569 MB / 9.43 GB, free: 14.61 MB / 1.057 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 25 (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.m,hex.hexReg[2].ele[1,3].vol2.dynBal.mXi[1],hex.hexReg[2].ele[1,3].mas.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (378): * Single equations (assignments): 373 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009608/37.41, allocations: 4.356 MB / 9.435 GB, free: 11.28 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.03123/37.45, allocations: 11.83 MB / 9.446 GB, free: 1.449 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 1.545e-05/37.45, allocations: 4.812 kB / 9.446 GB, free: 1.445 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.01777/37.46, allocations: 4.125 MB / 9.45 GB, free: 15.5 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04425/37.51, allocations: 4.935 MB / 9.455 GB, free: 12.28 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07259/37.58, allocations: 25.56 MB / 9.48 GB, free: 6.059 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01766/37.6, allocations: 7.102 MB / 9.487 GB, free: 424 kB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.06531/37.66, allocations: 8.685 MB / 9.495 GB, free: 0 / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.9762/38.64, allocations: 0.5597 MB / 9.496 GB, free: 101.4 MB / 1.089 GB Notification: Performance of SimCode: time 1.934e-06/38.64, allocations: 0 / 9.496 GB, free: 101.4 MB / 1.089 GB Notification: Performance of Templates: time 0.4813/39.12, allocations: 213 MB / 9.704 GB, free: 89.52 MB / 1.089 GB