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/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 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00179/0.00179, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002007/0.002007, allocations: 195.1 kB / 16.53 MB, free: 6.664 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.509/1.509, allocations: 205.1 MB / 222.4 MB, free: 4.617 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.755/1.755, allocations: 292.3 MB / 0.5489 GB, free: 12.85 MB / 462.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.001428/0.001428, allocations: 73.16 kB / 0.6715 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2396/0.241, allocations: 114.6 MB / 0.7834 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch): time 0.7507/0.9918, allocations: 216.1 MB / 0.9944 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02477/1.017, allocations: 15.34 MB / 1.009 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00327/1.02, allocations: 56.34 kB / 1.009 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.003115/1.023, allocations: 0.9449 MB / 1.01 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.007589/1.031, allocations: 2.437 MB / 1.013 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.01039/1.041, allocations: 3.893 MB / 1.016 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.00672/1.048, allocations: 4.042 MB / 1.02 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002693/1.051, allocations: 1.486 MB / 1.022 GB, free: 12.31 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006637/1.057, allocations: 2.466 MB / 1.024 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002828/1.06, allocations: 1.25 MB / 1.026 GB, free: 9.945 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0005962/1.061, allocations: 209.8 kB / 1.026 GB, free: 9.941 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006382/1.067, allocations: 3.167 MB / 1.029 GB, free: 8.238 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001024/1.068, allocations: 0.6351 MB / 1.029 GB, free: 7.758 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.002378/1.071, allocations: 1.095 MB / 1.031 GB, free: 6.969 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.009011/1.08, allocations: 4.422 MB / 1.035 GB, free: 3.949 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 8.456e-06/1.08, allocations: 0 / 1.035 GB, free: 3.949 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.673e-06/1.08, allocations: 0 / 1.035 GB, free: 3.949 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0001318/1.08, allocations: 2.312 kB / 1.035 GB, free: 3.949 MB / 0.7481 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.008712/1.089, allocations: 2.674 MB / 1.037 GB, free: 1.992 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/1.089, allocations: 13.38 kB / 1.037 GB, free: 1.988 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003261/1.092, allocations: 0.514 MB / 1.038 GB, free: 1.746 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004368/1.096, allocations: 1.838 MB / 1.04 GB, free: 388 kB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006939/1.097, allocations: 204.9 kB / 1.04 GB, free: 300 kB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003767/1.097, allocations: 114.3 kB / 1.04 GB, free: 264 kB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00328/1.101, allocations: 1.61 MB / 1.042 GB, free: 14.89 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.47e-05/1.101, allocations: 4 kB / 1.042 GB, free: 14.89 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001134/1.101, allocations: 36 kB / 1.042 GB, free: 14.86 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.96e-05/1.101, allocations: 45.98 kB / 1.042 GB, free: 14.81 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003971/1.105, allocations: 1.718 MB / 1.043 GB, free: 13.09 MB / 0.7637 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.01139/1.116, allocations: 7.119 MB / 1.05 GB, free: 5.617 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003396/1.12, allocations: 1.374 MB / 1.052 GB, free: 4.219 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001565/1.121, allocations: 0.6757 MB / 1.052 GB, free: 3.531 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008792/1.122, allocations: 0.72 MB / 1.053 GB, free: 2.664 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/1.122, allocations: 39.12 kB / 1.053 GB, free: 2.617 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=71): time 3.877e-06/1.122, allocations: 0 / 1.053 GB, free: 2.617 MB / 0.7637 GB Notification: Performance of matching and sorting (n=71): time 0.005561/1.128, allocations: 2.043 MB / 1.055 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001251/1.128, allocations: 188.5 kB / 1.055 GB, free: 348 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00359/1.132, allocations: 2.118 MB / 1.057 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0002885/1.132, allocations: 49.7 kB / 1.057 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006296/1.132, allocations: 0.7093 MB / 1.058 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.000258/1.133, allocations: 256.4 kB / 1.058 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004846/1.133, allocations: 306.7 kB / 1.059 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001527/1.133, allocations: 365.9 kB / 1.059 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002144/1.136, allocations: 1.229 MB / 1.06 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002647/1.138, allocations: 1.638 MB / 1.062 GB, free: 9.457 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004248/1.142, allocations: 2.398 MB / 1.064 GB, free: 6.969 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.709e-06/1.143, allocations: 7.938 kB / 1.064 GB, free: 6.961 MB / 0.7794 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.005679/1.148, allocations: 2.987 MB / 1.067 GB, free: 3.965 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/1.148, allocations: 8 kB / 1.067 GB, free: 3.957 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.601e-05/1.148, allocations: 8 kB / 1.067 GB, free: 3.949 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.928e-05/1.148, allocations: 12 kB / 1.067 GB, free: 3.938 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001512/1.15, allocations: 328 kB / 1.067 GB, free: 3.617 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.906e-05/1.15, allocations: 23.91 kB / 1.067 GB, free: 3.594 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002097/1.152, allocations: 261.9 kB / 1.068 GB, free: 3.336 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001644/1.152, allocations: 67.91 kB / 1.068 GB, free: 3.27 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002798/1.155, allocations: 1.585 MB / 1.069 GB, free: 1.672 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002611/1.158, allocations: 1.633 MB / 1.071 GB, free: 15.89 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004269/1.162, allocations: 2.39 MB / 1.073 GB, free: 13.4 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.203e-06/1.162, allocations: 0 / 1.073 GB, free: 13.4 MB / 0.795 GB Notification: Performance of matching and sorting (n=179) (initialization_lambda0): time 0.005871/1.168, allocations: 2.975 MB / 1.076 GB, free: 10.41 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/1.168, allocations: 8 kB / 1.076 GB, free: 10.41 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.545e-05/1.168, allocations: 11.98 kB / 1.076 GB, free: 10.39 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/1.168, allocations: 12 kB / 1.076 GB, free: 10.38 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001486/1.169, allocations: 332 kB / 1.076 GB, free: 10.06 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.761e-05/1.169, allocations: 15.94 kB / 1.076 GB, free: 10.04 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002223/1.172, allocations: 227 kB / 1.077 GB, free: 9.82 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000159/1.172, allocations: 59.97 kB / 1.077 GB, free: 9.762 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (140): * Single equations (assignments): 136 * 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.000472/1.172, allocations: 265.7 kB / 1.077 GB, free: 9.496 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005906/1.173, allocations: 169.8 kB / 1.077 GB, free: 9.328 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003885/1.177, allocations: 1.58 MB / 1.079 GB, free: 7.738 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.585e-05/1.177, allocations: 8 kB / 1.079 GB, free: 7.73 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.447e-06/1.177, allocations: 4 kB / 1.079 GB, free: 7.727 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.247e-05/1.177, allocations: 7.984 kB / 1.079 GB, free: 7.719 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006658/1.184, allocations: 3.525 MB / 1.082 GB, free: 4.098 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/1.184, allocations: 0 / 1.082 GB, free: 4.098 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001109/1.185, allocations: 215.9 kB / 1.082 GB, free: 3.887 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-05/1.185, allocations: 12 kB / 1.082 GB, free: 3.875 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-05/1.185, allocations: 23.97 kB / 1.082 GB, free: 3.852 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.945e-06/1.185, allocations: 4 kB / 1.082 GB, free: 3.848 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/1.185, allocations: 4 kB / 1.082 GB, free: 3.844 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005653/1.19, allocations: 2.534 MB / 1.085 GB, free: 1.262 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001157/1.192, allocations: 442.6 kB / 1.085 GB, free: 0.8086 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002735/1.192, allocations: 20 kB / 1.085 GB, free: 0.7891 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00131/1.193, allocations: 103.9 kB / 1.085 GB, free: 0.6875 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001705/1.193, allocations: 68.36 kB / 1.085 GB, free: 0.6172 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.876e-05/1.194, allocations: 39.97 kB / 1.085 GB, free: 0.5781 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002202/1.196, allocations: 1.46 MB / 1.087 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.11e-07/1.196, allocations: 0 / 1.087 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003003/1.199, allocations: 0.9908 MB / 1.088 GB, free: 14.1 MB / 0.8106 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.001601/1.2, allocations: 0.6082 MB / 1.088 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.00755/1.208, allocations: 3.908 MB / 1.092 GB, free: 9.566 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 7.674e-06/1.208, allocations: 4.062 kB / 1.092 GB, free: 9.562 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001752/1.21, allocations: 0.7298 MB / 1.093 GB, free: 8.832 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00341/1.213, allocations: 0.6824 MB / 1.094 GB, free: 8.16 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005812/1.219, allocations: 3.061 MB / 1.097 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009452/1.22, allocations: 1.319 MB / 1.098 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.002385/1.222, allocations: 460.8 kB / 1.098 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000467/1.223, allocations: 139.4 kB / 1.099 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of SimCode: time 1.282e-06/1.223, allocations: 3.938 kB / 1.099 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of Templates: time 0.06398/1.287, allocations: 37.12 MB / 1.135 GB, free: 14.32 MB / 0.8575 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)