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.8796/0.8796, allocations: 143.4 MB / 158.3 MB, free: 5.789 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.001162/0.001162, allocations: 183.5 kB / 191.5 MB, free: 5.758 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.612/1.612, allocations: 223.2 MB / 447.7 MB, free: 6.531 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.0009465/0.0009466, allocations: 92.33 kB / 0.5188 GB, free: 2.887 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001874/0.001874, allocations: 269.6 kB / 0.6005 GB, free: 48.99 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004503/0.0004503, allocations: 15.98 kB / 0.6929 GB, free: 2.32 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4728/0.4733, allocations: 82.77 MB / 0.7737 GB, free: 26.22 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.586/6.06, allocations: 1.89 GB / 2.664 GB, free: 132.4 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002925/6.06, allocations: 91.83 kB / 2.664 GB, free: 132.3 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.502/10.56, allocations: 1.074 GB / 3.738 GB, free: 86.29 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.973e-06/10.56, allocations: 0.9062 kB / 3.738 GB, free: 86.29 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001612/10.56, allocations: 51.31 kB / 3.738 GB, free: 86.27 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.008734/10.57, allocations: 2.421 MB / 3.741 GB, free: 85.06 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.713e-05/10.57, allocations: 13.61 kB / 3.741 GB, free: 85.05 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004185/10.58, allocations: 0.5214 MB / 3.741 GB, free: 84.95 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003483/10.58, allocations: 1.255 MB / 3.742 GB, free: 84.53 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001121/10.58, allocations: 105.7 kB / 3.743 GB, free: 84.52 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002696/10.58, allocations: 139.5 kB / 3.743 GB, free: 84.52 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003212/10.58, allocations: 1.661 MB / 3.744 GB, free: 84.29 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.978e-05/10.58, allocations: 3.906 kB / 3.744 GB, free: 84.29 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000144/10.58, allocations: 55.62 kB / 3.744 GB, free: 84.29 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.315e-05/10.58, allocations: 60.12 kB / 3.744 GB, free: 84.28 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002645/10.59, allocations: 1.408 MB / 3.746 GB, free: 84.25 MB / 0.7136 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.01019/10.6, allocations: 7.162 MB / 3.753 GB, free: 80.65 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001679/10.6, allocations: 1.184 MB / 3.754 GB, free: 80.36 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007465/10.6, allocations: 0.867 MB / 3.755 GB, free: 79.42 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009476/10.6, allocations: 0.6072 MB / 3.755 GB, free: 79.17 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=110): time 4.228e-06/10.6, allocations: 0 / 3.755 GB, free: 79.17 MB / 0.7136 GB Notification: Performance of matching and sorting (n=110): time 0.003255/10.6, allocations: 1.576 MB / 3.757 GB, free: 78.55 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.917e-05/10.6, allocations: 85.98 kB / 3.757 GB, free: 78.46 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001553/10.6, allocations: 1.033 MB / 3.758 GB, free: 78.07 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001244/10.6, allocations: 53.61 kB / 3.758 GB, free: 78.02 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006254/10.61, allocations: 0.6779 MB / 3.759 GB, free: 77.49 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003447/10.61, allocations: 380.9 kB / 3.759 GB, free: 77.2 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.201e-05/10.61, allocations: 23.88 kB / 3.759 GB, free: 77.18 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.138e-05/10.61, allocations: 343.1 kB / 3.759 GB, free: 76.86 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006597/10.61, allocations: 422.4 kB / 3.76 GB, free: 76.71 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007967/10.61, allocations: 0.5978 MB / 3.76 GB, free: 76.36 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007855/10.61, allocations: 498.4 kB / 3.761 GB, free: 76.14 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/10.61, allocations: 2.781 kB / 3.761 GB, free: 76.14 MB / 0.7136 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002096/10.61, allocations: 1.223 MB / 3.762 GB, free: 75.58 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002256/10.61, allocations: 0.9844 MB / 3.763 GB, free: 74.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/10.61, allocations: 0 / 3.763 GB, free: 74.55 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.802e-05/10.61, allocations: 11.83 kB / 3.763 GB, free: 74.55 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009795/10.61, allocations: 222.3 kB / 3.763 GB, free: 74.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.544e-05/10.61, allocations: 11.92 kB / 3.763 GB, free: 74.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001728/10.61, allocations: 173.8 kB / 3.764 GB, free: 74.41 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-05/10.61, allocations: 45.94 kB / 3.764 GB, free: 74.39 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/10.61, allocations: 3.094 kB / 3.764 GB, free: 74.39 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001528/10.61, allocations: 1.032 MB / 3.765 GB, free: 73.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/10.61, allocations: 11.86 kB / 3.765 GB, free: 73.88 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/10.61, allocations: 12.64 kB / 3.765 GB, free: 73.87 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008775/10.62, allocations: 215.7 kB / 3.765 GB, free: 73.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/10.62, allocations: 5.594 kB / 3.765 GB, free: 73.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001744/10.62, allocations: 162.3 kB / 3.765 GB, free: 73.74 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-05/10.62, allocations: 39.02 kB / 3.765 GB, free: 73.73 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 () * 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.00111/10.62, allocations: 491 kB / 3.765 GB, free: 73.36 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003308/10.62, allocations: 148 kB / 3.766 GB, free: 73.29 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002152/10.62, allocations: 1.246 MB / 3.767 GB, free: 72.59 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/10.62, allocations: 16.52 kB / 3.767 GB, free: 72.59 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/10.62, allocations: 0 / 3.767 GB, free: 72.59 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001463/10.62, allocations: 1.018 MB / 3.768 GB, free: 71.62 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005294/10.63, allocations: 3.189 MB / 3.771 GB, free: 68.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/10.63, allocations: 4 kB / 3.771 GB, free: 68.35 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001159/10.63, allocations: 243.7 kB / 3.771 GB, free: 68.11 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.294e-05/10.63, allocations: 5.75 kB / 3.771 GB, free: 68.11 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.267e-05/10.63, allocations: 28 kB / 3.771 GB, free: 68.08 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.046e-05/10.63, allocations: 11.98 kB / 3.771 GB, free: 68.07 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/10.63, allocations: 7.938 kB / 3.771 GB, free: 68.06 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002874/10.63, allocations: 2.146 MB / 3.773 GB, free: 65.84 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001008/10.63, allocations: 370.9 kB / 3.774 GB, free: 65.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001976/10.63, allocations: 33.06 kB / 3.774 GB, free: 65.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001193/10.63, allocations: 113.4 kB / 3.774 GB, free: 65.33 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001421/10.63, allocations: 64.91 kB / 3.774 GB, free: 65.27 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.698e-05/10.63, allocations: 39.98 kB / 3.774 GB, free: 65.23 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001202/10.64, allocations: 0.8135 MB / 3.775 GB, free: 64.41 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/10.64, allocations: 0 / 3.775 GB, free: 64.41 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003556/10.64, allocations: 1.095 MB / 3.776 GB, free: 63.31 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) * Number of clocked states: 0 () * 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.005882/10.65, allocations: 2.919 MB / 3.779 GB, free: 60.94 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003263/10.65, allocations: 1.616 MB / 3.78 GB, free: 59.32 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.888e-06/10.65, allocations: 0 / 3.78 GB, free: 59.32 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0008594/10.65, allocations: 0.564 MB / 3.781 GB, free: 58.76 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004176/10.65, allocations: 0.8139 MB / 3.782 GB, free: 57.97 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005553/10.66, allocations: 3.994 MB / 3.785 GB, free: 53.95 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007721/10.66, allocations: 1.396 MB / 3.787 GB, free: 52.53 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002185/10.66, allocations: 462.8 kB / 3.787 GB, free: 52.09 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003798/10.66, allocations: 119.4 kB / 3.787 GB, free: 51.98 MB / 0.7136 GB Notification: Performance of SimCode: time 1.433e-06/10.66, allocations: 0 / 3.787 GB, free: 51.98 MB / 0.7136 GB Notification: Performance of Templates: time 0.07992/10.74, allocations: 56.46 MB / 3.843 GB, free: 12.28 MB / 0.7292 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)