Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftWithVolume") translateModel(BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001003/0.001003, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007306/0.007306, allocations: 171.5 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001758/0.001757, allocations: 274.6 kB / 291.7 MB, free: 1.871 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9358/0.9358, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004432/0.0004432, allocations: 14.28 kB / 0.5986 GB, free: 27.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1892/0.1897, allocations: 88.55 MB / 0.6851 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.6267/0.8164, allocations: 230.5 MB / 0.9102 GB, free: 9.301 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01751/0.8339, allocations: 10.4 MB / 0.9204 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003188/0.8371, allocations: 55.62 kB / 0.9204 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003602/0.8408, allocations: 1.019 MB / 0.9214 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01112/0.8519, allocations: 3.453 MB / 0.9248 GB, free: 10.33 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.006504/0.8585, allocations: 1.873 MB / 0.9266 GB, free: 8.465 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.008427/0.8669, allocations: 6.284 MB / 0.9327 GB, free: 2.164 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00245/0.8694, allocations: 1.302 MB / 0.934 GB, free: 0.8281 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002909/0.8723, allocations: 1.334 MB / 0.9353 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003164/0.8755, allocations: 1.49 MB / 0.9368 GB, free: 14 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002909/0.8758, allocations: 76 kB / 0.9368 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007139/0.8829, allocations: 3.717 MB / 0.9405 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0009908/0.884, allocations: 0.584 MB / 0.941 GB, free: 9.613 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001457/0.8854, allocations: 0.9538 MB / 0.942 GB, free: 8.648 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.007296/0.8927, allocations: 3.894 MB / 0.9458 GB, free: 4.742 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.8928, allocations: 0 / 0.9458 GB, free: 4.742 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.024e-06/0.8928, allocations: 0 / 0.9458 GB, free: 4.742 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.63e-05/0.8928, allocations: 0 / 0.9458 GB, free: 4.742 MB / 0.6544 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.005127/0.898, allocations: 2.132 MB / 0.9479 GB, free: 2.555 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.898, allocations: 8.031 kB / 0.9479 GB, free: 2.547 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003508/0.9015, allocations: 0.5167 MB / 0.9484 GB, free: 2.027 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002264/0.9038, allocations: 1.232 MB / 0.9496 GB, free: 0.7383 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/0.9039, allocations: 98.59 kB / 0.9497 GB, free: 0.6406 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002154/0.9042, allocations: 140 kB / 0.9498 GB, free: 0.5039 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002918/0.9071, allocations: 1.67 MB / 0.9514 GB, free: 14.77 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.538e-05/0.9071, allocations: 11.84 kB / 0.9514 GB, free: 14.75 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001368/0.9073, allocations: 52 kB / 0.9515 GB, free: 14.7 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.945e-05/0.9074, allocations: 66.58 kB / 0.9516 GB, free: 14.64 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002667/0.91, allocations: 1.458 MB / 0.953 GB, free: 13.17 MB / 0.67 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.009108/0.9192, allocations: 6.985 MB / 0.9598 GB, free: 5.73 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001894/0.9211, allocations: 1.196 MB / 0.961 GB, free: 4.496 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009707/0.9221, allocations: 0.62 MB / 0.9616 GB, free: 3.875 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008796/0.923, allocations: 0.8633 MB / 0.9624 GB, free: 2.828 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00112/0.9241, allocations: 0.6141 MB / 0.963 GB, free: 2.199 MB / 0.67 GB Notification: Performance of pre-optimization done (n=110): time 3.347e-06/0.9241, allocations: 3.938 kB / 0.963 GB, free: 2.195 MB / 0.67 GB Notification: Performance of matching and sorting (n=110): time 0.003255/0.9274, allocations: 1.584 MB / 0.9646 GB, free: 0.6055 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.475e-05/0.9275, allocations: 94.05 kB / 0.9647 GB, free: 0.4961 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001718/0.9292, allocations: 1.191 MB / 0.9658 GB, free: 15.29 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001155/0.9293, allocations: 49.7 kB / 0.9659 GB, free: 15.23 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006098/0.9299, allocations: 0.6737 MB / 0.9665 GB, free: 14.55 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003951/0.9303, allocations: 394.3 kB / 0.9669 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/0.9305, allocations: 85.66 kB / 0.967 GB, free: 14.07 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.9306, allocations: 345.9 kB / 0.9673 GB, free: 13.73 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007805/0.9314, allocations: 421.8 kB / 0.9677 GB, free: 13.31 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008842/0.9323, allocations: 0.5634 MB / 0.9683 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001703/0.934, allocations: 1.021 MB / 0.9693 GB, free: 11.66 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.934, allocations: 0 / 0.9693 GB, free: 11.66 MB / 0.6856 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002322/0.9364, allocations: 1.226 MB / 0.9705 GB, free: 10.43 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001232/0.9365, allocations: 171.4 kB / 0.9706 GB, free: 10.22 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.9365, allocations: 0 / 0.9706 GB, free: 10.22 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.183e-05/0.9365, allocations: 8 kB / 0.9706 GB, free: 10.21 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000963/0.9375, allocations: 219.7 kB / 0.9708 GB, free: 10 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.508e-05/0.9375, allocations: 7.938 kB / 0.9708 GB, free: 9.992 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001523/0.9391, allocations: 182.9 kB / 0.971 GB, free: 9.812 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.678e-05/0.9392, allocations: 43.97 kB / 0.9711 GB, free: 9.77 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 9.178e-06/0.9392, allocations: 8 kB / 0.9711 GB, free: 9.762 MB / 0.6856 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001799/0.941, allocations: 1.042 MB / 0.9721 GB, free: 8.723 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.941, allocations: 4 kB / 0.9721 GB, free: 8.719 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.941, allocations: 8 kB / 0.9721 GB, free: 8.711 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008821/0.9419, allocations: 207.7 kB / 0.9723 GB, free: 8.508 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.9419, allocations: 12.31 kB / 0.9723 GB, free: 8.496 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001472/0.9434, allocations: 178.9 kB / 0.9725 GB, free: 8.32 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.418e-05/0.9435, allocations: 35.94 kB / 0.9725 GB, free: 8.285 MB / 0.6856 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.0008447/0.9443, allocations: 490.1 kB / 0.973 GB, free: 7.797 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002463/0.9446, allocations: 154.2 kB / 0.9731 GB, free: 7.645 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002309/0.9469, allocations: 1.251 MB / 0.9743 GB, free: 6.375 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/0.9469, allocations: 12 kB / 0.9744 GB, free: 6.363 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.947, allocations: 0 / 0.9744 GB, free: 6.363 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001694/0.9487, allocations: 1.026 MB / 0.9754 GB, free: 5.328 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005257/0.9539, allocations: 3.163 MB / 0.9785 GB, free: 2.039 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.9539, allocations: 4.062 kB / 0.9785 GB, free: 2.035 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001098/0.9551, allocations: 235.7 kB / 0.9787 GB, free: 1.805 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.197e-05/0.9551, allocations: 4 kB / 0.9787 GB, free: 1.801 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.63e-05/0.9552, allocations: 28 kB / 0.9787 GB, free: 1.773 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.029e-05/0.9552, allocations: 15.92 kB / 0.9787 GB, free: 1.758 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.9552, allocations: 3.938 kB / 0.9787 GB, free: 1.754 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003023/0.9582, allocations: 1.923 MB / 0.9806 GB, free: 15.78 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006639/0.9589, allocations: 366.8 kB / 0.981 GB, free: 15.4 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001754/0.9591, allocations: 32 kB / 0.981 GB, free: 15.37 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001071/0.9602, allocations: 115.8 kB / 0.9811 GB, free: 15.26 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001677/0.9603, allocations: 72.83 kB / 0.9812 GB, free: 15.19 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.643e-05/0.9604, allocations: 39.98 kB / 0.9812 GB, free: 15.15 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001097/0.9615, allocations: 0.8219 MB / 0.982 GB, free: 14.32 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.2e-07/0.9615, allocations: 0 / 0.982 GB, free: 14.32 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001775/0.9633, allocations: 0.8377 MB / 0.9828 GB, free: 13.48 MB / 0.7012 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.001297/0.9646, allocations: 0.5852 MB / 0.9834 GB, free: 13.06 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.00281/0.9674, allocations: 1.623 MB / 0.985 GB, free: 11.44 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.9675, allocations: 0 / 0.985 GB, free: 11.44 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0009508/0.9684, allocations: 0.5733 MB / 0.9855 GB, free: 10.87 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004294/0.9727, allocations: 0.8226 MB / 0.9863 GB, free: 10.06 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005878/0.9786, allocations: 4.161 MB / 0.9904 GB, free: 5.828 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001002/0.9796, allocations: 1.36 MB / 0.9917 GB, free: 4.438 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001949/0.9816, allocations: 463.5 kB / 0.9922 GB, free: 3.98 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003552/0.982, allocations: 111.4 kB / 0.9923 GB, free: 3.875 MB / 0.7012 GB Notification: Performance of SimCode: time 7.52e-07/0.982, allocations: 0 / 0.9923 GB, free: 3.875 MB / 0.7012 GB Notification: Performance of Templates: time 0.04842/1.03, allocations: 28.54 MB / 1.02 GB, free: 7.746 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftWithVolume.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftWithVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)