Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume") translateModel(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 91.06 kB / 15.36 MB, free: 0.7383 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.009872/0.009872, allocations: 172.3 kB / 16.26 MB, free: 6.613 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.708/1.708, allocations: 205.4 MB / 222.5 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.7383/0.7383, allocations: 95.62 MB / 366.4 MB, free: 10.22 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007371/0.0007371, allocations: 16 kB / 447.5 MB, free: 8.957 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4594/0.4601, allocations: 70.33 MB / 0.5057 GB, free: 16.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.7114/1.172, allocations: 178 MB / 0.6795 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01604/1.188, allocations: 9.862 MB / 0.6891 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004253/1.192, allocations: 66.14 kB / 0.6892 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00303/1.195, allocations: 0.7357 MB / 0.6899 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007924/1.203, allocations: 1.743 MB / 0.6916 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005993/1.209, allocations: 1.502 MB / 0.6931 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.008842/1.218, allocations: 5.323 MB / 0.6983 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002889/1.221, allocations: 1.152 MB / 0.6994 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003558/1.224, allocations: 1.222 MB / 0.7006 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003558/1.228, allocations: 1.476 MB / 0.702 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0007503/1.229, allocations: 63.72 kB / 0.7021 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004319/1.233, allocations: 1.119 MB / 0.7032 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009262/1.234, allocations: 317.3 kB / 0.7035 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002484/1.236, allocations: 0.7816 MB / 0.7042 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.005515/1.242, allocations: 2.323 MB / 0.7065 GB, free: 9.684 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/1.242, allocations: 4 kB / 0.7065 GB, free: 9.68 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.224e-06/1.242, allocations: 0 / 0.7065 GB, free: 9.68 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001046/1.242, allocations: 1.812 kB / 0.7065 GB, free: 9.68 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 268 * Number of variables: 268 Notification: Performance of Generate backend data structure: time 0.004502/1.247, allocations: 1.688 MB / 0.7082 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/1.247, allocations: 15.08 kB / 0.7082 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006814/1.247, allocations: 193.4 kB / 0.7084 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001967/1.249, allocations: 1.112 MB / 0.7094 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.888e-05/1.249, allocations: 81.55 kB / 0.7095 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001462/1.25, allocations: 105.4 kB / 0.7096 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002184/1.252, allocations: 1.215 MB / 0.7108 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.251e-05/1.252, allocations: 5.438 kB / 0.7108 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001085/1.252, allocations: 42.88 kB / 0.7109 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.076e-05/1.252, allocations: 28.66 kB / 0.7109 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001874/1.254, allocations: 0.9404 MB / 0.7118 GB, free: 6.156 MB / 0.4981 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.006888/1.261, allocations: 5.439 MB / 0.7171 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001383/1.262, allocations: 0.7561 MB / 0.7179 GB, free: 8 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006672/1.263, allocations: 401 kB / 0.7182 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001367/1.264, allocations: 1.655 MB / 0.7199 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008418/1.265, allocations: 0.4893 MB / 0.7203 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=84): time 2.736e-06/1.265, allocations: 0 / 0.7203 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of matching and sorting (n=94): time 0.007719/1.273, allocations: 3.111 MB / 0.7234 GB, free: 9.898 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000142/1.273, allocations: 214.6 kB / 0.7236 GB, free: 9.637 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002015/1.275, allocations: 1.145 MB / 0.7247 GB, free: 8.484 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.000101/1.275, allocations: 45.7 kB / 0.7247 GB, free: 8.434 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007104/1.276, allocations: 0.6221 MB / 0.7253 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003688/1.276, allocations: 329.3 kB / 0.7257 GB, free: 7.488 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001481/1.276, allocations: 81.67 kB / 0.7257 GB, free: 7.402 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000169/1.277, allocations: 349.9 kB / 0.7261 GB, free: 7.055 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008868/1.278, allocations: 329.8 kB / 0.7264 GB, free: 6.734 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001106/1.279, allocations: 0.5569 MB / 0.7269 GB, free: 6.094 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001989/1.281, allocations: 0.8907 MB / 0.7278 GB, free: 5.152 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/1.281, allocations: 4 kB / 0.7278 GB, free: 5.148 MB / 0.5137 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002938/1.284, allocations: 1.264 MB / 0.729 GB, free: 3.867 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002114/1.284, allocations: 243 kB / 0.7293 GB, free: 3.555 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.602e-05/1.284, allocations: 4 kB / 0.7293 GB, free: 3.551 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002254/1.284, allocations: 59.66 kB / 0.7293 GB, free: 3.488 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001312/1.285, allocations: 234.4 kB / 0.7296 GB, free: 3.273 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002276/1.288, allocations: 2.603 MB / 0.7321 GB, free: 428 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001665/1.289, allocations: 111.8 kB / 0.7322 GB, free: 316 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001324/1.29, allocations: 39.98 kB / 0.7322 GB, free: 276 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/1.29, allocations: 4 kB / 0.7322 GB, free: 272 kB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002477/1.292, allocations: 1.087 MB / 0.7333 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/1.292, allocations: 4 kB / 0.7333 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000179/1.292, allocations: 60.19 kB / 0.7334 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001251/1.294, allocations: 224.7 kB / 0.7336 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002167/1.296, allocations: 2.61 MB / 0.7361 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00159/1.297, allocations: 99.86 kB / 0.7362 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001097/1.297, allocations: 43.98 kB / 0.7363 GB, free: 11.9 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (121): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009542/1.298, allocations: 404.2 kB / 0.7367 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003138/1.299, allocations: 138.2 kB / 0.7368 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003188/1.302, allocations: 1.331 MB / 0.7381 GB, free: 9.996 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.076e-05/1.302, allocations: 12 kB / 0.7381 GB, free: 9.984 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/1.302, allocations: 0 / 0.7381 GB, free: 9.984 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.369e-05/1.302, allocations: 7.984 kB / 0.7381 GB, free: 9.977 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005359/1.307, allocations: 2.52 MB / 0.7406 GB, free: 7.383 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.286e-05/1.307, allocations: 3.938 kB / 0.7406 GB, free: 7.379 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001214/1.309, allocations: 194 kB / 0.7408 GB, free: 7.199 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001799/1.309, allocations: 41.69 kB / 0.7408 GB, free: 7.152 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.412e-05/1.309, allocations: 27.98 kB / 0.7408 GB, free: 7.125 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002214/1.311, allocations: 2.602 MB / 0.7434 GB, free: 4.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/1.311, allocations: 0 / 0.7434 GB, free: 4.27 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00402/1.315, allocations: 1.757 MB / 0.7451 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001562/1.317, allocations: 331.2 kB / 0.7454 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002853/1.317, allocations: 24 kB / 0.7454 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001242/1.318, allocations: 83.83 kB / 0.7455 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002748/1.319, allocations: 64.91 kB / 0.7456 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001284/1.319, allocations: 35.98 kB / 0.7456 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001772/1.321, allocations: 0.7969 MB / 0.7464 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.11e-07/1.321, allocations: 0 / 0.7464 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003235/1.324, allocations: 0.6678 MB / 0.747 GB, free: 448 kB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (roo.dynBal.medium.p,roo.dynBal.medium.T,oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc,sha.vol.dynBal.medium.p,sha.vol.dynBal.medium.T) * 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 (98): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002314/1.326, allocations: 0.7623 MB / 0.7478 GB, free: 15.88 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.004095/1.33, allocations: 1.826 MB / 0.7495 GB, free: 14.05 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/1.33, allocations: 0 / 0.7495 GB, free: 14.05 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001366/1.332, allocations: 0.6963 MB / 0.7502 GB, free: 13.34 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004587/1.336, allocations: 0.6607 MB / 0.7509 GB, free: 12.69 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008063/1.344, allocations: 3.507 MB / 0.7543 GB, free: 9.16 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001157/1.346, allocations: 1.216 MB / 0.7555 GB, free: 7.914 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002479/1.348, allocations: 336.4 kB / 0.7558 GB, free: 7.59 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004508/1.348, allocations: 122 kB / 0.7559 GB, free: 7.473 MB / 0.545 GB Notification: Performance of SimCode: time 1.423e-06/1.349, allocations: 3.938 kB / 0.7559 GB, free: 7.469 MB / 0.545 GB Notification: Performance of Templates: time 0.06884/1.417, allocations: 27.67 MB / 0.7829 GB, free: 12.09 MB / 0.5762 GB make -j1 -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo Buildings_1.6_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/Buildings_1.6_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & ./Buildings_1.6_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1) Environment - environmentSimulation: