Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.583/1.583, allocations: 288.2 MB / 303.2 MB, free: 8.133 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.001022/0.001022, allocations: 175.4 kB / 371.8 MB, free: 10.29 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.284/1.284, allocations: 205.4 MB / 0.6305 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007534/0.0007537, allocations: 89.16 kB / 0.7439 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006189/0.000619, allocations: 11.69 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.2423, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.5368/0.7792, allocations: 167 MB / 1.143 GB, free: 14.82 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01155/0.7908, allocations: 7.289 MB / 1.15 GB, free: 9.777 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001643/0.7925, allocations: 31.22 kB / 1.15 GB, free: 9.762 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.00194/0.7944, allocations: 0.6325 MB / 1.15 GB, free: 9.227 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.006073/0.8005, allocations: 2.031 MB / 1.152 GB, free: 7.578 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002893/0.8034, allocations: 0.9975 MB / 1.153 GB, free: 6.863 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002684/0.8061, allocations: 1.659 MB / 1.155 GB, free: 5.809 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009324/0.807, allocations: 0.6826 MB / 1.156 GB, free: 5.398 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00128/0.8083, allocations: 0.8017 MB / 1.156 GB, free: 4.926 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007723/0.8091, allocations: 0.5933 MB / 1.157 GB, free: 4.59 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001088/0.8092, allocations: 52.25 kB / 1.157 GB, free: 4.586 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002221/0.8115, allocations: 0.899 MB / 1.158 GB, free: 4.207 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003232/0.8118, allocations: 348.7 kB / 1.158 GB, free: 3.996 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002799/0.8121, allocations: 259.5 kB / 1.158 GB, free: 3.863 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001653/0.8138, allocations: 1.467 MB / 1.16 GB, free: 2.902 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.8138, allocations: 0 / 1.16 GB, free: 2.902 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.376e-06/0.8138, allocations: 0 / 1.16 GB, free: 2.902 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.425e-05/0.8138, allocations: 5.406 kB / 1.16 GB, free: 2.898 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.002732/0.8165, allocations: 1.377 MB / 1.161 GB, free: 1.859 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.8166, allocations: 13.48 kB / 1.161 GB, free: 1.855 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001609/0.8167, allocations: 134 kB / 1.161 GB, free: 1.746 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002338/0.8191, allocations: 384.6 kB / 1.162 GB, free: 1.57 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001355/0.8205, allocations: 0.7661 MB / 1.163 GB, free: 0.9688 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.901e-05/0.8205, allocations: 67.84 kB / 1.163 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001286/0.8207, allocations: 90.58 kB / 1.163 GB, free: 0.9023 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001662/0.8223, allocations: 1.033 MB / 1.164 GB, free: 264 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.666e-05/0.8224, allocations: 9.219 kB / 1.164 GB, free: 256 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-05/0.8225, allocations: 32.5 kB / 1.164 GB, free: 232 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.106e-05/0.8225, allocations: 46.61 kB / 1.164 GB, free: 220 kB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001512/0.824, allocations: 0.8763 MB / 1.165 GB, free: 15.77 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.004876/0.8289, allocations: 4.273 MB / 1.169 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001101/0.83, allocations: 0.7025 MB / 1.169 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005796/0.8306, allocations: 0.6788 MB / 1.17 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.303e-05/0.8307, allocations: 39.16 kB / 1.17 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=70): time 2.404e-06/0.8307, allocations: 0 / 1.17 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of matching and sorting (n=70): time 0.001823/0.8325, allocations: 0.9943 MB / 1.171 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.8326, allocations: 63.38 kB / 1.171 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000666/0.8332, allocations: 0.6236 MB / 1.172 GB, free: 9.832 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.73e-05/0.8333, allocations: 36.67 kB / 1.172 GB, free: 9.793 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002546/0.8336, allocations: 434 kB / 1.172 GB, free: 9.414 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001911/0.8338, allocations: 245.2 kB / 1.172 GB, free: 9.199 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.381e-05/0.8338, allocations: 16.84 kB / 1.173 GB, free: 9.188 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.834, allocations: 382.7 kB / 1.173 GB, free: 8.82 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004266/0.8344, allocations: 275.5 kB / 1.173 GB, free: 8.68 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004707/0.8349, allocations: 363.9 kB / 1.173 GB, free: 8.449 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004845/0.8354, allocations: 329.6 kB / 1.174 GB, free: 8.281 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.8354, allocations: 3.953 kB / 1.174 GB, free: 8.277 MB / 0.7136 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00115/0.8365, allocations: 0.7829 MB / 1.175 GB, free: 7.879 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.8366, allocations: 9.156 kB / 1.175 GB, free: 7.875 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.8366, allocations: 6.484 kB / 1.175 GB, free: 7.871 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.8366, allocations: 2.5 kB / 1.175 GB, free: 7.871 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006269/0.8372, allocations: 143.9 kB / 1.175 GB, free: 7.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/0.8373, allocations: 17 kB / 1.175 GB, free: 7.828 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009422/0.8382, allocations: 97.83 kB / 1.175 GB, free: 7.773 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.329e-05/0.8383, allocations: 25.77 kB / 1.175 GB, free: 7.766 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 82 * 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.0003779/0.8386, allocations: 283.9 kB / 1.175 GB, free: 7.547 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001261/0.8388, allocations: 84.23 kB / 1.175 GB, free: 7.504 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001287/0.8401, allocations: 0.7887 MB / 1.176 GB, free: 7.047 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.8401, allocations: 7.375 kB / 1.176 GB, free: 7.047 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.8401, allocations: 4 kB / 1.176 GB, free: 7.043 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001004/0.8411, allocations: 0.814 MB / 1.177 GB, free: 6.496 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001181/0.8423, allocations: 0.9737 MB / 1.178 GB, free: 5.758 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.8423, allocations: 0 / 1.178 GB, free: 5.758 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007844/0.8431, allocations: 171 kB / 1.178 GB, free: 5.723 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.299e-06/0.8431, allocations: 5.906 kB / 1.178 GB, free: 5.719 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.757e-05/0.8432, allocations: 17.69 kB / 1.178 GB, free: 5.707 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.8432, allocations: 6.844 kB / 1.178 GB, free: 5.703 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.8432, allocations: 0.7031 kB / 1.178 GB, free: 5.703 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00164/0.8448, allocations: 1.26 MB / 1.179 GB, free: 4.996 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004607/0.8453, allocations: 251.3 kB / 1.179 GB, free: 4.781 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001117/0.8454, allocations: 18.7 kB / 1.179 GB, free: 4.766 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007219/0.8462, allocations: 82.19 kB / 1.179 GB, free: 4.723 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.638e-05/0.8463, allocations: 40.94 kB / 1.18 GB, free: 4.703 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.504e-05/0.8463, allocations: 23.8 kB / 1.18 GB, free: 4.695 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0004895/0.8468, allocations: 443.3 kB / 1.18 GB, free: 4.438 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8468, allocations: 0 / 1.18 GB, free: 4.438 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008645/0.8477, allocations: 340.7 kB / 1.18 GB, free: 4.367 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volA.dynBal.U,volA.dynBal.m,volA.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.U,volOut.dynBal.m,volOut.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 70 * 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 Backend phase and start with SimCode phase: time 0.00217/0.8499, allocations: 1.916 MB / 1.182 GB, free: 3.051 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001049/0.8509, allocations: 0.6702 MB / 1.183 GB, free: 2.75 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.8509, allocations: 0 / 1.183 GB, free: 2.75 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005006/0.8515, allocations: 372.3 kB / 1.183 GB, free: 2.582 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002177/0.8536, allocations: 0.5166 MB / 1.184 GB, free: 2.324 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00811/0.8618, allocations: 6.585 MB / 1.19 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005779/0.8624, allocations: 1.105 MB / 1.191 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0009769/0.8634, allocations: 225.2 kB / 1.191 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004717/0.8638, allocations: 357.3 kB / 1.192 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of SimCode: time 1.803e-06/0.8638, allocations: 0 / 1.192 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04142/0.9053, allocations: 24.99 MB / 1.216 GB, free: 5.277 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002987/0.9056, allocations: 201 kB / 1.216 GB, free: 5.027 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.609/3.515, allocations: 0 / 1.216 GB, free: 5.027 MB / 0.7448 GB (rm -f Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_NaturalVentilation_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_NaturalVentilation.fmu > Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)