Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.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.Obsolete.Examples.VAVReheat.Validation.VAVBranch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch") translateModel(Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.555/1.555, allocations: 292.3 MB / 308.1 MB, free: 4.262 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.001128/0.001128, allocations: 194.4 kB / 376.9 MB, free: 1.793 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.359/1.359, allocations: 205.1 MB / 0.6354 GB, free: 9.773 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.0009433/0.0009435, allocations: 103.1 kB / 0.748 GB, free: 61.09 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001055/0.001055, allocations: 55.91 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2326/0.2336, allocations: 114.5 MB / 0.9822 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch): time 0.5816/0.8153, allocations: 213.8 MB / 1.191 GB, free: 11.14 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.01993/0.8353, allocations: 15.98 MB / 1.207 GB, free: 320 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002068/0.8374, allocations: 48.5 kB / 1.207 GB, free: 296 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.002232/0.8396, allocations: 0.7762 MB / 1.207 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.005446/0.8451, allocations: 2.265 MB / 1.21 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.008692/0.8538, allocations: 3.22 MB / 1.213 GB, free: 12.9 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.006906/0.8607, allocations: 4.975 MB / 1.218 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0018/0.8625, allocations: 1.206 MB / 1.219 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004959/0.8675, allocations: 2.167 MB / 1.221 GB, free: 9.52 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002575/0.8701, allocations: 1.229 MB / 1.222 GB, free: 9.012 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0002596/0.8704, allocations: 89.44 kB / 1.222 GB, free: 9.008 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006001/0.8764, allocations: 3.202 MB / 1.225 GB, free: 7.977 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0007092/0.8771, allocations: 0.5167 MB / 1.226 GB, free: 7.754 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.001474/0.8786, allocations: 0.9609 MB / 1.227 GB, free: 7.172 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.007708/0.8863, allocations: 4.398 MB / 1.231 GB, free: 5.676 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 7.635e-06/0.8864, allocations: 1.031 kB / 1.231 GB, free: 5.676 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.402e-06/0.8864, allocations: 3.938 kB / 1.231 GB, free: 5.672 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.312e-05/0.8864, allocations: 0 / 1.231 GB, free: 5.672 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.006942/0.8934, allocations: 2.672 MB / 1.234 GB, free: 4.039 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.8934, allocations: 10.53 kB / 1.234 GB, free: 4.039 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002717/0.8961, allocations: 0.5183 MB / 1.234 GB, free: 3.898 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003332/0.8995, allocations: 1.828 MB / 1.236 GB, free: 2.84 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006906/0.9002, allocations: 209.9 kB / 1.236 GB, free: 2.781 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002234/0.9004, allocations: 117 kB / 1.236 GB, free: 2.746 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003443/0.9039, allocations: 1.59 MB / 1.238 GB, free: 2.059 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.306e-05/0.9039, allocations: 1.344 kB / 1.238 GB, free: 2.059 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001103/0.904, allocations: 45.97 kB / 1.238 GB, free: 2.023 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.549e-05/0.9041, allocations: 46.22 kB / 1.238 GB, free: 2.016 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003997/0.9081, allocations: 1.704 MB / 1.24 GB, free: 1.461 MB / 0.8073 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.009934/0.9181, allocations: 6.943 MB / 1.246 GB, free: 12.8 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003092/0.9212, allocations: 1.385 MB / 1.248 GB, free: 12.31 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001396/0.9226, allocations: 0.6744 MB / 1.248 GB, free: 12.08 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008008/0.9234, allocations: 0.7138 MB / 1.249 GB, free: 11.31 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.588e-05/0.9234, allocations: 42.88 kB / 1.249 GB, free: 11.27 MB / 0.823 GB Notification: Performance of pre-optimization done (n=71): time 3.457e-06/0.9234, allocations: 0 / 1.249 GB, free: 11.27 MB / 0.823 GB Notification: Performance of matching and sorting (n=71): time 0.004988/0.9284, allocations: 2.034 MB / 1.251 GB, free: 10.6 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/0.9285, allocations: 191 kB / 1.251 GB, free: 10.38 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002955/0.9315, allocations: 2.118 MB / 1.253 GB, free: 9.52 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001263/0.9316, allocations: 48.48 kB / 1.253 GB, free: 9.473 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005765/0.9322, allocations: 0.7242 MB / 1.254 GB, free: 8.898 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002182/0.9325, allocations: 244 kB / 1.254 GB, free: 8.707 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000461/0.9329, allocations: 308 kB / 1.255 GB, free: 8.574 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.9331, allocations: 366.4 kB / 1.255 GB, free: 8.242 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001933/0.935, allocations: 1.229 MB / 1.256 GB, free: 7.84 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002242/0.9373, allocations: 1.612 MB / 1.258 GB, free: 7.008 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003692/0.941, allocations: 2.376 MB / 1.26 GB, free: 5.973 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.941, allocations: 1.875 kB / 1.26 GB, free: 5.973 MB / 0.823 GB Notification: Performance of matching and sorting (n=177) (initialization): time 0.005009/0.946, allocations: 2.967 MB / 1.263 GB, free: 3.309 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.946, allocations: 11.98 kB / 1.263 GB, free: 3.297 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.215e-05/0.9461, allocations: 8 kB / 1.263 GB, free: 3.289 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.9461, allocations: 15.94 kB / 1.263 GB, free: 3.273 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001401/0.9475, allocations: 324 kB / 1.263 GB, free: 2.957 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.133e-05/0.9475, allocations: 16.8 kB / 1.263 GB, free: 2.941 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001976/0.9495, allocations: 293.9 kB / 1.264 GB, free: 2.652 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001239/0.9496, allocations: 60.03 kB / 1.264 GB, free: 2.594 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002576/0.9522, allocations: 1.592 MB / 1.265 GB, free: 0.9961 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002334/0.9546, allocations: 1.613 MB / 1.267 GB, free: 15.23 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003796/0.9584, allocations: 2.373 MB / 1.269 GB, free: 12.77 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.251e-06/0.9584, allocations: 4.938 kB / 1.269 GB, free: 12.76 MB / 0.8386 GB Notification: Performance of matching and sorting (n=177) (initialization_lambda0): time 0.005183/0.9636, allocations: 2.968 MB / 1.272 GB, free: 9.785 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.9636, allocations: 12.03 kB / 1.272 GB, free: 9.773 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.669e-05/0.9636, allocations: 8 kB / 1.272 GB, free: 9.766 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.9637, allocations: 12 kB / 1.272 GB, free: 9.754 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001418/0.9651, allocations: 319.5 kB / 1.272 GB, free: 9.441 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.672e-05/0.9651, allocations: 19.92 kB / 1.272 GB, free: 9.422 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001985/0.9671, allocations: 250.9 kB / 1.273 GB, free: 9.176 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001197/0.9672, allocations: 60.52 kB / 1.273 GB, free: 9.117 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 15 (vavBra.terHea.flowRegime_nominal,vavBra.vav.idx_sorted[13],vavBra.vav.idx_sorted[12],vavBra.vav.idx_sorted[11],vavBra.vav.idx_sorted[10],vavBra.vav.idx_sorted[9],vavBra.vav.idx_sorted[8],vavBra.vav.idx_sorted[7],vavBra.vav.idx_sorted[6],vavBra.vav.idx_sorted[5],vavBra.vav.idx_sorted[4],vavBra.vav.idx_sorted[3],vavBra.vav.idx_sorted[2],vavBra.vav.idx_sorted[1],vavBra.terHea.flowRegime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 134 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003731/0.9676, allocations: 261.6 kB / 1.273 GB, free: 8.855 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000374/0.968, allocations: 169.8 kB / 1.273 GB, free: 8.688 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003646/0.9716, allocations: 1.576 MB / 1.275 GB, free: 7.098 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.57e-05/0.9717, allocations: 11.98 kB / 1.275 GB, free: 7.086 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.9717, allocations: 0 / 1.275 GB, free: 7.086 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.9717, allocations: 7.984 kB / 1.275 GB, free: 7.078 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006299/0.978, allocations: 3.519 MB / 1.278 GB, free: 3.469 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.978, allocations: 4.047 kB / 1.278 GB, free: 3.465 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001057/0.9791, allocations: 216 kB / 1.278 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.077e-06/0.9791, allocations: 8 kB / 1.278 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.171e-05/0.9792, allocations: 23.98 kB / 1.278 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.886e-06/0.9792, allocations: 11.94 kB / 1.278 GB, free: 3.211 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.9792, allocations: 3.984 kB / 1.278 GB, free: 3.207 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0107/0.9899, allocations: 6.053 MB / 1.284 GB, free: 12.96 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008783/0.9908, allocations: 446.5 kB / 1.285 GB, free: 12.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000205/0.991, allocations: 19.98 kB / 1.285 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001392/0.9924, allocations: 131.8 kB / 1.285 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001723/0.9926, allocations: 64.36 kB / 1.285 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-05/0.9927, allocations: 39.97 kB / 1.285 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.002325/0.9951, allocations: 1.464 MB / 1.286 GB, free: 10.77 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.21e-07/0.9951, allocations: 0 / 1.286 GB, free: 10.77 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.004316/0.9994, allocations: 1.249 MB / 1.288 GB, free: 9.516 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (vavBra.vav.filter.x[1],vavBra.vav.filter.x[2]) * Number of discrete variables: 1 (vavBra.terHea.flowRegime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001611/1.001, allocations: 0.6063 MB / 1.288 GB, free: 8.906 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.007379/1.008, allocations: 3.814 MB / 1.292 GB, free: 5.07 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/1.008, allocations: 4.125 kB / 1.292 GB, free: 5.066 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001766/1.01, allocations: 0.7337 MB / 1.293 GB, free: 4.336 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00372/1.014, allocations: 0.6756 MB / 1.293 GB, free: 3.66 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006588/1.021, allocations: 4.024 MB / 1.297 GB, free: 15.56 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001026/1.022, allocations: 1.341 MB / 1.298 GB, free: 14.19 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002011/1.024, allocations: 466.1 kB / 1.299 GB, free: 13.74 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004532/1.024, allocations: 135.4 kB / 1.299 GB, free: 13.61 MB / 0.8698 GB Notification: Performance of SimCode: time 1.323e-06/1.024, allocations: 3.938 kB / 1.299 GB, free: 13.61 MB / 0.8698 GB Notification: Performance of Templates: time 0.05851/1.083, allocations: 36.83 MB / 1.335 GB, free: 8.949 MB / 0.9011 GB make -j1 -f Buildings_8_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.makefile (rm -f Buildings_8_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.pipe ; mkfifo Buildings_8_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.pipe >> ../files/Buildings_8_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.sim & ./Buildings_8_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.pipe 2>&1)