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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.805/0.805, allocations: 141.8 MB / 149.3 MB, free: 9.242 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001026/0.001027, allocations: 183.8 kB / 182.2 MB, free: 9.477 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 221.5 MB / 436.4 MB, free: 13.29 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008373/0.0008373, allocations: 80.14 kB / 0.5074 GB, free: 10.13 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001719/0.001719, allocations: 280.9 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.756e-05/1.768e-05, allocations: 0 / 0.6765 GB, free: 12.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3726/0.3727, allocations: 82.78 MB / 0.7574 GB, free: 32.01 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.943/4.315, allocations: 1.89 GB / 2.647 GB, free: 168.3 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000234/4.316, allocations: 87.83 kB / 2.647 GB, free: 168.2 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.751/8.067, allocations: 1.062 GB / 3.709 GB, free: 86.32 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.394e-06/8.067, allocations: 0 / 3.709 GB, free: 86.32 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0002637/8.067, allocations: 50.27 kB / 3.709 GB, free: 86.31 MB / 0.7136 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.00765/8.075, allocations: 2.145 MB / 3.711 GB, free: 85.45 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/8.075, allocations: 13 kB / 3.711 GB, free: 85.45 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003762/8.079, allocations: 0.5157 MB / 3.711 GB, free: 85.34 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003065/8.082, allocations: 1.252 MB / 3.713 GB, free: 85.02 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.846e-05/8.082, allocations: 44.66 kB / 3.713 GB, free: 85.02 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004114/8.083, allocations: 81.25 kB / 3.713 GB, free: 85.02 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002552/8.085, allocations: 1.196 MB / 3.714 GB, free: 85.01 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002834/8.088, allocations: 1.416 MB / 3.715 GB, free: 84.8 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.748e-05/8.088, allocations: 10.34 kB / 3.715 GB, free: 84.79 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001701/8.088, allocations: 7.609 kB / 3.715 GB, free: 84.79 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.993e-05/8.088, allocations: 60.14 kB / 3.715 GB, free: 84.79 MB / 0.7136 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.009587/8.098, allocations: 7.024 MB / 3.722 GB, free: 81.32 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001549/8.099, allocations: 1.216 MB / 3.723 GB, free: 81.01 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007442/8.1, allocations: 0.5789 MB / 3.724 GB, free: 80.99 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007439/8.101, allocations: 0.8657 MB / 3.725 GB, free: 80.05 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008862/8.102, allocations: 0.5899 MB / 3.725 GB, free: 79.99 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=110): time 3.697e-06/8.102, allocations: 0 / 3.725 GB, free: 79.99 MB / 0.7136 GB Notification: Performance of matching and sorting (n=110): time 0.002459/8.104, allocations: 1.133 MB / 3.727 GB, free: 79.86 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.839e-05/8.104, allocations: 98.42 kB / 3.727 GB, free: 79.76 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00134/8.106, allocations: 0.8148 MB / 3.727 GB, free: 79.61 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001076/8.106, allocations: 29.17 kB / 3.727 GB, free: 79.58 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005421/8.106, allocations: 0.6843 MB / 3.728 GB, free: 79.31 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003483/8.107, allocations: 369 kB / 3.728 GB, free: 79.07 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.116e-05/8.107, allocations: 0 / 3.728 GB, free: 79.07 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.567e-05/8.107, allocations: 350.8 kB / 3.729 GB, free: 78.76 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000561/8.107, allocations: 406.6 kB / 3.729 GB, free: 78.76 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006663/8.108, allocations: 0.5726 MB / 3.73 GB, free: 78.59 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008823/8.109, allocations: 0.512 MB / 3.73 GB, free: 78.58 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/8.109, allocations: 0 / 3.73 GB, free: 78.58 MB / 0.7136 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001976/8.111, allocations: 1.18 MB / 3.731 GB, free: 78.45 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002302/8.111, allocations: 0.9777 MB / 3.732 GB, free: 77.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/8.111, allocations: 3.844 kB / 3.732 GB, free: 77.45 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.737e-05/8.111, allocations: 7.562 kB / 3.732 GB, free: 77.45 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001002/8.112, allocations: 224.9 kB / 3.733 GB, free: 77.45 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.762e-05/8.112, allocations: 7.531 kB / 3.733 GB, free: 77.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001578/8.114, allocations: 139 kB / 3.733 GB, free: 77.41 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001236/8.114, allocations: 46.23 kB / 3.733 GB, free: 77.41 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/8.114, allocations: 3 kB / 3.733 GB, free: 77.41 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00161/8.116, allocations: 1.015 MB / 3.734 GB, free: 77.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/8.116, allocations: 5.969 kB / 3.734 GB, free: 77.38 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/8.116, allocations: 7.156 kB / 3.734 GB, free: 77.38 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008976/8.117, allocations: 217.5 kB / 3.734 GB, free: 77.38 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.854e-05/8.117, allocations: 10.25 kB / 3.734 GB, free: 77.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00147/8.118, allocations: 136.5 kB / 3.734 GB, free: 77.34 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/8.118, allocations: 40.22 kB / 3.734 GB, free: 77.34 MB / 0.7136 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 () * 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.0002384/8.119, allocations: 129.7 kB / 3.734 GB, free: 77.23 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003341/8.119, allocations: 137.5 kB / 3.734 GB, free: 77.16 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002043/8.121, allocations: 1.214 MB / 3.736 GB, free: 77.06 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/8.121, allocations: 14.86 kB / 3.736 GB, free: 77.06 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/8.121, allocations: 0 / 3.736 GB, free: 77.06 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001419/8.122, allocations: 1.006 MB / 3.737 GB, free: 76.97 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004854/8.127, allocations: 3.099 MB / 3.74 GB, free: 76.33 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/8.127, allocations: 0 / 3.74 GB, free: 76.33 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001161/8.128, allocations: 250.9 kB / 3.74 GB, free: 76.33 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.568e-05/8.128, allocations: 7 kB / 3.74 GB, free: 76.33 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000111/8.129, allocations: 18.28 kB / 3.74 GB, free: 76.33 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-05/8.129, allocations: 11.42 kB / 3.74 GB, free: 76.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/8.129, allocations: 7.594 kB / 3.74 GB, free: 76.32 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003079/8.132, allocations: 2.133 MB / 3.742 GB, free: 75.82 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007303/8.132, allocations: 363.9 kB / 3.742 GB, free: 75.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002788/8.133, allocations: 9.562 kB / 3.742 GB, free: 75.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001288/8.134, allocations: 99.14 kB / 3.742 GB, free: 75.64 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/8.134, allocations: 75.97 kB / 3.743 GB, free: 75.63 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.362e-05/8.134, allocations: 42.44 kB / 3.743 GB, free: 75.63 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0008272/8.135, allocations: 0.6227 MB / 3.743 GB, free: 75.52 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.593e-06/8.135, allocations: 2.812 kB / 3.743 GB, free: 75.52 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002904/8.138, allocations: 1.006 MB / 3.744 GB, free: 75.38 MB / 0.7136 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 109 * 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.005064/8.143, allocations: 3.123 MB / 3.747 GB, free: 74.23 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002352/8.145, allocations: 1.631 MB / 3.749 GB, free: 74.2 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/8.145, allocations: 0 / 3.749 GB, free: 74.2 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0006801/8.146, allocations: 0.5472 MB / 3.749 GB, free: 74.2 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003158/8.149, allocations: 0.68 MB / 3.75 GB, free: 74.18 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004365/8.154, allocations: 2.706 MB / 3.753 GB, free: 73.48 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001062/8.155, allocations: 1.397 MB / 3.754 GB, free: 72.76 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002488/8.157, allocations: 0.5535 MB / 3.755 GB, free: 72.75 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003652/8.158, allocations: 98.27 kB / 3.755 GB, free: 72.74 MB / 0.7136 GB Notification: Performance of SimCode: time 3.5e-07/8.158, allocations: 0 / 3.755 GB, free: 72.74 MB / 0.7136 GB Notification: Performance of Templates: time 0.05636/8.214, allocations: 40.31 MB / 3.794 GB, free: 66.57 MB / 0.7136 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)