Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.566/1.566, allocations: 289.9 MB / 297.4 MB, free: 6.402 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009991/0.0009991, allocations: 176.8 kB / 366.7 MB, free: 1.691 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.328/1.328, allocations: 205.2 MB / 0.626 GB, free: 7.133 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007949/0.0007949, allocations: 91.27 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.941e-05/1.964e-05, allocations: 4 kB / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5969/0.597, allocations: 116.3 MB / 0.9732 GB, free: 76.48 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.368/4.965, allocations: 2.081 GB / 3.054 GB, free: 48.19 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002726/4.965, allocations: 91.95 kB / 3.054 GB, free: 48.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.016/6.982, allocations: 455.1 MB / 3.499 GB, free: 231.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.363e-06/6.982, allocations: 0 / 3.499 GB, free: 231.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001267/6.982, allocations: 26.3 kB / 3.499 GB, free: 231.9 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.002629/6.984, allocations: 1.075 MB / 3.5 GB, free: 231.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/6.984, allocations: 13.88 kB / 3.5 GB, free: 231.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001232/6.986, allocations: 173.6 kB / 3.5 GB, free: 231.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001659/6.987, allocations: 0.7879 MB / 3.501 GB, free: 231.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.128e-05/6.987, allocations: 10.88 kB / 3.501 GB, free: 231.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/6.988, allocations: 31.88 kB / 3.501 GB, free: 231.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004681/6.988, allocations: 270.7 kB / 3.501 GB, free: 231.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005839/6.989, allocations: 435.4 kB / 3.502 GB, free: 231 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/6.989, allocations: 2.188 kB / 3.502 GB, free: 231 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.132e-05/6.989, allocations: 0 / 3.502 GB, free: 231 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/6.989, allocations: 7.719 kB / 3.502 GB, free: 231 MB / 0.948 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.002654/6.991, allocations: 1.873 MB / 3.503 GB, free: 230.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005616/6.992, allocations: 302.3 kB / 3.504 GB, free: 230.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002046/6.992, allocations: 130.2 kB / 3.504 GB, free: 230.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002655/6.992, allocations: 196.7 kB / 3.504 GB, free: 229.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.374e-05/6.992, allocations: 38.09 kB / 3.504 GB, free: 229.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=26): time 1.452e-06/6.993, allocations: 0 / 3.504 GB, free: 229.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=26): time 0.001153/6.994, allocations: 395.9 kB / 3.504 GB, free: 229.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.027e-05/6.994, allocations: 209.2 kB / 3.505 GB, free: 229.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001035/6.995, allocations: 0.6744 MB / 3.505 GB, free: 229.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.303e-05/6.995, allocations: 27.89 kB / 3.505 GB, free: 229.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002694/6.995, allocations: 365.3 kB / 3.506 GB, free: 229.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.487e-05/6.995, allocations: 87.78 kB / 3.506 GB, free: 229.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.012e-05/6.995, allocations: 0 / 3.506 GB, free: 229.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.146e-05/6.995, allocations: 323.5 kB / 3.506 GB, free: 228.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002071/6.996, allocations: 123.9 kB / 3.506 GB, free: 228.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00034/6.996, allocations: 332.9 kB / 3.506 GB, free: 228.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000372/6.996, allocations: 172.1 kB / 3.507 GB, free: 228.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/6.996, allocations: 0 / 3.507 GB, free: 228.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0009639/6.997, allocations: 457.6 kB / 3.507 GB, free: 228.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.302e-05/6.997, allocations: 282.4 kB / 3.507 GB, free: 228.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.308e-05/6.997, allocations: 9.094 kB / 3.507 GB, free: 228.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001618/6.998, allocations: 29.02 kB / 3.507 GB, free: 228.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005208/6.998, allocations: 91.81 kB / 3.507 GB, free: 228.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005727/6.999, allocations: 1.163 MB / 3.509 GB, free: 227.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008557/7, allocations: 96.69 kB / 3.509 GB, free: 227.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.924e-05/7, allocations: 20.25 kB / 3.509 GB, free: 227.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/7, allocations: 3.531 kB / 3.509 GB, free: 227.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006895/7, allocations: 332 kB / 3.509 GB, free: 227.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.634e-05/7, allocations: 8.344 kB / 3.509 GB, free: 227.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001461/7, allocations: 37.02 kB / 3.509 GB, free: 227.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003628/7.001, allocations: 75.92 kB / 3.509 GB, free: 227.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00104/7.002, allocations: 1.407 MB / 3.511 GB, free: 225.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008256/7.003, allocations: 92.62 kB / 3.511 GB, free: 225.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.75e-05/7.003, allocations: 22.48 kB / 3.511 GB, free: 225.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 25 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0001603/7.003, allocations: 119.4 kB / 3.511 GB, free: 225.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001479/7.003, allocations: 67.84 kB / 3.511 GB, free: 225.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008059/7.004, allocations: 395.2 kB / 3.511 GB, free: 225.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.209e-06/7.004, allocations: 3.219 kB / 3.511 GB, free: 225.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/7.004, allocations: 0 / 3.511 GB, free: 225.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/7.004, allocations: 2.812 kB / 3.511 GB, free: 225.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002013/7.006, allocations: 1.092 MB / 3.512 GB, free: 225.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/7.006, allocations: 2.812 kB / 3.512 GB, free: 225.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003697/7.006, allocations: 71.17 kB / 3.512 GB, free: 225.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.993e-05/7.006, allocations: 29.31 kB / 3.512 GB, free: 225.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.565e-05/7.007, allocations: 10.38 kB / 3.512 GB, free: 225.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004569/7.007, allocations: 1.154 MB / 3.513 GB, free: 224.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/7.007, allocations: 2.344 kB / 3.513 GB, free: 224.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001033/7.008, allocations: 0.7198 MB / 3.514 GB, free: 223.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003362/7.008, allocations: 211.2 kB / 3.514 GB, free: 223.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001316/7.009, allocations: 8.75 kB / 3.514 GB, free: 223.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007038/7.009, allocations: 53.36 kB / 3.514 GB, free: 223.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.351e-05/7.009, allocations: 29.03 kB / 3.514 GB, free: 223.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.956e-05/7.009, allocations: 15.73 kB / 3.515 GB, free: 223.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008122/7.01, allocations: 0.5248 MB / 3.515 GB, free: 223.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.3e-07/7.01, allocations: 2.594 kB / 3.515 GB, free: 223.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001794/7.012, allocations: 450.2 kB / 3.515 GB, free: 223.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (dam.filter.x[1],dam.filter.x[2],vav.filter.x[1],vav.filter.x[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * 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: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002785/7.015, allocations: 1.447 MB / 3.517 GB, free: 223.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001584/7.016, allocations: 0.7266 MB / 3.518 GB, free: 223.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/7.016, allocations: 1.312 kB / 3.518 GB, free: 223.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003552/7.017, allocations: 149.2 kB / 3.518 GB, free: 223.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001646/7.018, allocations: 253.8 kB / 3.518 GB, free: 223.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002041/7.021, allocations: 0.916 MB / 3.519 GB, free: 222.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007258/7.021, allocations: 0.9801 MB / 3.52 GB, free: 222 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001439/7.023, allocations: 253.1 kB / 3.52 GB, free: 222 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001384/7.023, allocations: 42.08 kB / 3.52 GB, free: 222 MB / 0.948 GB Notification: Performance of SimCode: time 4.41e-07/7.023, allocations: 0 / 3.52 GB, free: 222 MB / 0.948 GB Notification: Performance of Templates: time 0.04381/7.067, allocations: 20.09 MB / 3.54 GB, free: 221.7 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.makefile (rm -f Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.sim & ./Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe 2>&1)