Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume") translateModel(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001142/0.001143, allocations: 91.06 kB / 15.06 MB, free: 1.098 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.001498/0.001498, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.633/1.633, allocations: 205.4 MB / 222.1 MB, free: 5.742 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.645/1.645, allocations: 252 MB / 0.5102 GB, free: 4.84 MB / 414.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: Performance of FrontEnd - loaded program: time 0.000561/0.0005612, allocations: 16 kB / 0.6243 GB, free: 1.125 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5666/0.5672, allocations: 106.3 MB / 0.7281 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.7832/1.35, allocations: 215.4 MB / 0.9384 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01512/1.366, allocations: 9.734 MB / 0.9479 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004984/1.371, allocations: 47.53 kB / 0.948 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.004835/1.376, allocations: 0.8161 MB / 0.9488 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01056/1.386, allocations: 2.629 MB / 0.9513 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.005779/1.392, allocations: 1.478 MB / 0.9528 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.009511/1.401, allocations: 5.392 MB / 0.958 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003185/1.405, allocations: 1.193 MB / 0.9592 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004905/1.41, allocations: 1.396 MB / 0.9606 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003937/1.414, allocations: 1.418 MB / 0.962 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0005807/1.414, allocations: 78.03 kB / 0.962 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006968/1.421, allocations: 1.614 MB / 0.9636 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0015/1.423, allocations: 0.5913 MB / 0.9642 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001246/1.424, allocations: 417.9 kB / 0.9646 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.005114/1.429, allocations: 2.617 MB / 0.9671 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/1.429, allocations: 0 / 0.9671 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.394e-06/1.429, allocations: 0 / 0.9671 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.431e-05/1.429, allocations: 0 / 0.9671 GB, free: 4.766 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.006033/1.435, allocations: 2.157 MB / 0.9692 GB, free: 19.65 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.863e-05/1.435, allocations: 8.812 kB / 0.9692 GB, free: 19.65 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003467/1.439, allocations: 0.5262 MB / 0.9698 GB, free: 19.54 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0024/1.441, allocations: 1.18 MB / 0.9709 GB, free: 19.16 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.666e-05/1.441, allocations: 104.4 kB / 0.971 GB, free: 19.16 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002056/1.442, allocations: 139.3 kB / 0.9711 GB, free: 19.16 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003446/1.445, allocations: 1.681 MB / 0.9728 GB, free: 18.95 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.228e-05/1.445, allocations: 7.219 kB / 0.9728 GB, free: 18.95 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001357/1.445, allocations: 55.84 kB / 0.9728 GB, free: 18.95 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.928e-05/1.445, allocations: 73.3 kB / 0.9729 GB, free: 18.94 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002555/1.448, allocations: 1.449 MB / 0.9743 GB, free: 18.92 MB / 0.7325 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.009884/1.458, allocations: 6.99 MB / 0.9812 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00168/1.46, allocations: 1.165 MB / 0.9823 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008519/1.46, allocations: 0.6056 MB / 0.9829 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009772/1.461, allocations: 0.8646 MB / 0.9837 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001068/1.462, allocations: 0.6099 MB / 0.9843 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=110): time 4.648e-06/1.462, allocations: 4 kB / 0.9843 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of matching and sorting (n=110): time 0.003354/1.466, allocations: 1.568 MB / 0.9859 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.372e-05/1.466, allocations: 92.58 kB / 0.986 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00174/1.468, allocations: 1.187 MB / 0.9871 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001398/1.468, allocations: 48.8 kB / 0.9872 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006869/1.469, allocations: 0.6795 MB / 0.9878 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004589/1.469, allocations: 387.6 kB / 0.9882 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.119e-05/1.469, allocations: 23.72 kB / 0.9882 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002085/1.469, allocations: 343.7 kB / 0.9885 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007495/1.47, allocations: 418.1 kB / 0.9889 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000859/1.471, allocations: 0.5601 MB / 0.9895 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008553/1.472, allocations: 492.8 kB / 0.99 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/1.472, allocations: 2.969 kB / 0.99 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002371/1.474, allocations: 1.201 MB / 0.9911 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001422/1.474, allocations: 170 kB / 0.9913 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/1.474, allocations: 2.969 kB / 0.9913 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.849e-05/1.474, allocations: 8.625 kB / 0.9913 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009806/1.475, allocations: 221.7 kB / 0.9915 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.794e-05/1.475, allocations: 10.23 kB / 0.9915 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001759/1.477, allocations: 175.2 kB / 0.9917 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-05/1.477, allocations: 36.06 kB / 0.9917 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/1.477, allocations: 2.938 kB / 0.9917 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001624/1.479, allocations: 1.03 MB / 0.9927 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/1.479, allocations: 2.781 kB / 0.9927 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/1.479, allocations: 7.812 kB / 0.9927 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000847/1.48, allocations: 210.5 kB / 0.9929 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.401e-05/1.48, allocations: 9.25 kB / 0.993 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001855/1.482, allocations: 167.3 kB / 0.9931 GB, free: 11.03 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.637e-05/1.482, allocations: 37.66 kB / 0.9932 GB, free: 11.02 MB / 0.7325 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.00139/1.483, allocations: 496.1 kB / 0.9936 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004143/1.484, allocations: 148.5 kB / 0.9938 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002324/1.486, allocations: 1.24 MB / 0.995 GB, free: 10.47 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.174e-05/1.486, allocations: 10 kB / 0.995 GB, free: 10.47 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/1.486, allocations: 3.984 kB / 0.995 GB, free: 10.47 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001546/1.488, allocations: 0.9985 MB / 0.996 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006015/1.494, allocations: 3.171 MB / 0.9991 GB, free: 9.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.144e-05/1.494, allocations: 8.359 kB / 0.9991 GB, free: 9.086 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001089/1.495, allocations: 232.4 kB / 0.9993 GB, free: 9.055 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.36e-05/1.495, allocations: 6.844 kB / 0.9993 GB, free: 9.055 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.023e-05/1.495, allocations: 30.02 kB / 0.9993 GB, free: 9.051 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.208e-05/1.495, allocations: 10.75 kB / 0.9993 GB, free: 9.051 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/1.495, allocations: 3.344 kB / 0.9993 GB, free: 9.051 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003149/1.498, allocations: 1.989 MB / 1.001 GB, free: 8.523 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009432/1.499, allocations: 375.6 kB / 1.002 GB, free: 8.293 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000188/1.499, allocations: 27.38 kB / 1.002 GB, free: 8.293 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001078/1.5, allocations: 121.6 kB / 1.002 GB, free: 8.25 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001619/1.5, allocations: 69.66 kB / 1.002 GB, free: 8.227 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.184e-05/1.5, allocations: 39.64 kB / 1.002 GB, free: 8.223 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001192/1.502, allocations: 0.8278 MB / 1.003 GB, free: 7.98 MB / 0.7325 GB Notification: Performance of sort global known variables: time 5.41e-07/1.502, allocations: 4 kB / 1.003 GB, free: 7.977 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002175/1.504, allocations: 0.846 MB / 1.004 GB, free: 7.852 MB / 0.7325 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.001353/1.505, allocations: 0.5786 MB / 1.004 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0028/1.508, allocations: 1.591 MB / 1.006 GB, free: 7.402 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/1.508, allocations: 2.375 kB / 1.006 GB, free: 7.402 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008914/1.509, allocations: 0.5716 MB / 1.006 GB, free: 7.336 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003856/1.513, allocations: 0.8335 MB / 1.007 GB, free: 7.055 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00619/1.519, allocations: 4.027 MB / 1.011 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001033/1.52, allocations: 1.368 MB / 1.012 GB, free: 2.668 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002326/1.522, allocations: 463.6 kB / 1.013 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003732/1.523, allocations: 111 kB / 1.013 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of SimCode: time 1.122e-06/1.523, allocations: 0 / 1.013 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of Templates: time 0.0538/1.577, allocations: 28.01 MB / 1.04 GB, free: 6.586 MB / 0.7637 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & ./Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1) Environment - environmentSimulation: