Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.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.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow") translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005079/0.005079, allocations: 102.2 kB / 15.73 MB, free: 5.457 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.001102/0.001102, allocations: 188.3 kB / 16.67 MB, free: 5.387 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.356/1.356, allocations: 205.1 MB / 222.6 MB, free: 4.375 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.52/1.52, allocations: 251.7 MB / 0.5094 GB, free: 3.062 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.001415/0.001415, allocations: 71.89 kB / 0.7258 GB, free: 9.172 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1964/0.1978, allocations: 104.7 MB / 0.828 GB, free: 360 kB / 0.6388 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.624/0.8218, allocations: 204.3 MB / 1.028 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0109/0.8328, allocations: 6.359 MB / 1.034 GB, free: 8.715 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001822/0.8346, allocations: 37.03 kB / 1.034 GB, free: 8.703 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002256/0.837, allocations: 0.7726 MB / 1.035 GB, free: 8.086 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.00767/0.8446, allocations: 2.775 MB / 1.037 GB, free: 5.977 MB / 0.7794 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Airflow/Multizone/ZonalFlow_ACS.mo:29:3-37:11:writable] Warning: initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition 'zonFlo.useDefaultProperties and initial()'. Notification: Performance of NFTyping.typeClassSections: time 0.0022/0.8469, allocations: 0.7505 MB / 1.038 GB, free: 5.379 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.004411/0.8513, allocations: 3.401 MB / 1.041 GB, free: 2.547 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001605/0.8529, allocations: 1.157 MB / 1.042 GB, free: 1.363 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002728/0.8556, allocations: 1.331 MB / 1.044 GB, free: 28 kB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002367/0.858, allocations: 1.111 MB / 1.045 GB, free: 14.92 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.000212/0.8582, allocations: 139.9 kB / 1.045 GB, free: 14.79 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004427/0.8627, allocations: 2.369 MB / 1.047 GB, free: 12.41 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0005762/0.8633, allocations: 0.53 MB / 1.048 GB, free: 11.88 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.001044/0.8643, allocations: 0.7586 MB / 1.049 GB, free: 11.12 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.005565/0.8699, allocations: 2.842 MB / 1.051 GB, free: 8.27 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.8699, allocations: 0 / 1.051 GB, free: 8.27 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.014e-06/0.87, allocations: 0 / 1.051 GB, free: 8.27 MB / 0.795 GB Notification: Performance of Transformations before backend: time 2.963e-05/0.87, allocations: 0 / 1.051 GB, free: 8.27 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.004182/0.8742, allocations: 1.829 MB / 1.053 GB, free: 6.383 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.8742, allocations: 8.031 kB / 1.053 GB, free: 6.375 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002225/0.8765, allocations: 358.9 kB / 1.053 GB, free: 6.023 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001465/0.878, allocations: 0.8745 MB / 1.054 GB, free: 5.102 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.556e-05/0.878, allocations: 78.05 kB / 1.054 GB, free: 5.023 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000161/0.8782, allocations: 104 kB / 1.055 GB, free: 4.922 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001988/0.8802, allocations: 1.207 MB / 1.056 GB, free: 3.684 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.787e-05/0.8802, allocations: 0 / 1.056 GB, free: 3.684 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001141/0.8804, allocations: 43.98 kB / 1.056 GB, free: 3.641 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.42e-05/0.8804, allocations: 62.09 kB / 1.056 GB, free: 3.578 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001939/0.8824, allocations: 1.254 MB / 1.057 GB, free: 2.316 MB / 0.795 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.00666/0.8891, allocations: 5.114 MB / 1.062 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001425/0.8905, allocations: 1.136 MB / 1.063 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007163/0.8912, allocations: 0.499 MB / 1.064 GB, free: 11.03 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 5.944e-05/0.8913, allocations: 20.78 kB / 1.064 GB, free: 11.01 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007771/0.8921, allocations: 496.2 kB / 1.064 GB, free: 10.52 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=76): time 3.597e-06/0.8921, allocations: 0 / 1.064 GB, free: 10.52 MB / 0.8106 GB Notification: Performance of matching and sorting (n=76): time 0.002026/0.8941, allocations: 1.146 MB / 1.065 GB, free: 9.367 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/0.8942, allocations: 64.06 kB / 1.065 GB, free: 9.293 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007033/0.8949, allocations: 0.5861 MB / 1.066 GB, free: 8.695 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 6.976e-05/0.895, allocations: 41.7 kB / 1.066 GB, free: 8.648 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.000315/0.8953, allocations: 468.7 kB / 1.066 GB, free: 8.184 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002466/0.8956, allocations: 281.5 kB / 1.067 GB, free: 7.906 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002075/0.8958, allocations: 130.6 kB / 1.067 GB, free: 7.773 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001695/0.896, allocations: 386.8 kB / 1.067 GB, free: 7.387 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005201/0.8965, allocations: 325.8 kB / 1.067 GB, free: 7.066 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005693/0.8971, allocations: 454.5 kB / 1.068 GB, free: 6.582 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001106/0.8982, allocations: 0.8194 MB / 1.069 GB, free: 5.723 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.8982, allocations: 0 / 1.069 GB, free: 5.723 MB / 0.8106 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001366/0.8996, allocations: 0.9222 MB / 1.07 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.8996, allocations: 10.81 kB / 1.07 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.8996, allocations: 3.938 kB / 1.07 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.215e-05/0.8996, allocations: 16.33 kB / 1.07 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006826/0.9003, allocations: 151.8 kB / 1.07 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.416e-05/0.9003, allocations: 7.938 kB / 1.07 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007177/0.9011, allocations: 71.44 kB / 1.07 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.91e-05/0.9011, allocations: 24 kB / 1.07 GB, free: 4.516 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0005063/0.9016, allocations: 337.5 kB / 1.07 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001311/0.9018, allocations: 83.52 kB / 1.07 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000263/0.902, allocations: 107.7 kB / 1.07 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.9021, allocations: 12 kB / 1.07 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/0.9021, allocations: 0.875 kB / 1.07 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001224/0.9033, allocations: 1.093 MB / 1.071 GB, free: 2.789 MB / 0.8106 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 postOpt removeSimpleEquations (simulation): time 0.00323/0.9065, allocations: 2.299 MB / 1.074 GB, free: 412 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.9066, allocations: 0 / 1.074 GB, free: 412 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008547/0.9074, allocations: 183.8 kB / 1.074 GB, free: 228 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.596e-06/0.9074, allocations: 4 kB / 1.074 GB, free: 224 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.213e-05/0.9075, allocations: 19.61 kB / 1.074 GB, free: 208 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.103e-06/0.9075, allocations: 4 kB / 1.074 GB, free: 204 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.9075, allocations: 0 / 1.074 GB, free: 204 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002039/0.9096, allocations: 1.481 MB / 1.075 GB, free: 14.7 MB / 0.8263 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004277/0.91, allocations: 260.4 kB / 1.076 GB, free: 14.43 MB / 0.8263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/0.9101, allocations: 20 kB / 1.076 GB, free: 14.41 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006497/0.9108, allocations: 19.98 kB / 1.076 GB, free: 14.39 MB / 0.8263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/0.9109, allocations: 48.59 kB / 1.076 GB, free: 14.34 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.883e-05/0.911, allocations: 23.98 kB / 1.076 GB, free: 14.32 MB / 0.8263 GB Notification: Performance of sorting global known variables: time 0.0005352/0.9115, allocations: 419 kB / 1.076 GB, free: 13.91 MB / 0.8263 GB Notification: Performance of sort global known variables: time 1.634e-06/0.9115, allocations: 0 / 1.076 GB, free: 13.91 MB / 0.8263 GB Notification: Performance of remove unused functions: time 0.0008824/0.9124, allocations: 383.2 kB / 1.076 GB, free: 13.54 MB / 0.8263 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.U,rooA.dynBal.m,rooA.dynBal.mXi[1],rooB.dynBal.U,rooB.dynBal.m,rooB.dynBal.mXi[1]) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0002912/0.9127, allocations: 175.1 kB / 1.077 GB, free: 13.36 MB / 0.8263 GB Notification: Performance of simCode: created initialization part: time 0.001228/0.9139, allocations: 0.7945 MB / 1.077 GB, free: 12.56 MB / 0.8263 GB Notification: Performance of simCode: created event and clocks part: time 6.463e-06/0.9139, allocations: 4 kB / 1.077 GB, free: 12.56 MB / 0.8263 GB Notification: Performance of simCode: created simulation system equations: time 0.0005923/0.9145, allocations: 427.5 kB / 1.078 GB, free: 12.14 MB / 0.8263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002559/0.9171, allocations: 0.5934 MB / 1.078 GB, free: 11.57 MB / 0.8263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003427/0.9205, allocations: 2.197 MB / 1.08 GB, free: 9.336 MB / 0.8263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007491/0.9213, allocations: 1.147 MB / 1.082 GB, free: 8.156 MB / 0.8263 GB Notification: Performance of simCode: alias equations: time 0.0009289/0.9223, allocations: 263.1 kB / 1.082 GB, free: 7.895 MB / 0.8263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002308/0.9225, allocations: 79.42 kB / 1.082 GB, free: 7.816 MB / 0.8263 GB Notification: Performance of SimCode: time 6.92e-07/0.9225, allocations: 0 / 1.082 GB, free: 7.816 MB / 0.8263 GB Notification: Performance of Templates: time 0.03173/0.9542, allocations: 19.68 MB / 1.101 GB, free: 4.402 MB / 0.8419 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & ./Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)