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.00112/0.00112, allocations: 90.52 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.007805/0.007805, allocations: 170.8 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.375/1.375, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.521/1.521, allocations: 252 MB / 0.5105 GB, free: 4.586 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.0005523/0.0005523, allocations: 19.98 kB / 0.6249 GB, free: 0.6953 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5562/0.5567, allocations: 106.3 MB / 0.7287 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.7457/1.302, allocations: 230.8 MB / 0.9541 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01419/1.317, allocations: 10.34 MB / 0.9642 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002359/1.319, allocations: 51.38 kB / 0.9642 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002638/1.322, allocations: 1.034 MB / 0.9653 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.008755/1.331, allocations: 3.405 MB / 0.9686 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.005099/1.336, allocations: 1.945 MB / 0.9705 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.007514/1.343, allocations: 6.403 MB / 0.9767 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002162/1.345, allocations: 1.321 MB / 0.978 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002954/1.348, allocations: 1.366 MB / 0.9794 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003344/1.352, allocations: 1.488 MB / 0.9808 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002244/1.352, allocations: 83.88 kB / 0.9809 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007089/1.359, allocations: 3.717 MB / 0.9845 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0008424/1.36, allocations: 0.6001 MB / 0.9851 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001579/1.361, allocations: 0.9739 MB / 0.9861 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.006951/1.368, allocations: 3.936 MB / 0.9899 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/1.368, allocations: 0 / 0.9899 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.946e-06/1.368, allocations: 0 / 0.9899 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.962e-05/1.368, allocations: 4 kB / 0.9899 GB, free: 15.99 MB / 0.7325 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.004675/1.373, allocations: 2.142 MB / 0.992 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/1.373, allocations: 8.281 kB / 0.992 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003204/1.376, allocations: 0.5304 MB / 0.9925 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001945/1.378, allocations: 1.228 MB / 0.9937 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.095e-05/1.378, allocations: 101.9 kB / 0.9938 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001936/1.379, allocations: 133 kB / 0.9939 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002725/1.381, allocations: 1.696 MB / 0.9956 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.448e-05/1.381, allocations: 11.45 kB / 0.9956 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001319/1.382, allocations: 63.38 kB / 0.9957 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.736e-05/1.382, allocations: 69.64 kB / 0.9957 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002346/1.384, allocations: 1.456 MB / 0.9972 GB, free: 12.98 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.008744/1.393, allocations: 6.992 MB / 1.004 GB, free: 8.422 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001652/1.394, allocations: 1.168 MB / 1.005 GB, free: 7.711 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008772/1.395, allocations: 0.6205 MB / 1.006 GB, free: 7.398 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008904/1.396, allocations: 0.8685 MB / 1.007 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001092/1.397, allocations: 0.61 MB / 1.007 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=110): time 3.686e-06/1.397, allocations: 3.594 kB / 1.007 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of matching and sorting (n=110): time 0.003007/1.4, allocations: 1.573 MB / 1.009 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.494e-05/1.4, allocations: 91.58 kB / 1.009 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001503/1.402, allocations: 1.197 MB / 1.01 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.266e-05/1.402, allocations: 50.58 kB / 1.01 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005465/1.403, allocations: 0.6784 MB / 1.011 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003607/1.403, allocations: 391.2 kB / 1.011 GB, free: 3.57 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001232/1.403, allocations: 84.8 kB / 1.011 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001497/1.403, allocations: 343.4 kB / 1.011 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006832/1.404, allocations: 415.8 kB / 1.012 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007871/1.405, allocations: 0.5707 MB / 1.012 GB, free: 2.609 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001502/1.406, allocations: 1.012 MB / 1.013 GB, free: 2.039 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/1.406, allocations: 0 / 1.013 GB, free: 2.039 MB / 0.7325 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001928/1.408, allocations: 1.223 MB / 1.015 GB, free: 1.441 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001176/1.408, allocations: 164.3 kB / 1.015 GB, free: 1.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/1.408, allocations: 4 kB / 1.015 GB, free: 1.246 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.255e-05/1.408, allocations: 8.844 kB / 1.015 GB, free: 1.246 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009115/1.409, allocations: 218.8 kB / 1.015 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.448e-05/1.409, allocations: 8.156 kB / 1.015 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001375/1.411, allocations: 177 kB / 1.015 GB, free: 1.109 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.299e-05/1.411, allocations: 38.61 kB / 1.015 GB, free: 1.098 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.191e-06/1.411, allocations: 3.375 kB / 1.015 GB, free: 1.098 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001595/1.412, allocations: 1.036 MB / 1.016 GB, free: 0.6055 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/1.412, allocations: 3.312 kB / 1.016 GB, free: 0.6055 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.257e-06/1.412, allocations: 9.656 kB / 1.016 GB, free: 0.6016 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008094/1.413, allocations: 211.5 kB / 1.016 GB, free: 0.5703 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.809e-06/1.413, allocations: 5.75 kB / 1.016 GB, free: 0.5703 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001239/1.415, allocations: 173.6 kB / 1.017 GB, free: 476 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.017e-05/1.415, allocations: 34.56 kB / 1.017 GB, free: 468 kB / 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 ($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.0008766/1.416, allocations: 495.7 kB / 1.017 GB, free: 104 kB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000204/1.416, allocations: 148.1 kB / 1.017 GB, free: 28 kB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002191/1.418, allocations: 1.246 MB / 1.018 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/1.418, allocations: 12 kB / 1.018 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/1.418, allocations: 0 / 1.018 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001633/1.42, allocations: 1.009 MB / 1.019 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004725/1.424, allocations: 3.165 MB / 1.023 GB, free: 10.55 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/1.424, allocations: 0 / 1.023 GB, free: 10.55 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001069/1.425, allocations: 236.6 kB / 1.023 GB, free: 10.34 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.067e-05/1.425, allocations: 8.312 kB / 1.023 GB, free: 10.33 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.179e-05/1.426, allocations: 35.98 kB / 1.023 GB, free: 10.29 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.454e-06/1.426, allocations: 4 kB / 1.023 GB, free: 10.29 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.085e-05/1.426, allocations: 10.47 kB / 1.023 GB, free: 10.28 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002813/1.428, allocations: 1.993 MB / 1.025 GB, free: 8.242 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006041/1.429, allocations: 374.9 kB / 1.025 GB, free: 7.855 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001705/1.429, allocations: 26.69 kB / 1.025 GB, free: 7.832 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001111/1.43, allocations: 125.7 kB / 1.025 GB, free: 7.711 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001555/1.43, allocations: 76.84 kB / 1.025 GB, free: 7.637 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.777e-05/1.431, allocations: 39.98 kB / 1.025 GB, free: 7.598 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.00109/1.432, allocations: 0.8336 MB / 1.026 GB, free: 6.762 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.3e-07/1.432, allocations: 2.625 kB / 1.026 GB, free: 6.762 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001904/1.434, allocations: 0.8492 MB / 1.027 GB, free: 5.91 MB / 0.7481 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 (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.001277/1.435, allocations: 0.577 MB / 1.028 GB, free: 5.516 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002615/1.437, allocations: 1.607 MB / 1.029 GB, free: 3.949 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/1.437, allocations: 0 / 1.029 GB, free: 3.949 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0008431/1.438, allocations: 0.5757 MB / 1.03 GB, free: 3.402 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004265/1.443, allocations: 0.8382 MB / 1.031 GB, free: 2.574 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005472/1.448, allocations: 4.152 MB / 1.035 GB, free: 14.37 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009423/1.449, allocations: 1.368 MB / 1.036 GB, free: 12.96 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.00194/1.451, allocations: 455.6 kB / 1.036 GB, free: 12.52 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003772/1.451, allocations: 111.4 kB / 1.036 GB, free: 12.41 MB / 0.7637 GB Notification: Performance of SimCode: time 1.092e-06/1.451, allocations: 0 / 1.036 GB, free: 12.41 MB / 0.7637 GB Notification: Performance of Templates: time 0.04703/1.498, allocations: 28.86 MB / 1.065 GB, free: 16 kB / 0.7794 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: