Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.828/1.828, allocations: 292.6 MB / 307.5 MB, free: 5.215 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001645/0.001645, allocations: 184 kB / 377.1 MB, free: 1.539 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.911/1.911, allocations: 205.4 MB / 0.6366 GB, free: 8.574 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000982/0.0009819, allocations: 82.67 kB / 0.7509 GB, free: 63.04 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003281/0.0003282, allocations: 12 kB / 0.8748 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2752/0.2755, allocations: 116.3 MB / 0.9884 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.666/1.941, allocations: 449.7 MB / 1.428 GB, free: 273.8 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005554/1.942, allocations: 95.27 kB / 1.428 GB, free: 273.8 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.444/3.386, allocations: 330.4 MB / 1.75 GB, free: 162.8 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.214e-06/3.386, allocations: 4.062 kB / 1.75 GB, free: 162.8 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001176/3.386, allocations: 29.41 kB / 1.75 GB, free: 162.8 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.003632/3.39, allocations: 1.523 MB / 1.752 GB, free: 162.3 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.725e-05/3.39, allocations: 8.531 kB / 1.752 GB, free: 162.3 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001899/3.39, allocations: 129.8 kB / 1.752 GB, free: 162.2 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003365/3.39, allocations: 136.5 kB / 1.752 GB, free: 162.2 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002098/3.393, allocations: 0.9748 MB / 1.753 GB, free: 161.9 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.808e-05/3.393, allocations: 73.98 kB / 1.753 GB, free: 161.9 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001458/3.393, allocations: 79.41 kB / 1.753 GB, free: 161.9 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001702/3.395, allocations: 0.8467 MB / 1.754 GB, free: 161.7 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.092e-05/3.395, allocations: 7.625 kB / 1.754 GB, free: 161.7 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.844e-05/3.395, allocations: 30.53 kB / 1.754 GB, free: 161.7 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.791e-05/3.395, allocations: 23.94 kB / 1.754 GB, free: 161.7 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001387/3.396, allocations: 0.6213 MB / 1.755 GB, free: 161.7 MB / 0.9323 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.005148/3.401, allocations: 3.796 MB / 1.758 GB, free: 159.9 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001061/3.402, allocations: 0.5685 MB / 1.759 GB, free: 159.8 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008474/3.403, allocations: 1.245 MB / 1.76 GB, free: 158.4 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005573/3.404, allocations: 333.3 kB / 1.761 GB, free: 158.4 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=63): time 3.226e-06/3.404, allocations: 0 / 1.761 GB, free: 158.4 MB / 0.9323 GB Notification: Performance of matching and sorting (n=63): time 0.002263/3.406, allocations: 1.134 MB / 1.762 GB, free: 158.1 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.302e-05/3.406, allocations: 90.89 kB / 1.762 GB, free: 158 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008941/3.407, allocations: 0.7779 MB / 1.762 GB, free: 157.8 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 5.125e-05/3.407, allocations: 42.73 kB / 1.763 GB, free: 157.8 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003043/3.407, allocations: 463.9 kB / 1.763 GB, free: 157.7 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001558/3.408, allocations: 214.1 kB / 1.763 GB, free: 157.5 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.866e-05/3.408, allocations: 13.72 kB / 1.763 GB, free: 157.5 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.089e-05/3.408, allocations: 339.9 kB / 1.764 GB, free: 157.2 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003448/3.408, allocations: 203.6 kB / 1.764 GB, free: 157.2 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004035/3.408, allocations: 338.9 kB / 1.764 GB, free: 157.1 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004034/3.409, allocations: 248.1 kB / 1.764 GB, free: 157.1 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/3.409, allocations: 0 / 1.764 GB, free: 157.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001167/3.41, allocations: 0.7129 MB / 1.765 GB, free: 157 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002214/3.41, allocations: 0.8833 MB / 1.766 GB, free: 156.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/3.41, allocations: 3.156 kB / 1.766 GB, free: 156.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005893/3.411, allocations: 108 kB / 1.766 GB, free: 156.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004457/3.411, allocations: 122 kB / 1.766 GB, free: 156.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004734/3.412, allocations: 0.6693 MB / 1.767 GB, free: 155.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000776/3.413, allocations: 105.4 kB / 1.767 GB, free: 155.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-05/3.413, allocations: 34.86 kB / 1.767 GB, free: 155.5 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 9.728e-06/3.413, allocations: 8.906 kB / 1.767 GB, free: 155.5 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009417/3.414, allocations: 0.5694 MB / 1.767 GB, free: 155.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/3.414, allocations: 6.438 kB / 1.767 GB, free: 155.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004148/3.414, allocations: 97.97 kB / 1.768 GB, free: 155.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00044/3.415, allocations: 116.4 kB / 1.768 GB, free: 155.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004215/3.415, allocations: 0.6606 MB / 1.768 GB, free: 155 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006456/3.416, allocations: 95.27 kB / 1.768 GB, free: 155 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.208e-05/3.416, allocations: 29.03 kB / 1.768 GB, free: 155 MB / 0.9323 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0005247/3.416, allocations: 333.6 kB / 1.769 GB, free: 154.8 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001346/3.416, allocations: 97.59 kB / 1.769 GB, free: 154.7 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001688/3.418, allocations: 0.9577 MB / 1.77 GB, free: 154.6 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.697e-05/3.418, allocations: 10.27 kB / 1.77 GB, free: 154.6 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/3.418, allocations: 3.953 kB / 1.77 GB, free: 154.6 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001152/3.419, allocations: 0.8647 MB / 1.771 GB, free: 154.4 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002741/3.422, allocations: 1.895 MB / 1.772 GB, free: 154 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/3.422, allocations: 3.188 kB / 1.772 GB, free: 154 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004446/3.423, allocations: 110 kB / 1.773 GB, free: 154 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005992/3.423, allocations: 160.8 kB / 1.773 GB, free: 154 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.71e-05/3.423, allocations: 19.06 kB / 1.773 GB, free: 154 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007222/3.424, allocations: 1.236 MB / 1.774 GB, free: 152.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/3.424, allocations: 3.25 kB / 1.774 GB, free: 152.9 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00193/3.426, allocations: 1.319 MB / 1.775 GB, free: 152.7 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005678/3.426, allocations: 275.5 kB / 1.775 GB, free: 152.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001241/3.427, allocations: 18.19 kB / 1.775 GB, free: 152.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006135/3.427, allocations: 68.2 kB / 1.776 GB, free: 152.5 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/3.427, allocations: 47.33 kB / 1.776 GB, free: 152.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.482e-05/3.427, allocations: 23.95 kB / 1.776 GB, free: 152.5 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0007847/3.428, allocations: 0.618 MB / 1.776 GB, free: 152.4 MB / 0.9323 GB Notification: Performance of sort global known variables: time 3.2e-07/3.428, allocations: 0 / 1.776 GB, free: 152.4 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002063/3.43, allocations: 0.624 MB / 1.777 GB, free: 152.3 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (roo.dynBal.U,roo.dynBal.m,oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc) * 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 (63): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 9,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.004518/3.435, allocations: 2.828 MB / 1.78 GB, free: 151.3 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001956/3.437, allocations: 0.9292 MB / 1.781 GB, free: 151.3 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/3.437, allocations: 0 / 1.781 GB, free: 151.3 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0006841/3.437, allocations: 388.5 kB / 1.781 GB, free: 151.3 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002005/3.439, allocations: 412.9 kB / 1.781 GB, free: 151.3 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009169/3.449, allocations: 7.437 MB / 1.789 GB, free: 147.9 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005464/3.449, allocations: 1.097 MB / 1.79 GB, free: 147.1 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001035/3.45, allocations: 217.6 kB / 1.79 GB, free: 147.1 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005026/3.451, allocations: 416.1 kB / 1.79 GB, free: 147.1 MB / 0.9323 GB Notification: Performance of SimCode: time 1.002e-06/3.451, allocations: 0 / 1.79 GB, free: 147.1 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0561/3.507, allocations: 32.67 MB / 1.822 GB, free: 146 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001757/3.507, allocations: 245.9 kB / 1.822 GB, free: 145.7 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.566/7.073, allocations: 0 / 1.822 GB, free: 145.7 MB / 0.9323 GB (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume.fmu > Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe 2>&1)