Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007129/0.0007127, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004869/0.004869, allocations: 169 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.589/1.589, allocations: 205.4 MB / 222.4 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.594/1.594, allocations: 252 MB / 0.5105 GB, free: 4.633 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005289/0.0005291, allocations: 12 kB / 0.6249 GB, free: 0.7188 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6205/0.621, allocations: 106.3 MB / 0.7287 GB, free: 11.26 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential): time 0.2117/0.8327, allocations: 170.4 MB / 0.8952 GB, free: 196 kB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.01161/0.8444, allocations: 6.481 MB / 0.9015 GB, free: 9.695 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001078/0.8455, allocations: 19.81 kB / 0.9015 GB, free: 9.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001302/0.8469, allocations: 366.1 kB / 0.9019 GB, free: 9.316 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00307/0.8499, allocations: 0.989 MB / 0.9028 GB, free: 8.324 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.006804/0.8568, allocations: 2.122 MB / 0.9049 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003114/0.8599, allocations: 2.065 MB / 0.9069 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009043/0.8608, allocations: 0.5527 MB / 0.9075 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001484/0.8623, allocations: 0.6887 MB / 0.9081 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007187/0.863, allocations: 0.5444 MB / 0.9087 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.495e-05/0.8631, allocations: 32 kB / 0.9087 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002408/0.8656, allocations: 1.193 MB / 0.9098 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003157/0.8659, allocations: 251.1 kB / 0.9101 GB, free: 0.8711 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004718/0.8664, allocations: 423.4 kB / 0.9105 GB, free: 460 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.6247/1.491, allocations: 1.368 MB / 0.9118 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.255e-06/1.491, allocations: 0.8125 kB / 0.9118 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.645e-06/1.491, allocations: 0.6562 kB / 0.9118 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.591e-05/1.491, allocations: 0.6562 kB / 0.9118 GB, free: 6.988 MB / 0.7169 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.003361/1.495, allocations: 1.179 MB / 0.913 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.635e-05/1.495, allocations: 14.33 kB / 0.913 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000844/1.495, allocations: 138.2 kB / 0.9131 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001452/1.497, allocations: 0.7347 MB / 0.9138 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.88e-05/1.497, allocations: 35.78 kB / 0.9139 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001152/1.497, allocations: 53.91 kB / 0.9139 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/1.498, allocations: 0.5033 MB / 0.9144 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/1.498, allocations: 6.094 kB / 0.9144 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.722e-05/1.498, allocations: 16.28 kB / 0.9144 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.554e-05/1.498, allocations: 8.953 kB / 0.9145 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008811/1.499, allocations: 359.3 kB / 0.9148 GB, free: 5.883 MB / 0.7169 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.003334/1.503, allocations: 1.941 MB / 0.9167 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008396/1.503, allocations: 353.1 kB / 0.917 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004313/1.504, allocations: 173.8 kB / 0.9172 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003054/1.504, allocations: 192.8 kB / 0.9174 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/1.504, allocations: 33.19 kB / 0.9174 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=26): time 2.826e-06/1.504, allocations: 1.031 kB / 0.9174 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of matching and sorting (n=26): time 0.002656/1.507, allocations: 0.707 MB / 0.9181 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/1.507, allocations: 214.1 kB / 0.9183 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002126/1.509, allocations: 0.9236 MB / 0.9192 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.144e-05/1.509, allocations: 34.27 kB / 0.9192 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003949/1.51, allocations: 363.2 kB / 0.9196 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.964e-05/1.51, allocations: 93.98 kB / 0.9197 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.816e-05/1.51, allocations: 37 kB / 0.9197 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.67e-05/1.51, allocations: 326.6 kB / 0.92 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004208/1.51, allocations: 163.2 kB / 0.9202 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005843/1.511, allocations: 371.9 kB / 0.9205 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008598/1.512, allocations: 366.9 kB / 0.9209 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/1.512, allocations: 0 / 0.9209 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001593/1.513, allocations: 0.5469 MB / 0.9214 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003434/1.514, allocations: 111.5 kB / 0.9215 GB, free: 19.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-05/1.514, allocations: 9.422 kB / 0.9215 GB, free: 19.11 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004185/1.514, allocations: 62.12 kB / 0.9216 GB, free: 19.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006172/1.515, allocations: 88.59 kB / 0.9217 GB, free: 19.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001063/1.516, allocations: 1.162 MB / 0.9228 GB, free: 17.99 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001199/1.517, allocations: 115.2 kB / 0.9229 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.273e-05/1.517, allocations: 9.625 kB / 0.9229 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/1.517, allocations: 3.375 kB / 0.9229 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00133/1.519, allocations: 425.3 kB / 0.9233 GB, free: 17.94 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.847e-05/1.519, allocations: 6.719 kB / 0.9233 GB, free: 17.94 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001965/1.519, allocations: 45.17 kB / 0.9234 GB, free: 17.93 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004537/1.519, allocations: 78.45 kB / 0.9235 GB, free: 17.93 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001798/1.521, allocations: 1.522 MB / 0.9249 GB, free: 16.53 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001129/1.522, allocations: 104.9 kB / 0.925 GB, free: 16.51 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.397e-05/1.522, allocations: 18.92 kB / 0.9251 GB, free: 16.5 MB / 0.7325 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 () * Number of clocked 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 (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0007191/1.523, allocations: 297.1 kB / 0.9253 GB, free: 16.31 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002422/1.523, allocations: 83.56 kB / 0.9254 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001208/1.525, allocations: 480.4 kB / 0.9259 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/1.525, allocations: 7.531 kB / 0.9259 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/1.525, allocations: 0 / 0.9259 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/1.525, allocations: 0 / 0.9259 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002745/1.527, allocations: 1.221 MB / 0.9271 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/1.527, allocations: 4.25 kB / 0.9271 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003974/1.528, allocations: 74.27 kB / 0.9272 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001338/1.528, allocations: 40.81 kB / 0.9272 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.135e-05/1.528, allocations: 15.58 kB / 0.9272 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006815/1.529, allocations: 1.154 MB / 0.9283 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/1.529, allocations: 1.625 kB / 0.9283 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001566/1.53, allocations: 0.7453 MB / 0.9291 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004758/1.531, allocations: 210 kB / 0.9293 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002354/1.531, allocations: 12.78 kB / 0.9293 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009117/1.532, allocations: 56.64 kB / 0.9293 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/1.532, allocations: 27.05 kB / 0.9294 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.259e-05/1.532, allocations: 15.09 kB / 0.9294 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001355/1.533, allocations: 0.668 MB / 0.93 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/1.533, allocations: 0 / 0.93 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001697/1.535, allocations: 350.9 kB / 0.9304 GB, free: 14.16 MB / 0.7325 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 () * Number of clocked 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 (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009265/1.536, allocations: 256 kB / 0.9306 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002153/1.538, allocations: 0.8326 MB / 0.9314 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/1.538, allocations: 0 / 0.9314 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004855/1.539, allocations: 187.7 kB / 0.9316 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002151/1.541, allocations: 338.3 kB / 0.9319 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002487/1.543, allocations: 1.541 MB / 0.9334 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006704/1.544, allocations: 0.9714 MB / 0.9344 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0008583/1.545, allocations: 188.4 kB / 0.9346 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002377/1.545, allocations: 57.69 kB / 0.9346 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of SimCode: time 8.81e-07/1.545, allocations: 4 kB / 0.9346 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of Templates: time 0.03215/1.577, allocations: 14.83 MB / 0.9491 GB, free: 11.36 MB / 0.7325 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe 2>&1) Environment - environmentSimulation: