Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume") translateModel(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.04/2.04, allocations: 391.2 MB / 407 MB, free: 10.78 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 189.4 kB / 499.1 MB, free: 4.613 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 222.9 MB / 0.7948 GB, free: 15.75 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.001031, allocations: 107.7 kB / 0.9329 GB, free: 7.035 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001078/0.001078, allocations: 50.52 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2358/0.2369, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.7615/0.9985, allocations: 233.7 MB / 1.446 GB, free: 1.926 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.0142/1.013, allocations: 10.52 MB / 1.457 GB, free: 1.773 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002616/1.015, allocations: 54.78 kB / 1.457 GB, free: 1.773 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.002951/1.018, allocations: 1.025 MB / 1.458 GB, free: 1.75 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.009182/1.028, allocations: 3.433 MB / 1.461 GB, free: 1.578 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.005318/1.033, allocations: 1.888 MB / 1.463 GB, free: 1.516 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.007705/1.041, allocations: 6.297 MB / 1.469 GB, free: 1.508 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002431/1.043, allocations: 1.346 MB / 1.47 GB, free: 1.324 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003068/1.046, allocations: 1.397 MB / 1.472 GB, free: 1.32 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003518/1.05, allocations: 1.534 MB / 1.473 GB, free: 1.309 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0005019/1.05, allocations: 95.28 kB / 1.473 GB, free: 1.309 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007369/1.058, allocations: 3.741 MB / 1.477 GB, free: 1.273 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.001157/1.059, allocations: 0.6142 MB / 1.477 GB, free: 1.266 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.002541/1.061, allocations: 0.9763 MB / 1.478 GB, free: 1.07 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.008742/1.07, allocations: 3.94 MB / 1.482 GB, free: 0.6328 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/1.07, allocations: 0 / 1.482 GB, free: 0.6328 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.502e-06/1.07, allocations: 6.438 kB / 1.482 GB, free: 0.6289 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001158/1.07, allocations: 0 / 1.482 GB, free: 0.6289 MB / 0.9167 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.007671/1.078, allocations: 2.485 MB / 1.485 GB, free: 15.46 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/1.078, allocations: 14.11 kB / 1.485 GB, free: 15.46 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003461/1.081, allocations: 0.521 MB / 1.485 GB, free: 15.34 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002607/1.084, allocations: 1.226 MB / 1.486 GB, free: 14.92 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.295e-05/1.084, allocations: 101.5 kB / 1.487 GB, free: 14.92 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002815/1.084, allocations: 137.5 kB / 1.487 GB, free: 14.92 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003256/1.088, allocations: 1.676 MB / 1.488 GB, free: 14.71 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.321e-05/1.088, allocations: 4 kB / 1.488 GB, free: 14.71 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001365/1.088, allocations: 54.75 kB / 1.488 GB, free: 14.71 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.82e-05/1.088, allocations: 72.41 kB / 1.488 GB, free: 14.7 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002539/1.091, allocations: 1.447 MB / 1.49 GB, free: 14.69 MB / 0.9323 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.009461/1.1, allocations: 6.963 MB / 1.497 GB, free: 11.28 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001827/1.102, allocations: 1.197 MB / 1.498 GB, free: 11.05 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009406/1.103, allocations: 0.6109 MB / 1.498 GB, free: 11.04 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009196/1.104, allocations: 0.86 MB / 1.499 GB, free: 10.1 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001067/1.105, allocations: 0.6093 MB / 1.5 GB, free: 10.05 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=110): time 3.918e-06/1.105, allocations: 0 / 1.5 GB, free: 10.05 MB / 0.9323 GB Notification: Performance of matching and sorting (n=110): time 0.003009/1.108, allocations: 1.574 MB / 1.501 GB, free: 9.91 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.768e-05/1.108, allocations: 95.42 kB / 1.501 GB, free: 9.809 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001766/1.11, allocations: 1.19 MB / 1.503 GB, free: 9.645 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 9.663e-05/1.11, allocations: 48.11 kB / 1.503 GB, free: 9.613 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005306/1.11, allocations: 0.6798 MB / 1.503 GB, free: 9.375 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003779/1.111, allocations: 383.5 kB / 1.504 GB, free: 9.133 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002906/1.111, allocations: 179.5 kB / 1.504 GB, free: 9.113 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001292/1.111, allocations: 345.4 kB / 1.504 GB, free: 8.805 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007184/1.112, allocations: 434.2 kB / 1.505 GB, free: 8.789 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008137/1.113, allocations: 0.5565 MB / 1.505 GB, free: 8.684 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00155/1.114, allocations: 1.008 MB / 1.506 GB, free: 8.574 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/1.114, allocations: 0.6562 kB / 1.506 GB, free: 8.574 MB / 0.9323 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002809/1.117, allocations: 1.22 MB / 1.507 GB, free: 8.445 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.773e-05/1.117, allocations: 7.344 kB / 1.507 GB, free: 8.445 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/1.117, allocations: 6.281 kB / 1.507 GB, free: 8.441 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.491e-05/1.117, allocations: 8.562 kB / 1.507 GB, free: 8.441 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001047/1.118, allocations: 215.2 kB / 1.508 GB, free: 8.441 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.265e-05/1.118, allocations: 14.22 kB / 1.508 GB, free: 8.438 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00155/1.12, allocations: 183.3 kB / 1.508 GB, free: 8.379 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.385e-05/1.12, allocations: 33.69 kB / 1.508 GB, free: 8.379 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00124/1.121, allocations: 0.741 MB / 1.509 GB, free: 8.289 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007114/1.122, allocations: 0.5438 MB / 1.509 GB, free: 8.18 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001374/1.123, allocations: 0.992 MB / 1.51 GB, free: 8.074 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.616e-06/1.123, allocations: 4 kB / 1.51 GB, free: 8.07 MB / 0.9323 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.002025/1.125, allocations: 1.197 MB / 1.511 GB, free: 7.766 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/1.125, allocations: 6.875 kB / 1.511 GB, free: 7.766 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/1.125, allocations: 3.312 kB / 1.511 GB, free: 7.766 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/1.125, allocations: 9.438 kB / 1.511 GB, free: 7.762 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000808/1.126, allocations: 212.2 kB / 1.511 GB, free: 7.754 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.41e-05/1.126, allocations: 11.69 kB / 1.511 GB, free: 7.75 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001451/1.128, allocations: 159.3 kB / 1.512 GB, free: 7.688 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.968e-05/1.128, allocations: 43.69 kB / 1.512 GB, free: 7.676 MB / 0.9323 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 ($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 (126): * Single equations (assignments): 126 * 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.0003155/1.128, allocations: 237.5 kB / 1.512 GB, free: 7.465 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003042/1.128, allocations: 153.5 kB / 1.512 GB, free: 7.387 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002214/1.131, allocations: 1.238 MB / 1.513 GB, free: 6.859 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/1.131, allocations: 10.91 kB / 1.513 GB, free: 6.859 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/1.131, allocations: 0 / 1.513 GB, free: 6.859 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001524/1.132, allocations: 1.007 MB / 1.514 GB, free: 6.441 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00585/1.138, allocations: 3.169 MB / 1.517 GB, free: 4.871 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.106e-06/1.138, allocations: 5.844 kB / 1.517 GB, free: 4.871 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001044/1.139, allocations: 228.2 kB / 1.517 GB, free: 4.863 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.92e-05/1.139, allocations: 5.531 kB / 1.517 GB, free: 4.863 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.692e-05/1.139, allocations: 29.86 kB / 1.518 GB, free: 4.848 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.087e-05/1.139, allocations: 8.062 kB / 1.518 GB, free: 4.848 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/1.139, allocations: 13.03 kB / 1.518 GB, free: 4.84 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02034/1.16, allocations: 10.34 MB / 1.528 GB, free: 14.87 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000832/1.161, allocations: 354.8 kB / 1.528 GB, free: 14.58 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002378/1.161, allocations: 29.44 kB / 1.528 GB, free: 14.56 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001167/1.162, allocations: 119.1 kB / 1.528 GB, free: 14.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002104/1.162, allocations: 77.23 kB / 1.528 GB, free: 14.46 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.095e-05/1.162, allocations: 34.12 kB / 1.528 GB, free: 14.45 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001122/1.163, allocations: 0.8273 MB / 1.529 GB, free: 14 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.71e-07/1.163, allocations: 0 / 1.529 GB, free: 14 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004314/1.168, allocations: 1.35 MB / 1.53 GB, free: 13.79 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 9 (roo.dynBal.medium.Xi[1],roo.dynBal.U,roo.dynBal.m,oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc,sha.vol.dynBal.medium.Xi[1],sha.vol.dynBal.U,sha.vol.dynBal.m) * 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 (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.001408/1.169, allocations: 0.6017 MB / 1.531 GB, free: 13.52 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002813/1.172, allocations: 1.611 MB / 1.533 GB, free: 12.82 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.772e-06/1.172, allocations: 5.156 kB / 1.533 GB, free: 12.82 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000885/1.173, allocations: 0.5688 MB / 1.533 GB, free: 12.58 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003861/1.177, allocations: 0.8435 MB / 1.534 GB, free: 12.16 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006702/1.184, allocations: 4.599 MB / 1.538 GB, free: 7.66 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001219/1.185, allocations: 1.405 MB / 1.54 GB, free: 6.223 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002095/1.187, allocations: 490.1 kB / 1.54 GB, free: 5.742 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004871/1.187, allocations: 119.4 kB / 1.54 GB, free: 5.625 MB / 0.948 GB Notification: Performance of SimCode: time 7.81e-07/1.187, allocations: 0 / 1.54 GB, free: 5.625 MB / 0.948 GB Notification: Performance of Templates: time 0.05523/1.243, allocations: 33.06 MB / 1.573 GB, free: 4.965 MB / 0.9792 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)