Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch") translateModel(Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.012/2.012, allocations: 391.2 MB / 407 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001104/0.001105, allocations: 195.4 kB / 499.1 MB, free: 4.629 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.267/1.267, allocations: 222.9 MB / 0.7948 GB, free: 15.81 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 111.6 kB / 0.9329 GB, free: 7.09 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001141/0.001141, allocations: 47.41 kB / 1.081 GB, free: 218.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.2235, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch): time 0.6757/0.8992, allocations: 213.6 MB / 1.427 GB, free: 2.309 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.01568/0.9149, allocations: 13.02 MB / 1.439 GB, free: 2.125 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00204/0.917, allocations: 47.25 kB / 1.439 GB, free: 2.125 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.002046/0.9191, allocations: 0.7258 MB / 1.44 GB, free: 2.113 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.006067/0.9252, allocations: 2.299 MB / 1.442 GB, free: 2.008 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.006135/0.9313, allocations: 2.157 MB / 1.445 GB, free: 1.934 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.006985/0.9383, allocations: 5.081 MB / 1.45 GB, free: 1.926 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002814/0.9411, allocations: 1.248 MB / 1.451 GB, free: 1.77 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00608/0.9472, allocations: 2.198 MB / 1.453 GB, free: 1.73 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003837/0.9511, allocations: 1.538 MB / 1.454 GB, free: 1.723 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.000907/0.952, allocations: 105.5 kB / 1.454 GB, free: 1.723 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006852/0.9589, allocations: 3.099 MB / 1.457 GB, free: 1.691 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.001204/0.9601, allocations: 0.57 MB / 1.458 GB, free: 1.691 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.003176/0.9633, allocations: 1.013 MB / 1.459 GB, free: 1.688 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.008648/0.972, allocations: 4.702 MB / 1.464 GB, free: 1.281 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.972, allocations: 2.219 kB / 1.464 GB, free: 1.281 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.052e-06/0.972, allocations: 0 / 1.464 GB, free: 1.281 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001139/0.9721, allocations: 0 / 1.464 GB, free: 1.281 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.008515/0.9806, allocations: 2.769 MB / 1.466 GB, free: 16.02 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.9807, allocations: 19.67 kB / 1.466 GB, free: 16.01 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002486/0.9832, allocations: 492.6 kB / 1.467 GB, free: 15.89 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003214/0.9864, allocations: 1.882 MB / 1.469 GB, free: 15.47 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005904/0.987, allocations: 203.4 kB / 1.469 GB, free: 15.45 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002307/0.9873, allocations: 117.7 kB / 1.469 GB, free: 15.45 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002686/0.99, allocations: 1.561 MB / 1.471 GB, free: 15.25 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.26e-05/0.99, allocations: 0 / 1.471 GB, free: 15.25 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001176/0.9901, allocations: 44.77 kB / 1.471 GB, free: 15.25 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.476e-05/0.9902, allocations: 45.03 kB / 1.471 GB, free: 15.25 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003321/0.9935, allocations: 1.693 MB / 1.472 GB, free: 15.22 MB / 0.9323 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.01135/1.005, allocations: 7.603 MB / 1.48 GB, free: 12.13 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002827/1.008, allocations: 1.338 MB / 1.481 GB, free: 12.03 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001322/1.009, allocations: 0.6707 MB / 1.482 GB, free: 12 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007368/1.01, allocations: 0.7079 MB / 1.482 GB, free: 11.24 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.501e-05/1.01, allocations: 45.86 kB / 1.482 GB, free: 11.2 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=70): time 2.655e-06/1.01, allocations: 0 / 1.482 GB, free: 11.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=70): time 0.005654/1.016, allocations: 1.978 MB / 1.484 GB, free: 11.03 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.823e-05/1.016, allocations: 112.8 kB / 1.484 GB, free: 10.91 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002914/1.019, allocations: 2.091 MB / 1.486 GB, free: 10.71 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0003638/1.019, allocations: 44.27 kB / 1.486 GB, free: 10.68 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005899/1.02, allocations: 0.7044 MB / 1.487 GB, free: 10.46 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002211/1.02, allocations: 245.7 kB / 1.487 GB, free: 10.3 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005922/1.02, allocations: 309.8 kB / 1.488 GB, free: 10.27 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.000145/1.02, allocations: 360 kB / 1.488 GB, free: 9.965 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002394/1.023, allocations: 1.371 MB / 1.489 GB, free: 9.945 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002525/1.025, allocations: 1.743 MB / 1.491 GB, free: 9.562 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003587/1.029, allocations: 2.265 MB / 1.493 GB, free: 9.258 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.132e-06/1.029, allocations: 0 / 1.493 GB, free: 9.258 MB / 0.9323 GB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005718/1.035, allocations: 3.042 MB / 1.496 GB, free: 9.09 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.765e-05/1.035, allocations: 7.938 kB / 1.496 GB, free: 9.09 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.535e-05/1.035, allocations: 7.375 kB / 1.496 GB, free: 9.09 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.461e-05/1.035, allocations: 12.53 kB / 1.496 GB, free: 9.09 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001799/1.037, allocations: 325.3 kB / 1.497 GB, free: 9.086 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.088e-05/1.037, allocations: 15.38 kB / 1.497 GB, free: 9.086 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002045/1.039, allocations: 279.3 kB / 1.497 GB, free: 8.988 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001954/1.039, allocations: 62.45 kB / 1.497 GB, free: 8.984 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003199/1.042, allocations: 1.727 MB / 1.499 GB, free: 8.887 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0025/1.045, allocations: 1.734 MB / 1.5 GB, free: 8.516 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003733/1.048, allocations: 2.259 MB / 1.503 GB, free: 7.598 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.939e-06/1.048, allocations: 2.25 kB / 1.503 GB, free: 7.598 MB / 0.9323 GB Notification: Performance of matching and sorting (n=172) (initialization_lambda0): time 0.005458/1.054, allocations: 3.032 MB / 1.505 GB, free: 6.539 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/1.054, allocations: 8.656 kB / 1.506 GB, free: 6.539 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/1.054, allocations: 7.906 kB / 1.506 GB, free: 6.539 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/1.054, allocations: 13.69 kB / 1.506 GB, free: 6.539 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001478/1.055, allocations: 327.3 kB / 1.506 GB, free: 6.523 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.392e-05/1.055, allocations: 17.72 kB / 1.506 GB, free: 6.523 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002057/1.058, allocations: 233.7 kB / 1.506 GB, free: 6.449 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001557/1.058, allocations: 56.61 kB / 1.506 GB, free: 6.438 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (135): * Single equations (assignments): 133 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.0004004/1.058, allocations: 269.3 kB / 1.506 GB, free: 6.215 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003095/1.058, allocations: 168.2 kB / 1.507 GB, free: 6.121 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003422/1.062, allocations: 1.54 MB / 1.508 GB, free: 5.598 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.444e-05/1.062, allocations: 11.66 kB / 1.508 GB, free: 5.594 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/1.062, allocations: 6.812 kB / 1.508 GB, free: 5.59 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.838e-06/1.062, allocations: 7.938 kB / 1.508 GB, free: 5.586 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005573/1.068, allocations: 3.466 MB / 1.511 GB, free: 3.84 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.471e-06/1.068, allocations: 3.219 kB / 1.511 GB, free: 3.84 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009884/1.069, allocations: 202.4 kB / 1.512 GB, free: 3.789 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.304e-06/1.069, allocations: 5.094 kB / 1.512 GB, free: 3.789 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-05/1.069, allocations: 30.81 kB / 1.512 GB, free: 3.77 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.513e-06/1.069, allocations: 4.812 kB / 1.512 GB, free: 3.77 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/1.069, allocations: 5.156 kB / 1.512 GB, free: 3.77 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009149/1.078, allocations: 5.961 MB / 1.518 GB, free: 15.92 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000641/1.078, allocations: 446.3 kB / 1.518 GB, free: 15.54 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001802/1.079, allocations: 20.3 kB / 1.518 GB, free: 15.53 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001212/1.08, allocations: 138 kB / 1.518 GB, free: 15.46 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/1.08, allocations: 60.92 kB / 1.518 GB, free: 15.43 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.734e-05/1.08, allocations: 35.25 kB / 1.518 GB, free: 15.42 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001714/1.082, allocations: 1.45 MB / 1.52 GB, free: 14.66 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.6e-07/1.082, allocations: 0 / 1.52 GB, free: 14.66 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003093/1.085, allocations: 1.263 MB / 1.521 GB, free: 14.46 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (vavBra.vav.filter.s[1],vavBra.vav.filter.s[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 (78): * Single equations (assignments): 76 * 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.001121/1.086, allocations: 0.5708 MB / 1.521 GB, free: 14.21 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.006842/1.093, allocations: 3.991 MB / 1.525 GB, free: 10.95 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/1.093, allocations: 0 / 1.525 GB, free: 10.95 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001455/1.094, allocations: 0.7158 MB / 1.526 GB, free: 10.26 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002902/1.097, allocations: 0.6548 MB / 1.527 GB, free: 9.613 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00501/1.102, allocations: 3.986 MB / 1.531 GB, free: 5.57 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007702/1.103, allocations: 1.322 MB / 1.532 GB, free: 4.219 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002058/1.105, allocations: 0.5351 MB / 1.532 GB, free: 3.688 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005412/1.106, allocations: 131.4 kB / 1.532 GB, free: 3.559 MB / 0.948 GB Notification: Performance of SimCode: time 3.2e-07/1.106, allocations: 0 / 1.532 GB, free: 3.559 MB / 0.948 GB Notification: Performance of Templates: time 0.05471/1.16, allocations: 40.17 MB / 1.572 GB, free: 11.81 MB / 0.9948 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.makefile (rm -f Buildings_latest_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.sim & ./Buildings_latest_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.pipe 2>&1)