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.9996/0.9996, allocations: 141.8 MB / 149.3 MB, free: 9.203 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.001001/0.001001, allocations: 184.6 kB / 182.2 MB, free: 9.426 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.37/1.37, allocations: 221.5 MB / 436.4 MB, free: 13.34 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.0008522/0.0008522, allocations: 85.81 kB / 0.5074 GB, free: 10.17 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00259/0.00259, allocations: 282 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 3.113e-05/3.17e-05, allocations: 4 kB / 0.6765 GB, free: 12.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4343/0.4343, allocations: 82.77 MB / 0.7574 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.167/4.602, allocations: 1.89 GB / 2.647 GB, free: 129.2 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002955/4.602, allocations: 92.33 kB / 2.647 GB, free: 129.1 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.722/8.324, allocations: 1.062 GB / 3.709 GB, free: 89.03 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.472e-06/8.324, allocations: 0 / 3.709 GB, free: 89.03 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0002115/8.324, allocations: 48.83 kB / 3.709 GB, free: 89.02 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.006752/8.331, allocations: 2.147 MB / 3.711 GB, free: 88.1 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/8.331, allocations: 7.031 kB / 3.711 GB, free: 88.1 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003847/8.335, allocations: 0.5181 MB / 3.711 GB, free: 87.99 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003123/8.338, allocations: 1.249 MB / 3.713 GB, free: 87.61 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.006e-05/8.338, allocations: 40 kB / 3.713 GB, free: 87.61 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000393/8.339, allocations: 81.28 kB / 3.713 GB, free: 87.61 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002563/8.341, allocations: 1.202 MB / 3.714 GB, free: 87.61 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002773/8.344, allocations: 1.419 MB / 3.715 GB, free: 87.39 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.781e-05/8.344, allocations: 10.19 kB / 3.715 GB, free: 87.38 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000153/8.344, allocations: 6.688 kB / 3.715 GB, free: 87.38 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.126e-05/8.344, allocations: 58.88 kB / 3.715 GB, free: 87.38 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.008881/8.353, allocations: 7.039 MB / 3.722 GB, free: 83.9 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001619/8.355, allocations: 1.217 MB / 3.723 GB, free: 83.59 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007252/8.355, allocations: 0.5701 MB / 3.724 GB, free: 83.57 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007157/8.356, allocations: 0.8706 MB / 3.725 GB, free: 82.63 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008636/8.357, allocations: 0.5875 MB / 3.725 GB, free: 82.57 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=110): time 4.168e-06/8.357, allocations: 0 / 3.725 GB, free: 82.57 MB / 0.7136 GB Notification: Performance of matching and sorting (n=110): time 0.002447/8.36, allocations: 1.143 MB / 3.727 GB, free: 82.44 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.434e-05/8.36, allocations: 92.34 kB / 3.727 GB, free: 82.34 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001245/8.361, allocations: 0.8114 MB / 3.727 GB, free: 82.19 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001183/8.361, allocations: 32.23 kB / 3.727 GB, free: 82.16 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005617/8.362, allocations: 0.685 MB / 3.728 GB, free: 81.89 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003596/8.362, allocations: 368.5 kB / 3.728 GB, free: 81.65 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.753e-05/8.362, allocations: 0 / 3.728 GB, free: 81.65 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.915e-05/8.362, allocations: 343 kB / 3.729 GB, free: 81.34 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005235/8.363, allocations: 413.1 kB / 3.729 GB, free: 81.34 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006686/8.363, allocations: 0.5806 MB / 3.73 GB, free: 81.17 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009385/8.364, allocations: 0.5041 MB / 3.73 GB, free: 81.16 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/8.364, allocations: 0 / 3.73 GB, free: 81.16 MB / 0.7136 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001929/8.366, allocations: 1.178 MB / 3.731 GB, free: 81.03 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002062/8.366, allocations: 0.9779 MB / 3.732 GB, free: 80.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/8.366, allocations: 1.328 kB / 3.732 GB, free: 80.03 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.109e-05/8.366, allocations: 9.344 kB / 3.732 GB, free: 80.03 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001026/8.367, allocations: 227.5 kB / 3.733 GB, free: 80.03 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.465e-05/8.368, allocations: 14.23 kB / 3.733 GB, free: 80.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001575/8.369, allocations: 136.3 kB / 3.733 GB, free: 79.98 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001222/8.369, allocations: 41.94 kB / 3.733 GB, free: 79.98 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/8.369, allocations: 3.469 kB / 3.733 GB, free: 79.98 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001659/8.371, allocations: 1.016 MB / 3.734 GB, free: 79.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/8.371, allocations: 5.125 kB / 3.734 GB, free: 79.95 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/8.371, allocations: 5.406 kB / 3.734 GB, free: 79.95 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009144/8.372, allocations: 230.6 kB / 3.734 GB, free: 79.95 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.43e-05/8.372, allocations: 3.906 kB / 3.734 GB, free: 79.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001473/8.373, allocations: 133.8 kB / 3.734 GB, free: 79.92 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.603e-05/8.373, allocations: 37.95 kB / 3.734 GB, free: 79.92 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.0002763/8.374, allocations: 125.4 kB / 3.734 GB, free: 79.81 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002838/8.374, allocations: 136.8 kB / 3.734 GB, free: 79.74 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002108/8.376, allocations: 1.211 MB / 3.736 GB, free: 79.64 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/8.376, allocations: 11.78 kB / 3.736 GB, free: 79.64 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/8.376, allocations: 0 / 3.736 GB, free: 79.64 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001418/8.378, allocations: 1.015 MB / 3.737 GB, free: 79.55 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004805/8.382, allocations: 3.098 MB / 3.74 GB, free: 78.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/8.382, allocations: 3.75 kB / 3.74 GB, free: 78.9 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001173/8.384, allocations: 248.5 kB / 3.74 GB, free: 78.9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.85e-05/8.384, allocations: 7.562 kB / 3.74 GB, free: 78.9 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.557e-05/8.384, allocations: 23.11 kB / 3.74 GB, free: 78.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.284e-06/8.384, allocations: 11.64 kB / 3.74 GB, free: 78.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/8.384, allocations: 5.438 kB / 3.74 GB, free: 78.9 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002624/8.386, allocations: 2.128 MB / 3.742 GB, free: 78.4 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007116/8.387, allocations: 360.6 kB / 3.742 GB, free: 78.22 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002833/8.387, allocations: 9.062 kB / 3.742 GB, free: 78.22 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001282/8.389, allocations: 101.9 kB / 3.742 GB, free: 78.21 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/8.389, allocations: 69.45 kB / 3.743 GB, free: 78.21 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.369e-05/8.389, allocations: 47.02 kB / 3.743 GB, free: 78.21 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0008257/8.39, allocations: 0.6243 MB / 3.743 GB, free: 78.1 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2e-07/8.39, allocations: 0 / 3.743 GB, free: 78.1 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002668/8.392, allocations: 1.005 MB / 3.744 GB, free: 77.95 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.004024/8.396, allocations: 3.122 MB / 3.747 GB, free: 76.8 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002175/8.399, allocations: 1.631 MB / 3.749 GB, free: 76.77 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/8.399, allocations: 3.859 kB / 3.749 GB, free: 76.77 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0006643/8.399, allocations: 0.5481 MB / 3.749 GB, free: 76.75 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003334/8.403, allocations: 0.6818 MB / 3.75 GB, free: 76.73 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004415/8.407, allocations: 2.696 MB / 3.753 GB, free: 75.73 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009074/8.408, allocations: 1.396 MB / 3.754 GB, free: 74.95 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002352/8.41, allocations: 0.5685 MB / 3.755 GB, free: 74.85 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003219/8.411, allocations: 96.53 kB / 3.755 GB, free: 74.84 MB / 0.7136 GB Notification: Performance of SimCode: time 8.01e-07/8.411, allocations: 0 / 3.755 GB, free: 74.84 MB / 0.7136 GB Notification: Performance of Templates: time 0.0533/8.464, allocations: 40.31 MB / 3.794 GB, free: 46.47 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)