Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume") translateModel(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7192/0.7192, allocations: 127.3 MB / 139.8 MB, free: 15.49 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001175/0.001175, allocations: 192.7 kB / 169.7 MB, free: 1.73 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.668/1.668, allocations: 205.1 MB / 404.5 MB, free: 1.648 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009292/0.0009293, allocations: 92.3 kB / 481.8 MB, free: 4.293 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.149e-05/3.152e-05, allocations: 0 / 0.5532 GB, free: 54.87 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1611, allocations: 76.76 MB / 0.6282 GB, free: 10.05 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.444/5.605, allocations: 2.161 GB / 2.789 GB, free: 119.7 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002285/5.605, allocations: 91.7 kB / 2.789 GB, free: 119.7 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.513/9.119, allocations: 1.049 GB / 3.838 GB, free: 60.02 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.462e-06/9.119, allocations: 0 / 3.838 GB, free: 60.02 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001609/9.119, allocations: 47.98 kB / 3.838 GB, free: 59.97 MB / 0.6667 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.006799/9.126, allocations: 2.161 MB / 3.84 GB, free: 57.76 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/9.126, allocations: 8.031 kB / 3.84 GB, free: 57.75 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003466/9.129, allocations: 0.5096 MB / 3.841 GB, free: 57.24 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002865/9.132, allocations: 1.33 MB / 3.842 GB, free: 55.86 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.12e-05/9.132, allocations: 102.7 kB / 3.842 GB, free: 55.75 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002136/9.132, allocations: 143.9 kB / 3.842 GB, free: 55.62 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002617/9.135, allocations: 1.626 MB / 3.844 GB, free: 53.91 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.743e-05/9.135, allocations: 3.906 kB / 3.844 GB, free: 53.91 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001377/9.135, allocations: 60 kB / 3.844 GB, free: 53.85 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.958e-05/9.135, allocations: 58.61 kB / 3.844 GB, free: 53.79 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002049/9.137, allocations: 1.361 MB / 3.845 GB, free: 52.43 MB / 0.6667 GB Warning: The model contains alias variables with conflicting start and/or 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.007789/9.145, allocations: 7.158 MB / 3.852 GB, free: 44.82 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001377/9.147, allocations: 1.147 MB / 3.853 GB, free: 43.64 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007206/9.147, allocations: 0.5735 MB / 3.854 GB, free: 43.06 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007245/9.148, allocations: 0.8672 MB / 3.855 GB, free: 42.01 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008386/9.149, allocations: 0.5909 MB / 3.855 GB, free: 41.41 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=109): time 3.477e-06/9.149, allocations: 0 / 3.855 GB, free: 41.41 MB / 0.6667 GB Notification: Performance of matching and sorting (n=109): time 0.002059/9.151, allocations: 1.101 MB / 3.857 GB, free: 40.3 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.654e-05/9.151, allocations: 86.11 kB / 3.857 GB, free: 40.19 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001264/9.152, allocations: 1.029 MB / 3.858 GB, free: 39.14 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 8.837e-05/9.152, allocations: 57.64 kB / 3.858 GB, free: 39.08 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004672/9.153, allocations: 0.6854 MB / 3.858 GB, free: 38.39 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002695/9.153, allocations: 382.4 kB / 3.859 GB, free: 38.01 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.151e-05/9.153, allocations: 20 kB / 3.859 GB, free: 37.99 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.941e-05/9.153, allocations: 353.9 kB / 3.859 GB, free: 37.64 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005213/9.154, allocations: 389.9 kB / 3.859 GB, free: 37.26 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006087/9.154, allocations: 0.5615 MB / 3.86 GB, free: 36.64 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006318/9.155, allocations: 472.7 kB / 3.86 GB, free: 36.18 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/9.155, allocations: 0 / 3.86 GB, free: 36.18 MB / 0.6667 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001605/9.157, allocations: 1.152 MB / 3.862 GB, free: 35.02 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001927/9.157, allocations: 0.8999 MB / 3.862 GB, free: 34.07 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/9.157, allocations: 4 kB / 3.862 GB, free: 34.07 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.024e-05/9.157, allocations: 8 kB / 3.862 GB, free: 34.06 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009705/9.158, allocations: 219.7 kB / 3.863 GB, free: 33.85 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.686e-05/9.158, allocations: 11.94 kB / 3.863 GB, free: 33.84 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001617/9.16, allocations: 178.8 kB / 3.863 GB, free: 33.66 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.951e-05/9.16, allocations: 43.98 kB / 3.863 GB, free: 33.62 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/9.16, allocations: 4 kB / 3.863 GB, free: 33.61 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001429/9.161, allocations: 0.9917 MB / 3.864 GB, free: 32.62 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/9.161, allocations: 0 / 3.864 GB, free: 32.62 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/9.161, allocations: 8 kB / 3.864 GB, free: 32.61 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008378/9.162, allocations: 215.7 kB / 3.864 GB, free: 32.4 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/9.162, allocations: 7.984 kB / 3.864 GB, free: 32.39 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001627/9.164, allocations: 163.3 kB / 3.864 GB, free: 32.23 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-05/9.164, allocations: 43.94 kB / 3.864 GB, free: 32.19 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (125): * Single equations (assignments): 125 * 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.0003587/9.164, allocations: 157.7 kB / 3.864 GB, free: 32.03 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002711/9.164, allocations: 150.2 kB / 3.865 GB, free: 31.88 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002359/9.167, allocations: 1.204 MB / 3.866 GB, free: 30.66 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/9.167, allocations: 12 kB / 3.866 GB, free: 30.65 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.747e-06/9.167, allocations: 0 / 3.866 GB, free: 30.65 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001279/9.168, allocations: 0.9621 MB / 3.867 GB, free: 29.68 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004806/9.173, allocations: 3.111 MB / 3.87 GB, free: 26.45 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/9.173, allocations: 4 kB / 3.87 GB, free: 26.44 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001047/9.174, allocations: 235.7 kB / 3.87 GB, free: 26.21 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.061e-05/9.174, allocations: 4 kB / 3.87 GB, free: 26.21 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-05/9.174, allocations: 31.98 kB / 3.87 GB, free: 26.18 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.145e-06/9.174, allocations: 8.281 kB / 3.87 GB, free: 26.17 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/9.174, allocations: 7.938 kB / 3.87 GB, free: 26.16 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002568/9.177, allocations: 2.032 MB / 3.872 GB, free: 24.01 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009194/9.178, allocations: 371 kB / 3.872 GB, free: 23.63 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001834/9.178, allocations: 24 kB / 3.872 GB, free: 23.61 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001124/9.179, allocations: 119.7 kB / 3.872 GB, free: 23.49 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001421/9.179, allocations: 72.86 kB / 3.873 GB, free: 23.41 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.515e-05/9.179, allocations: 39.98 kB / 3.873 GB, free: 23.38 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001109/9.18, allocations: 0.8044 MB / 3.873 GB, free: 22.57 MB / 0.6667 GB Notification: Performance of sort global known variables: time 3.91e-07/9.18, allocations: 0 / 3.873 GB, free: 22.57 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003113/9.183, allocations: 1.103 MB / 3.874 GB, free: 21.46 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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) * 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.004636/9.188, allocations: 2.925 MB / 3.877 GB, free: 18.48 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002549/9.191, allocations: 1.589 MB / 3.879 GB, free: 16.89 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/9.191, allocations: 0 / 3.879 GB, free: 16.89 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0006928/9.191, allocations: 0.5251 MB / 3.879 GB, free: 16.37 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004324/9.196, allocations: 0.8107 MB / 3.88 GB, free: 15.57 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004482/9.2, allocations: 2.735 MB / 3.883 GB, free: 12.81 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008221/9.201, allocations: 1.402 MB / 3.884 GB, free: 11.38 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.002553/9.204, allocations: 0.5913 MB / 3.885 GB, free: 10.8 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002981/9.204, allocations: 95.42 kB / 3.885 GB, free: 10.71 MB / 0.6667 GB Notification: Performance of SimCode: time 9.42e-07/9.204, allocations: 0 / 3.885 GB, free: 10.71 MB / 0.6667 GB Notification: Performance of Templates: time 0.5709/9.775, allocations: 65.85 MB / 3.949 GB, free: 78.39 MB / 0.6823 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & ./BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)