Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume") translateModel(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.622/2.622, allocations: 287.5 MB / 302.4 MB, free: 8.324 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.001355/0.001355, allocations: 187.6 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.25/2.25, allocations: 205.4 MB / 0.6297 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008969/0.0008963, allocations: 85.86 kB / 0.743 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006573/0.0006578, allocations: 11.97 kB / 0.8658 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2429/0.2436, allocations: 115.3 MB / 0.9783 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume): time 0.932/1.176, allocations: 152.2 MB / 1.127 GB, free: 308 kB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.0184/1.194, allocations: 8.168 MB / 1.135 GB, free: 14.41 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002634/1.197, allocations: 35.3 kB / 1.135 GB, free: 14.4 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002885/1.2, allocations: 0.5068 MB / 1.135 GB, free: 14.21 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.006573/1.206, allocations: 1.212 MB / 1.137 GB, free: 13.66 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004818/1.211, allocations: 0.9359 MB / 1.138 GB, free: 13.44 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.006438/1.218, allocations: 3.099 MB / 1.141 GB, free: 12.87 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002129/1.22, allocations: 0.7132 MB / 1.141 GB, free: 12.75 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003096/1.223, allocations: 0.8533 MB / 1.142 GB, free: 12.42 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00292/1.226, allocations: 0.9197 MB / 1.143 GB, free: 12 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0004509/1.227, allocations: 43.56 kB / 1.143 GB, free: 12 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004273/1.231, allocations: 0.8306 MB / 1.144 GB, free: 11.74 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0007164/1.232, allocations: 212.3 kB / 1.144 GB, free: 11.64 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000843/1.233, allocations: 241.5 kB / 1.144 GB, free: 11.57 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003551/1.236, allocations: 1.224 MB / 1.146 GB, free: 10.89 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.727e-06/1.236, allocations: 0 / 1.146 GB, free: 10.89 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.051e-06/1.236, allocations: 3.984 kB / 1.146 GB, free: 10.89 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.76e-05/1.236, allocations: 4 kB / 1.146 GB, free: 10.88 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.00475/1.241, allocations: 1.38 MB / 1.147 GB, free: 9.906 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.22e-05/1.241, allocations: 9.094 kB / 1.147 GB, free: 9.906 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006987/1.242, allocations: 138.3 kB / 1.147 GB, free: 9.84 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002726/1.245, allocations: 0.8098 MB / 1.148 GB, free: 9.352 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.045e-05/1.245, allocations: 65 kB / 1.148 GB, free: 9.344 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002129/1.245, allocations: 86.67 kB / 1.148 GB, free: 9.336 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002455/1.247, allocations: 0.8685 MB / 1.149 GB, free: 9.02 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.514e-05/1.247, allocations: 1.094 kB / 1.149 GB, free: 9.02 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001202/1.248, allocations: 36.48 kB / 1.149 GB, free: 9.016 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.196e-05/1.248, allocations: 23.77 kB / 1.149 GB, free: 9.012 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002176/1.25, allocations: 0.6325 MB / 1.149 GB, free: 8.91 MB / 0.698 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.008617/1.258, allocations: 3.961 MB / 1.153 GB, free: 6.125 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002037/1.261, allocations: 0.5756 MB / 1.154 GB, free: 6.027 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009125/1.262, allocations: 296.3 kB / 1.154 GB, free: 5.984 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001681/1.263, allocations: 1.243 MB / 1.155 GB, free: 4.543 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0013/1.265, allocations: 334.5 kB / 1.156 GB, free: 4.426 MB / 0.698 GB Notification: Performance of pre-optimization done (n=63): time 5.47e-06/1.265, allocations: 0 / 1.156 GB, free: 4.426 MB / 0.698 GB Notification: Performance of matching and sorting (n=63): time 0.005088/1.27, allocations: 1.151 MB / 1.157 GB, free: 3.984 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/1.27, allocations: 84.23 kB / 1.157 GB, free: 3.891 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002198/1.272, allocations: 0.8702 MB / 1.158 GB, free: 3.602 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002313/1.272, allocations: 37.23 kB / 1.158 GB, free: 3.57 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006264/1.273, allocations: 471.9 kB / 1.158 GB, free: 3.359 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004293/1.274, allocations: 210.7 kB / 1.158 GB, free: 3.203 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.958e-05/1.274, allocations: 12.91 kB / 1.158 GB, free: 3.203 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001977/1.274, allocations: 330.2 kB / 1.159 GB, free: 2.891 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007846/1.275, allocations: 209 kB / 1.159 GB, free: 2.859 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008306/1.275, allocations: 314.1 kB / 1.159 GB, free: 2.727 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008206/1.276, allocations: 243 kB / 1.16 GB, free: 2.699 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/1.276, allocations: 1.969 kB / 1.16 GB, free: 2.699 MB / 0.698 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.002508/1.279, allocations: 0.715 MB / 1.16 GB, free: 2.52 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001573/1.279, allocations: 161.7 kB / 1.16 GB, free: 2.348 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.702e-05/1.279, allocations: 6.984 kB / 1.16 GB, free: 2.344 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008803/1.28, allocations: 101 kB / 1.16 GB, free: 2.316 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009717/1.281, allocations: 122.4 kB / 1.161 GB, free: 2.293 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009182/1.282, allocations: 0.6624 MB / 1.161 GB, free: 1.742 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001338/1.283, allocations: 100.1 kB / 1.161 GB, free: 1.691 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/1.283, allocations: 25.38 kB / 1.161 GB, free: 1.691 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/1.283, allocations: 3.875 kB / 1.161 GB, free: 1.691 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001749/1.285, allocations: 0.5751 MB / 1.162 GB, free: 1.602 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/1.285, allocations: 1.906 kB / 1.162 GB, free: 1.602 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007545/1.286, allocations: 101.6 kB / 1.162 GB, free: 1.574 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008421/1.287, allocations: 113.6 kB / 1.162 GB, free: 1.555 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008732/1.288, allocations: 0.6658 MB / 1.163 GB, free: 1.004 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001264/1.289, allocations: 90.36 kB / 1.163 GB, free: 0.957 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.878e-05/1.289, allocations: 24.81 kB / 1.163 GB, free: 0.957 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEvent,$PRE.mRoo_flow.nextTimeEventScaled,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of prepare postOptimizeDAE: time 0.000787/1.29, allocations: 329.4 kB / 1.163 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002833/1.29, allocations: 98.5 kB / 1.163 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003192/1.293, allocations: 0.9492 MB / 1.164 GB, free: 444 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.661e-05/1.294, allocations: 11.77 kB / 1.164 GB, free: 440 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/1.294, allocations: 3.953 kB / 1.164 GB, free: 436 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002282/1.296, allocations: 0.8566 MB / 1.165 GB, free: 72 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00544/1.301, allocations: 1.857 MB / 1.167 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.086e-05/1.301, allocations: 2.438 kB / 1.167 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008633/1.302, allocations: 106.2 kB / 1.167 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000969/1.303, allocations: 158.7 kB / 1.167 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.989e-05/1.303, allocations: 23.39 kB / 1.167 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001411/1.305, allocations: 1.251 MB / 1.168 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.305, allocations: 0 / 1.168 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003563/1.308, allocations: 1.281 MB / 1.17 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008723/1.309, allocations: 276.7 kB / 1.17 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000194/1.31, allocations: 14.5 kB / 1.17 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009718/1.311, allocations: 58.23 kB / 1.17 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001554/1.311, allocations: 49.48 kB / 1.17 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.324e-05/1.311, allocations: 32.12 kB / 1.17 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001149/1.312, allocations: 0.5964 MB / 1.171 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.7e-07/1.312, allocations: 0 / 1.171 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002322/1.314, allocations: 0.5508 MB / 1.171 GB, free: 13.28 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (roo.dynBal.U,roo.dynBal.m,oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc) * Number of discrete variables: 3 ($whenCondition1,mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 2 (mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 9,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002174/1.317, allocations: 0.69 MB / 1.172 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003139/1.32, allocations: 0.9299 MB / 1.173 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.867e-06/1.32, allocations: 4.25 kB / 1.173 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001327/1.321, allocations: 389.5 kB / 1.173 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004075/1.325, allocations: 434.2 kB / 1.174 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00605/1.331, allocations: 2.524 MB / 1.176 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008642/1.332, allocations: 1.071 MB / 1.177 GB, free: 9.781 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001554/1.334, allocations: 214.3 kB / 1.177 GB, free: 9.672 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003371/1.334, allocations: 89.62 kB / 1.177 GB, free: 9.645 MB / 0.7136 GB Notification: Performance of SimCode: time 1.332e-06/1.334, allocations: 0 / 1.177 GB, free: 9.645 MB / 0.7136 GB Notification: Performance of Templates: time 0.05728/1.391, allocations: 19.37 MB / 1.196 GB, free: 11.32 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.makefile (rm -f Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; mkfifo Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe >> ../files/Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.sim & ./Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe 2>&1)