Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.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: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.404/1.404, allocations: 287.4 MB / 302.6 MB, free: 8.297 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.0008767/0.0008767, allocations: 186 kB / 371.1 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.114/1.114, allocations: 205.4 MB / 0.6298 GB, free: 10.55 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.0007085/0.0007085, allocations: 103.8 kB / 0.7431 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003144/0.0003144, allocations: 10.34 kB / 0.8662 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1423, allocations: 115.3 MB / 0.9787 GB, free: 28.11 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.4643/0.6066, allocations: 215 MB / 1.189 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0121/0.6188, allocations: 9.603 MB / 1.198 GB, free: 3.953 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001091/0.6199, allocations: 50.59 kB / 1.198 GB, free: 3.93 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.001842/0.6218, allocations: 0.8105 MB / 1.199 GB, free: 3.281 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.00534/0.6271, allocations: 2.615 MB / 1.201 GB, free: 1.262 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.003187/0.6303, allocations: 1.455 MB / 1.203 GB, free: 228 kB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.004122/0.6345, allocations: 5.289 MB / 1.208 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001287/0.6358, allocations: 1.28 MB / 1.209 GB, free: 12.35 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001449/0.6372, allocations: 1.352 MB / 1.211 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001297/0.6385, allocations: 1.404 MB / 1.212 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001509/0.6387, allocations: 76.81 kB / 1.212 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003219/0.6419, allocations: 1.605 MB / 1.214 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0004547/0.6424, allocations: 0.5818 MB / 1.214 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0003141/0.6427, allocations: 410.2 kB / 1.215 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.002063/0.6448, allocations: 2.57 MB / 1.217 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.6448, allocations: 0 / 1.217 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.223e-06/0.6448, allocations: 4 kB / 1.217 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.599e-05/0.6448, allocations: 0 / 1.217 GB, free: 7.672 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.003622/0.6484, allocations: 2.125 MB / 1.219 GB, free: 5.492 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.6485, allocations: 11.97 kB / 1.219 GB, free: 5.48 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002026/0.6487, allocations: 210.6 kB / 1.219 GB, free: 5.266 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002599/0.6513, allocations: 0.5167 MB / 1.22 GB, free: 4.746 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001516/0.6528, allocations: 1.22 MB / 1.221 GB, free: 3.469 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.08e-05/0.6529, allocations: 98.66 kB / 1.221 GB, free: 3.371 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000177/0.6531, allocations: 139.9 kB / 1.221 GB, free: 3.234 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002278/0.6554, allocations: 1.67 MB / 1.223 GB, free: 1.496 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.1e-05/0.6554, allocations: 4 kB / 1.223 GB, free: 1.492 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001108/0.6555, allocations: 52 kB / 1.223 GB, free: 1.441 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.419e-05/0.6556, allocations: 70.56 kB / 1.223 GB, free: 1.371 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002178/0.6578, allocations: 1.443 MB / 1.224 GB, free: 15.92 MB / 0.7605 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.006584/0.6644, allocations: 6.953 MB / 1.231 GB, free: 8.512 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001525/0.6659, allocations: 1.193 MB / 1.232 GB, free: 7.273 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008215/0.6667, allocations: 0.6084 MB / 1.233 GB, free: 6.664 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006763/0.6674, allocations: 0.8633 MB / 1.234 GB, free: 5.617 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008872/0.6683, allocations: 0.6064 MB / 1.234 GB, free: 4.996 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=110): time 2.665e-06/0.6683, allocations: 3.938 kB / 1.234 GB, free: 4.992 MB / 0.7605 GB Notification: Performance of matching and sorting (n=110): time 0.002523/0.6709, allocations: 1.58 MB / 1.236 GB, free: 3.406 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/0.6709, allocations: 90.11 kB / 1.236 GB, free: 3.301 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001184/0.6721, allocations: 1.177 MB / 1.237 GB, free: 2.113 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 6.426e-05/0.6722, allocations: 45.7 kB / 1.237 GB, free: 2.062 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004219/0.6726, allocations: 0.6814 MB / 1.238 GB, free: 1.375 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002544/0.6729, allocations: 390.4 kB / 1.238 GB, free: 0.9883 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.589e-05/0.6729, allocations: 20 kB / 1.238 GB, free: 0.9688 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 9.834e-05/0.673, allocations: 345.9 kB / 1.239 GB, free: 0.625 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006366/0.6737, allocations: 421.8 kB / 1.239 GB, free: 216 kB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007404/0.6744, allocations: 0.576 MB / 1.24 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001398/0.6758, allocations: 1.009 MB / 1.241 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.6758, allocations: 0 / 1.241 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001686/0.6775, allocations: 1.218 MB / 1.242 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 7.219e-05/0.6776, allocations: 175.5 kB / 1.242 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.6776, allocations: 0 / 1.242 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.6777, allocations: 8 kB / 1.242 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008603/0.6785, allocations: 215.7 kB / 1.242 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.6785, allocations: 7.938 kB / 1.242 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00103/0.6796, allocations: 172.4 kB / 1.242 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.812e-05/0.6797, allocations: 39.98 kB / 1.242 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 5.71e-06/0.6797, allocations: 4 kB / 1.242 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001464/0.6811, allocations: 1.031 MB / 1.243 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.6812, allocations: 4 kB / 1.243 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.713e-06/0.6812, allocations: 8 kB / 1.243 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000791/0.682, allocations: 212 kB / 1.244 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.682, allocations: 8 kB / 1.244 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009422/0.6829, allocations: 159.8 kB / 1.244 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.35e-05/0.683, allocations: 39.98 kB / 1.244 GB, free: 11.23 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (126): * Single equations (assignments): 126 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004902/0.6835, allocations: 484.8 kB / 1.244 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000156/0.6837, allocations: 150.1 kB / 1.244 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001902/0.6856, allocations: 1.247 MB / 1.246 GB, free: 9.344 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.567e-06/0.6856, allocations: 16 kB / 1.246 GB, free: 9.328 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.6856, allocations: 3.938 kB / 1.246 GB, free: 9.324 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001436/0.687, allocations: 1.007 MB / 1.247 GB, free: 8.305 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003964/0.691, allocations: 3.155 MB / 1.25 GB, free: 5.023 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.691, allocations: 8 kB / 1.25 GB, free: 5.016 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001007/0.692, allocations: 240 kB / 1.25 GB, free: 4.781 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.6921, allocations: 8 kB / 1.25 GB, free: 4.773 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.125e-05/0.6921, allocations: 20 kB / 1.25 GB, free: 4.754 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.315e-06/0.6921, allocations: 15.92 kB / 1.25 GB, free: 4.738 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.6921, allocations: 4 kB / 1.25 GB, free: 4.734 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00249/0.6946, allocations: 1.997 MB / 1.252 GB, free: 2.688 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004429/0.6951, allocations: 358.9 kB / 1.252 GB, free: 2.316 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001651/0.6953, allocations: 27.98 kB / 1.252 GB, free: 2.289 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008966/0.6962, allocations: 119.8 kB / 1.252 GB, free: 2.172 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/0.6963, allocations: 72.94 kB / 1.253 GB, free: 2.102 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.712e-05/0.6964, allocations: 47.86 kB / 1.253 GB, free: 2.055 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.000829/0.6972, allocations: 0.8098 MB / 1.253 GB, free: 1.242 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6972, allocations: 0 / 1.253 GB, free: 1.242 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001344/0.6986, allocations: 0.8415 MB / 1.254 GB, free: 408 kB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 9 (roo.dynBal.U,roo.dynBal.m,roo.dynBal.mXi[1],oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc,sha.vol.dynBal.U,sha.vol.dynBal.m,sha.vol.dynBal.mXi[1]) * 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 (110): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003612/0.7022, allocations: 3.016 MB / 1.257 GB, free: 13.49 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.002205/0.7044, allocations: 1.605 MB / 1.259 GB, free: 11.89 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.7044, allocations: 8.062 kB / 1.259 GB, free: 11.88 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0007636/0.7052, allocations: 0.5677 MB / 1.259 GB, free: 11.32 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003483/0.7087, allocations: 0.8176 MB / 1.26 GB, free: 10.51 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01195/0.7206, allocations: 9.661 MB / 1.269 GB, free: 464 kB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007812/0.7214, allocations: 1.368 MB / 1.271 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.001484/0.7229, allocations: 447.6 kB / 1.271 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007352/0.7237, allocations: 0.6203 MB / 1.272 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of SimCode: time 2.8e-07/0.7237, allocations: 4 kB / 1.272 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2345/0.9582, allocations: 41.63 MB / 1.313 GB, free: 4.742 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001623/0.9584, allocations: 234.5 kB / 1.313 GB, free: 4.504 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.162/4.12, allocations: 0 / 1.313 GB, free: 4.504 MB / 0.8386 GB (rm -f Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume.fmu > Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)