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.001057/0.001057, allocations: 107.4 kB / 16.29 MB, free: 6.43 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.001185/0.001185, allocations: 184 kB / 17.22 MB, free: 5.934 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.538/1.538, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.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.845/1.845, allocations: 292.3 MB / 0.5495 GB, free: 17.62 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.001465/0.001466, allocations: 64.47 kB / 0.6722 GB, free: 6.566 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3014/0.3029, allocations: 114.6 MB / 0.7841 GB, free: 3.895 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch): time 0.7498/1.053, allocations: 216.1 MB / 0.9951 GB, free: 2.391 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.02616/1.079, allocations: 15.34 MB / 1.01 GB, free: 3.027 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003277/1.082, allocations: 55.62 kB / 1.01 GB, free: 2.973 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.003479/1.086, allocations: 0.9513 MB / 1.011 GB, free: 2.016 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.00837/1.094, allocations: 2.436 MB / 1.013 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0119/1.106, allocations: 3.903 MB / 1.017 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.007597/1.114, allocations: 4.05 MB / 1.021 GB, free: 7.66 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003404/1.117, allocations: 1.489 MB / 1.023 GB, free: 6.168 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008038/1.125, allocations: 2.469 MB / 1.025 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003393/1.129, allocations: 1.255 MB / 1.026 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.000926/1.13, allocations: 208 kB / 1.026 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008346/1.138, allocations: 3.25 MB / 1.03 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.001388/1.139, allocations: 0.6349 MB / 1.03 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.002878/1.142, allocations: 1.096 MB / 1.031 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.01038/1.153, allocations: 4.461 MB / 1.036 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/1.153, allocations: 0 / 1.036 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.555e-06/1.153, allocations: 0 / 1.036 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0001286/1.153, allocations: 0 / 1.036 GB, free: 8.77 MB / 0.8262 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.009824/1.163, allocations: 2.677 MB / 1.038 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/1.163, allocations: 8.625 kB / 1.038 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0032/1.166, allocations: 0.5128 MB / 1.039 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004359/1.17, allocations: 1.835 MB / 1.041 GB, free: 3.621 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006944/1.171, allocations: 210.4 kB / 1.041 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004866/1.172, allocations: 116 kB / 1.041 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004102/1.176, allocations: 1.605 MB / 1.042 GB, free: 1.629 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.407e-05/1.176, allocations: 5.25 kB / 1.042 GB, free: 1.625 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001931/1.176, allocations: 40 kB / 1.043 GB, free: 1.586 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.133e-05/1.176, allocations: 45.98 kB / 1.043 GB, free: 1.539 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004444/1.181, allocations: 1.71 MB / 1.044 GB, free: 15.83 MB / 0.8419 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.01227/1.193, allocations: 7.076 MB / 1.051 GB, free: 8.402 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003186/1.196, allocations: 1.379 MB / 1.052 GB, free: 7 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001509/1.198, allocations: 0.6828 MB / 1.053 GB, free: 6.309 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008267/1.198, allocations: 0.716 MB / 1.054 GB, free: 5.445 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.928e-05/1.198, allocations: 47.12 kB / 1.054 GB, free: 5.391 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=71): time 3.186e-06/1.198, allocations: 0 / 1.054 GB, free: 5.391 MB / 0.8419 GB Notification: Performance of matching and sorting (n=71): time 0.005283/1.204, allocations: 2.031 MB / 1.056 GB, free: 3.352 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001148/1.204, allocations: 192.5 kB / 1.056 GB, free: 3.121 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003765/1.208, allocations: 2.126 MB / 1.058 GB, free: 0.9492 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0002203/1.208, allocations: 45.7 kB / 1.058 GB, free: 0.8984 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007463/1.209, allocations: 0.7171 MB / 1.059 GB, free: 176 kB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002879/1.209, allocations: 244.7 kB / 1.059 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006206/1.21, allocations: 310.7 kB / 1.059 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001589/1.21, allocations: 365.8 kB / 1.06 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002111/1.212, allocations: 1.233 MB / 1.061 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002636/1.215, allocations: 1.63 MB / 1.063 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004311/1.219, allocations: 2.402 MB / 1.065 GB, free: 9.742 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.671e-05/1.219, allocations: 4 kB / 1.065 GB, free: 9.738 MB / 0.8575 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.005974/1.225, allocations: 2.984 MB / 1.068 GB, free: 6.746 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.799e-05/1.225, allocations: 8 kB / 1.068 GB, free: 6.738 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-05/1.225, allocations: 8 kB / 1.068 GB, free: 6.73 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.168e-05/1.225, allocations: 12 kB / 1.068 GB, free: 6.719 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001579/1.227, allocations: 335 kB / 1.068 GB, free: 6.395 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.042e-05/1.227, allocations: 19.92 kB / 1.068 GB, free: 6.375 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002418/1.229, allocations: 266.7 kB / 1.068 GB, free: 6.113 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002069/1.229, allocations: 59.97 kB / 1.069 GB, free: 6.055 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003085/1.232, allocations: 1.592 MB / 1.07 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002717/1.235, allocations: 1.626 MB / 1.072 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004384/1.24, allocations: 2.39 MB / 1.074 GB, free: 188 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.877e-06/1.24, allocations: 0 / 1.074 GB, free: 188 kB / 0.8575 GB Notification: Performance of matching and sorting (n=179) (initialization_lambda0): time 0.005964/1.246, allocations: 2.975 MB / 1.077 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/1.246, allocations: 8 kB / 1.077 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.657e-05/1.246, allocations: 11.98 kB / 1.077 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/1.246, allocations: 12 kB / 1.077 GB, free: 13.17 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001489/1.247, allocations: 336 kB / 1.077 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.706e-05/1.247, allocations: 12 kB / 1.077 GB, free: 12.83 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002189/1.249, allocations: 227.6 kB / 1.077 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001841/1.25, allocations: 55.97 kB / 1.078 GB, free: 12.55 MB / 0.8731 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.000476/1.25, allocations: 273.6 kB / 1.078 GB, free: 12.28 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007008/1.251, allocations: 169.8 kB / 1.078 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004107/1.255, allocations: 1.569 MB / 1.079 GB, free: 10.54 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.007e-05/1.255, allocations: 12.05 kB / 1.079 GB, free: 10.53 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-05/1.255, allocations: 3.984 kB / 1.079 GB, free: 10.52 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.657e-05/1.255, allocations: 11.98 kB / 1.079 GB, free: 10.51 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007492/1.262, allocations: 3.525 MB / 1.083 GB, free: 6.891 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-05/1.263, allocations: 0 / 1.083 GB, free: 6.891 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001085/1.264, allocations: 210 kB / 1.083 GB, free: 6.688 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.445e-05/1.264, allocations: 4 kB / 1.083 GB, free: 6.684 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.439e-05/1.264, allocations: 31.97 kB / 1.083 GB, free: 6.652 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.817e-06/1.264, allocations: 4 kB / 1.083 GB, free: 6.648 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.5e-05/1.264, allocations: 7.938 kB / 1.083 GB, free: 6.641 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005453/1.269, allocations: 2.538 MB / 1.086 GB, free: 4.055 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001081/1.27, allocations: 442.5 kB / 1.086 GB, free: 3.602 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004991/1.271, allocations: 16 kB / 1.086 GB, free: 3.586 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001516/1.272, allocations: 107.9 kB / 1.086 GB, free: 3.48 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001786/1.273, allocations: 60.42 kB / 1.086 GB, free: 3.418 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001003/1.273, allocations: 35.97 kB / 1.086 GB, free: 3.383 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.002623/1.275, allocations: 1.464 MB / 1.088 GB, free: 1.895 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.81e-07/1.275, allocations: 0 / 1.088 GB, free: 1.895 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.003359/1.279, allocations: 1.003 MB / 1.089 GB, free: 0.8906 MB / 0.8731 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.001759/1.28, allocations: 0.5953 MB / 1.089 GB, free: 304 kB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.007179/1.288, allocations: 3.837 MB / 1.093 GB, free: 12.44 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/1.288, allocations: 0 / 1.093 GB, free: 12.44 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001724/1.289, allocations: 0.7424 MB / 1.094 GB, free: 11.7 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003768/1.293, allocations: 0.6592 MB / 1.094 GB, free: 11.08 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006916/1.3, allocations: 3.022 MB / 1.097 GB, free: 8 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001508/1.302, allocations: 1.319 MB / 1.099 GB, free: 6.648 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.002458/1.304, allocations: 467.7 kB / 1.099 GB, free: 6.211 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007463/1.305, allocations: 139.4 kB / 1.099 GB, free: 6.074 MB / 0.8887 GB Notification: Performance of SimCode: time 1.523e-06/1.305, allocations: 0 / 1.099 GB, free: 6.074 MB / 0.8887 GB Notification: Performance of Templates: time 0.06803/1.373, allocations: 37.08 MB / 1.135 GB, free: 1.371 MB / 0.92 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.pipe 2>&1)