Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.45/1.45, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001047/0.001048, allocations: 179.9 kB / 326.5 MB, free: 2.203 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.583/1.583, allocations: 205.4 MB / 0.5775 GB, free: 20.19 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008451/0.0008453, allocations: 90.36 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000328/0.000328, allocations: 10.72 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2038/0.2041, allocations: 106.3 MB / 0.9001 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume): time 0.1495/0.3537, allocations: 141.6 MB / 1.038 GB, free: 1.82 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.01189/0.3656, allocations: 7.529 MB / 1.046 GB, free: 10.28 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001773/0.3674, allocations: 35.75 kB / 1.046 GB, free: 10.24 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001988/0.3695, allocations: 0.5949 MB / 1.046 GB, free: 9.645 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.004521/0.374, allocations: 1.453 MB / 1.048 GB, free: 8.188 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003792/0.3778, allocations: 1.249 MB / 1.049 GB, free: 6.953 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.00306/0.3809, allocations: 1.621 MB / 1.051 GB, free: 5.328 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001167/0.3821, allocations: 0.7283 MB / 1.051 GB, free: 4.586 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001415/0.3835, allocations: 0.7512 MB / 1.052 GB, free: 3.832 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009754/0.3845, allocations: 0.6809 MB / 1.053 GB, free: 3.148 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001221/0.3846, allocations: 44 kB / 1.053 GB, free: 3.105 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002078/0.3867, allocations: 0.8699 MB / 1.054 GB, free: 2.234 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000235/0.387, allocations: 215.1 kB / 1.054 GB, free: 2.023 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003819/0.3874, allocations: 237.1 kB / 1.054 GB, free: 1.785 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001613/0.389, allocations: 1.212 MB / 1.055 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.389, allocations: 0 / 1.055 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.973e-06/0.389, allocations: 0 / 1.055 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.583e-05/0.389, allocations: 0 / 1.055 GB, free: 0.5703 MB / 0.698 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.4331/0.8221, allocations: 1.368 MB / 1.057 GB, free: 155.6 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/0.8222, allocations: 8.969 kB / 1.057 GB, free: 155.6 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001979/0.8224, allocations: 127.1 kB / 1.057 GB, free: 155.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002997/0.8227, allocations: 135.2 kB / 1.057 GB, free: 155.5 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001429/0.8242, allocations: 0.7909 MB / 1.058 GB, free: 155.1 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.123e-05/0.8242, allocations: 61.84 kB / 1.058 GB, free: 155.1 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/0.8243, allocations: 78.75 kB / 1.058 GB, free: 155.1 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001302/0.8256, allocations: 0.8596 MB / 1.059 GB, free: 155 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.602e-05/0.8257, allocations: 0 / 1.059 GB, free: 155 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.53e-05/0.8258, allocations: 41.2 kB / 1.059 GB, free: 155 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.926e-05/0.8258, allocations: 18.81 kB / 1.059 GB, free: 155 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001104/0.8269, allocations: 0.6355 MB / 1.059 GB, free: 155 MB / 0.698 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.004507/0.8314, allocations: 3.985 MB / 1.063 GB, free: 152.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001112/0.8325, allocations: 0.5815 MB / 1.064 GB, free: 152.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007265/0.8333, allocations: 1.24 MB / 1.065 GB, free: 151.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000583/0.8339, allocations: 325 kB / 1.065 GB, free: 151.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=63): time 3.246e-06/0.8339, allocations: 0 / 1.065 GB, free: 151.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=63): time 0.002311/0.8362, allocations: 1.153 MB / 1.066 GB, free: 151 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.157e-05/0.8363, allocations: 84.27 kB / 1.066 GB, free: 150.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/0.8373, allocations: 0.8786 MB / 1.067 GB, free: 150.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.754e-05/0.8373, allocations: 36.86 kB / 1.067 GB, free: 150.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003394/0.8377, allocations: 472.9 kB / 1.068 GB, free: 150.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001564/0.8378, allocations: 209.8 kB / 1.068 GB, free: 150.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.952e-05/0.8379, allocations: 17.91 kB / 1.068 GB, free: 150.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.412e-05/0.838, allocations: 326.8 kB / 1.068 GB, free: 150.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004348/0.8384, allocations: 210.6 kB / 1.069 GB, free: 150.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004991/0.8389, allocations: 316.7 kB / 1.069 GB, free: 150 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005073/0.8394, allocations: 239.2 kB / 1.069 GB, free: 150 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.8394, allocations: 4.281 kB / 1.069 GB, free: 150 MB / 0.698 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001398/0.8408, allocations: 0.7121 MB / 1.07 GB, free: 149.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001696/0.841, allocations: 0.8769 MB / 1.071 GB, free: 149 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.841, allocations: 2.656 kB / 1.071 GB, free: 149 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005876/0.8416, allocations: 102.7 kB / 1.071 GB, free: 148.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004983/0.8421, allocations: 126.3 kB / 1.071 GB, free: 148.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004897/0.8426, allocations: 0.6566 MB / 1.071 GB, free: 148.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006846/0.8433, allocations: 100.5 kB / 1.072 GB, free: 148.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.498e-05/0.8434, allocations: 24.59 kB / 1.072 GB, free: 148.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.618e-06/0.8434, allocations: 4.531 kB / 1.072 GB, free: 148.4 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001118/0.8446, allocations: 0.5735 MB / 1.072 GB, free: 148.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.8446, allocations: 3.156 kB / 1.072 GB, free: 148.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004386/0.845, allocations: 108.3 kB / 1.072 GB, free: 148.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004364/0.8455, allocations: 113.4 kB / 1.072 GB, free: 148.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004687/0.8459, allocations: 0.6654 MB / 1.073 GB, free: 147.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005799/0.8465, allocations: 92.23 kB / 1.073 GB, free: 147.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.315e-05/0.8466, allocations: 27.22 kB / 1.073 GB, free: 147.8 MB / 0.698 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.0004505/0.8471, allocations: 329 kB / 1.073 GB, free: 147.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001695/0.8472, allocations: 99.27 kB / 1.074 GB, free: 147.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001926/0.8492, allocations: 0.9486 MB / 1.074 GB, free: 147.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.141e-05/0.8492, allocations: 8.328 kB / 1.074 GB, free: 147.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.8492, allocations: 5.5 kB / 1.074 GB, free: 147.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001386/0.8506, allocations: 0.8548 MB / 1.075 GB, free: 147.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003376/0.854, allocations: 1.87 MB / 1.077 GB, free: 146.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/0.854, allocations: 1.312 kB / 1.077 GB, free: 146.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004534/0.8545, allocations: 102.6 kB / 1.077 GB, free: 146.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006311/0.8551, allocations: 165.7 kB / 1.077 GB, free: 146.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.969e-05/0.8552, allocations: 21.12 kB / 1.077 GB, free: 146.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000733/0.856, allocations: 1.244 MB / 1.079 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.856, allocations: 1.281 kB / 1.079 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002107/0.8581, allocations: 1.311 MB / 1.08 GB, free: 145 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004992/0.8586, allocations: 274.3 kB / 1.08 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001262/0.8587, allocations: 24.97 kB / 1.08 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005505/0.8593, allocations: 57.81 kB / 1.08 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/0.8594, allocations: 58.16 kB / 1.08 GB, free: 144.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.541e-05/0.8595, allocations: 25.3 kB / 1.08 GB, free: 144.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008212/0.8603, allocations: 0.613 MB / 1.081 GB, free: 144.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.11e-07/0.8603, allocations: 0 / 1.081 GB, free: 144.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001453/0.8618, allocations: 0.5597 MB / 1.081 GB, free: 144.4 MB / 0.698 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 (62): * Single equations (assignments): 54 * 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.003669/0.8654, allocations: 2.592 MB / 1.084 GB, free: 142.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001996/0.8675, allocations: 0.9208 MB / 1.085 GB, free: 142.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.8675, allocations: 1.312 kB / 1.085 GB, free: 142.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007263/0.8682, allocations: 399.6 kB / 1.085 GB, free: 142.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001998/0.8702, allocations: 422.7 kB / 1.086 GB, free: 142.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009765/0.88, allocations: 7.377 MB / 1.093 GB, free: 137.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000424/0.8805, allocations: 1.091 MB / 1.094 GB, free: 136.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000936/0.8814, allocations: 216.4 kB / 1.094 GB, free: 136.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004206/0.8818, allocations: 410.1 kB / 1.095 GB, free: 135.9 MB / 0.698 GB Notification: Performance of SimCode: time 1.062e-06/0.8819, allocations: 0 / 1.095 GB, free: 135.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04403/0.9259, allocations: 29.07 MB / 1.123 GB, free: 107.4 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001643/0.9261, allocations: 272.7 kB / 1.123 GB, free: 107 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.802/3.728, allocations: 0 / 1.123 GB, free: 107 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume.fmu > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe 2>&1)