Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009406/0.0009407, allocations: 97.8 kB / 15.36 MB, free: 0.7305 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.001355/0.001355, allocations: 173.2 kB / 16.27 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.561/1.561, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.617/2.617, allocations: 390.9 MB / 0.6664 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000397/0.0003973, allocations: 8 kB / 0.8161 GB, free: 13.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.094/1.095, allocations: 142.4 MB / 0.9552 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume): time 0.2351/1.33, allocations: 163 MB / 1.114 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01615/1.346, allocations: 8.843 MB / 1.123 GB, free: 2.844 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002277/1.348, allocations: 31.81 kB / 1.123 GB, free: 2.812 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001966/1.35, allocations: 0.548 MB / 1.124 GB, free: 2.262 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.00504/1.356, allocations: 1.4 MB / 1.125 GB, free: 0.8555 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.00357/1.359, allocations: 1.067 MB / 1.126 GB, free: 15.8 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.005312/1.364, allocations: 3.648 MB / 1.13 GB, free: 12.14 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001704/1.366, allocations: 0.8086 MB / 1.13 GB, free: 11.31 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002318/1.369, allocations: 0.875 MB / 1.131 GB, free: 10.43 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001736/1.37, allocations: 0.9686 MB / 1.132 GB, free: 9.457 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001259/1.37, allocations: 44 kB / 1.132 GB, free: 9.414 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003638/1.374, allocations: 1.01 MB / 1.133 GB, free: 8.402 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003584/1.374, allocations: 226.9 kB / 1.133 GB, free: 8.18 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001031/1.375, allocations: 0.5688 MB / 1.134 GB, free: 7.602 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.00377/1.379, allocations: 1.659 MB / 1.136 GB, free: 5.938 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 8.436e-06/1.379, allocations: 0 / 1.136 GB, free: 5.938 MB / 0.8887 GB Notification: Performance of FrontEnd: time 4.599e-06/1.379, allocations: 0 / 1.136 GB, free: 5.938 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.761e-05/1.379, allocations: 0 / 1.136 GB, free: 5.938 MB / 0.8887 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.003262/1.383, allocations: 1.349 MB / 1.137 GB, free: 4.535 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 8.601e-05/1.383, allocations: 19.91 kB / 1.137 GB, free: 4.516 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002161/1.383, allocations: 123 kB / 1.137 GB, free: 4.387 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002981/1.383, allocations: 143.4 kB / 1.137 GB, free: 4.246 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001707/1.385, allocations: 0.8557 MB / 1.138 GB, free: 3.348 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.716e-05/1.385, allocations: 58 kB / 1.138 GB, free: 3.289 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001448/1.385, allocations: 87.89 kB / 1.138 GB, free: 3.203 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001801/1.387, allocations: 0.8732 MB / 1.139 GB, free: 2.285 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.609e-05/1.387, allocations: 0 / 1.139 GB, free: 2.285 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.371e-05/1.387, allocations: 32 kB / 1.139 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.616e-05/1.387, allocations: 20 kB / 1.139 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001288/1.388, allocations: 0.644 MB / 1.14 GB, free: 1.586 MB / 0.8887 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.00665/1.395, allocations: 3.962 MB / 1.144 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001346/1.396, allocations: 0.5845 MB / 1.144 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005477/1.397, allocations: 296.4 kB / 1.144 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001433/1.399, allocations: 1.247 MB / 1.146 GB, free: 10.97 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000723/1.399, allocations: 335 kB / 1.146 GB, free: 10.63 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=63): time 3.597e-06/1.399, allocations: 0 / 1.146 GB, free: 10.63 MB / 0.9044 GB Notification: Performance of matching and sorting (n=63): time 0.002698/1.402, allocations: 1.15 MB / 1.147 GB, free: 9.43 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.171e-05/1.402, allocations: 85.67 kB / 1.147 GB, free: 9.328 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00117/1.403, allocations: 0.865 MB / 1.148 GB, free: 8.438 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.416e-05/1.403, allocations: 37.7 kB / 1.148 GB, free: 8.395 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004445/1.404, allocations: 468.2 kB / 1.148 GB, free: 7.934 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002218/1.404, allocations: 216.8 kB / 1.149 GB, free: 7.719 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.403e-05/1.404, allocations: 57.69 kB / 1.149 GB, free: 7.656 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000162/1.404, allocations: 334 kB / 1.149 GB, free: 7.324 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004163/1.405, allocations: 209.2 kB / 1.149 GB, free: 7.117 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004893/1.405, allocations: 320.4 kB / 1.15 GB, free: 6.773 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000941/1.406, allocations: 0.5387 MB / 1.15 GB, free: 6.203 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/1.406, allocations: 0 / 1.15 GB, free: 6.203 MB / 0.9044 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001414/1.408, allocations: 0.7212 MB / 1.151 GB, free: 5.473 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001544/1.408, allocations: 155.1 kB / 1.151 GB, free: 5.285 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/1.408, allocations: 4 kB / 1.151 GB, free: 5.281 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006537/1.408, allocations: 104.8 kB / 1.151 GB, free: 5.176 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004426/1.409, allocations: 127.8 kB / 1.151 GB, free: 5.051 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000589/1.409, allocations: 0.6615 MB / 1.152 GB, free: 4.363 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006812/1.41, allocations: 95.3 kB / 1.152 GB, free: 4.27 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.305e-05/1.41, allocations: 28 kB / 1.152 GB, free: 4.242 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/1.41, allocations: 9.094 kB / 1.152 GB, free: 4.234 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009846/1.411, allocations: 0.576 MB / 1.152 GB, free: 3.656 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/1.411, allocations: 4 kB / 1.152 GB, free: 3.652 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004208/1.412, allocations: 109 kB / 1.153 GB, free: 3.543 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003949/1.412, allocations: 115.8 kB / 1.153 GB, free: 3.43 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005174/1.413, allocations: 0.6615 MB / 1.153 GB, free: 2.742 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005972/1.413, allocations: 79.47 kB / 1.153 GB, free: 2.664 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.257e-05/1.413, allocations: 27.98 kB / 1.153 GB, free: 2.637 MB / 0.9044 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 ($PRE.mRoo_flow.nextTimeEvent,$whenCondition1,mRoo_flow.nextTimeEventScaled,$PRE.mRoo_flow.nextTimeEventScaled,mRoo_flow.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0005131/1.414, allocations: 328.9 kB / 1.154 GB, free: 2.305 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001292/1.414, allocations: 102.8 kB / 1.154 GB, free: 2.203 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001731/1.416, allocations: 0.9576 MB / 1.155 GB, free: 1.23 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.614e-05/1.416, allocations: 7.984 kB / 1.155 GB, free: 1.223 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/1.416, allocations: 4 kB / 1.155 GB, free: 1.219 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001213/1.417, allocations: 0.8621 MB / 1.156 GB, free: 308 kB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002804/1.42, allocations: 1.849 MB / 1.157 GB, free: 14.38 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/1.42, allocations: 0 / 1.157 GB, free: 14.38 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004309/1.42, allocations: 103.8 kB / 1.158 GB, free: 14.28 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006337/1.421, allocations: 173.6 kB / 1.158 GB, free: 14.1 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.68e-05/1.421, allocations: 20 kB / 1.158 GB, free: 14.08 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001029/1.422, allocations: 1.245 MB / 1.159 GB, free: 12.79 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/1.422, allocations: 0 / 1.159 GB, free: 12.79 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002261/1.424, allocations: 1.292 MB / 1.16 GB, free: 11.46 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005365/1.425, allocations: 271.5 kB / 1.16 GB, free: 11.18 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001172/1.425, allocations: 19.98 kB / 1.16 GB, free: 11.16 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005681/1.425, allocations: 55.95 kB / 1.161 GB, free: 11.11 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/1.426, allocations: 48.53 kB / 1.161 GB, free: 11.06 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.589e-05/1.426, allocations: 35.92 kB / 1.161 GB, free: 11.02 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0008899/1.427, allocations: 0.6052 MB / 1.161 GB, free: 10.41 MB / 0.92 GB Notification: Performance of sort global known variables: time 4.31e-07/1.427, allocations: 0 / 1.161 GB, free: 10.41 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001774/1.428, allocations: 0.5573 MB / 1.162 GB, free: 9.848 MB / 0.92 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,9), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004287/1.433, allocations: 2.443 MB / 1.164 GB, free: 7.531 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.00208/1.435, allocations: 0.9265 MB / 1.165 GB, free: 6.609 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/1.435, allocations: 4 kB / 1.165 GB, free: 6.605 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0007999/1.436, allocations: 391.6 kB / 1.165 GB, free: 6.219 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002295/1.438, allocations: 422 kB / 1.166 GB, free: 5.809 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01126/1.449, allocations: 8.098 MB / 1.174 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006521/1.45, allocations: 1.069 MB / 1.175 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0009278/1.451, allocations: 230.7 kB / 1.175 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00052/1.451, allocations: 407.3 kB / 1.175 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of SimCode: time 1.774e-06/1.451, allocations: 0 / 1.175 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05867/1.51, allocations: 28.36 MB / 1.203 GB, free: 15.74 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002309/1.51, allocations: 280 kB / 1.203 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.087/4.597, allocations: 8 kB / 1.203 GB, free: 15.35 MB / 0.9669 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe 2>&1)