Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.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.NaturalVentilation,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.236/1.236, allocations: 251.5 MB / 266.7 MB, free: 11.04 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.0008376/0.0008376, allocations: 174.1 kB / 325.8 MB, free: 2.691 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.346/1.346, allocations: 205 MB / 0.576 GB, free: 20.91 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.0006763/0.0006762, allocations: 96.17 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002625/0.0002627, allocations: 9.188 kB / 0.7932 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1385, allocations: 105.4 MB / 0.8962 GB, free: 68.1 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.4757/0.6142, allocations: 199.6 MB / 1.091 GB, free: 1.453 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.007938/0.6222, allocations: 7.465 MB / 1.098 GB, free: 1.309 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007664/0.623, allocations: 34.03 kB / 1.098 GB, free: 1.305 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001352/0.6243, allocations: 0.6081 MB / 1.099 GB, free: 1.289 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.004157/0.6285, allocations: 2.238 MB / 1.101 GB, free: 1.172 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002387/0.6309, allocations: 1.188 MB / 1.102 GB, free: 1.137 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003008/0.6339, allocations: 4.283 MB / 1.107 GB, free: 1.129 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007605/0.6347, allocations: 0.8083 MB / 1.107 GB, free: 0.9922 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009951/0.6357, allocations: 0.9098 MB / 1.108 GB, free: 0.9922 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001449/0.6371, allocations: 0.9838 MB / 1.109 GB, free: 0.9805 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001123/0.6373, allocations: 47.09 kB / 1.109 GB, free: 0.9805 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003269/0.6405, allocations: 2.481 MB / 1.112 GB, free: 0.957 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003076/0.6409, allocations: 399.3 kB / 1.112 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005015/0.6414, allocations: 0.6071 MB / 1.113 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002261/0.6436, allocations: 2.517 MB / 1.115 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.6436, allocations: 0 / 1.115 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.383e-06/0.6437, allocations: 0 / 1.115 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.285e-05/0.6437, allocations: 0 / 1.115 GB, free: 0.8125 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: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.002311/0.646, allocations: 1.412 MB / 1.116 GB, free: 16.01 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.646, allocations: 8.25 kB / 1.116 GB, free: 16.01 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001343/0.6462, allocations: 142.1 kB / 1.117 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001996/0.6482, allocations: 375.8 kB / 1.117 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000938/0.6491, allocations: 0.8067 MB / 1.118 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.838e-05/0.6492, allocations: 74.5 kB / 1.118 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.85e-05/0.6493, allocations: 83.84 kB / 1.118 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001296/0.6506, allocations: 1.063 MB / 1.119 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.331e-05/0.6506, allocations: 0 / 1.119 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.381e-05/0.6507, allocations: 39.72 kB / 1.119 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.302e-05/0.6507, allocations: 52.3 kB / 1.119 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001195/0.6519, allocations: 0.8812 MB / 1.12 GB, free: 15.42 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.003666/0.6556, allocations: 4.307 MB / 1.124 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008523/0.6565, allocations: 0.6928 MB / 1.125 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006257/0.6571, allocations: 448.6 kB / 1.125 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005304/0.6577, allocations: 0.6764 MB / 1.126 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.6577, allocations: 39.25 kB / 1.126 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=70): time 2.234e-06/0.6577, allocations: 0 / 1.126 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of matching and sorting (n=70): time 0.001643/0.6594, allocations: 0.9867 MB / 1.127 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.401e-05/0.6594, allocations: 63.34 kB / 1.127 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007345/0.6601, allocations: 0.6375 MB / 1.128 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.594e-05/0.6602, allocations: 41.14 kB / 1.128 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002622/0.6605, allocations: 438.6 kB / 1.128 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001881/0.6607, allocations: 244.7 kB / 1.128 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.366e-05/0.6608, allocations: 61.95 kB / 1.128 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.6609, allocations: 388.4 kB / 1.129 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004748/0.6614, allocations: 266.5 kB / 1.129 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005341/0.6619, allocations: 373.3 kB / 1.129 GB, free: 11 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009201/0.6629, allocations: 0.6553 MB / 1.13 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.6629, allocations: 2.906 kB / 1.13 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001045/0.6639, allocations: 0.7868 MB / 1.131 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.6639, allocations: 13.03 kB / 1.131 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.664, allocations: 3.938 kB / 1.131 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.664, allocations: 5.156 kB / 1.131 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005432/0.6645, allocations: 137.9 kB / 1.131 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.6645, allocations: 6.125 kB / 1.131 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008417/0.6654, allocations: 107.7 kB / 1.131 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.192e-05/0.6654, allocations: 24.28 kB / 1.131 GB, free: 10.79 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003518/0.6658, allocations: 290.5 kB / 1.131 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001349/0.6659, allocations: 96.36 kB / 1.131 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001086/0.667, allocations: 0.7831 MB / 1.132 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/0.667, allocations: 6.25 kB / 1.132 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.6671, allocations: 0.8438 kB / 1.132 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008541/0.6679, allocations: 0.8122 MB / 1.133 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002262/0.6702, allocations: 1.852 MB / 1.135 GB, free: 9.961 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.6702, allocations: 0.5156 kB / 1.135 GB, free: 9.961 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007221/0.6709, allocations: 175.7 kB / 1.135 GB, free: 9.957 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.6709, allocations: 5.391 kB / 1.135 GB, free: 9.957 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.089e-05/0.671, allocations: 17.22 kB / 1.135 GB, free: 9.957 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.671, allocations: 3.531 kB / 1.135 GB, free: 9.957 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.671, allocations: 0 / 1.135 GB, free: 9.957 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001585/0.6726, allocations: 1.269 MB / 1.136 GB, free: 9.762 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003242/0.6729, allocations: 256.8 kB / 1.136 GB, free: 9.613 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001163/0.6731, allocations: 12.97 kB / 1.136 GB, free: 9.613 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006977/0.6738, allocations: 78.09 kB / 1.136 GB, free: 9.609 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.609e-05/0.6739, allocations: 45.98 kB / 1.137 GB, free: 9.605 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.336e-05/0.6739, allocations: 31.62 kB / 1.137 GB, free: 9.602 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0004382/0.6744, allocations: 457.8 kB / 1.137 GB, free: 9.508 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6744, allocations: 3.469 kB / 1.137 GB, free: 9.508 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0006929/0.6751, allocations: 343.8 kB / 1.137 GB, free: 9.457 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001818/0.6769, allocations: 1.906 MB / 1.139 GB, free: 8.715 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0008773/0.6778, allocations: 0.6719 MB / 1.14 GB, free: 8.703 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.6778, allocations: 4.062 kB / 1.14 GB, free: 8.699 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004128/0.6782, allocations: 369.2 kB / 1.14 GB, free: 8.695 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001977/0.6802, allocations: 0.521 MB / 1.141 GB, free: 8.648 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008505/0.6887, allocations: 7.499 MB / 1.148 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005623/0.6893, allocations: 1.094 MB / 1.149 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0008432/0.6901, allocations: 223.9 kB / 1.149 GB, free: 3.438 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004481/0.6906, allocations: 357.1 kB / 1.15 GB, free: 3.148 MB / 0.7136 GB Notification: Performance of SimCode: time 3.8e-07/0.6906, allocations: 0 / 1.15 GB, free: 3.148 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1705/0.8611, allocations: 24.16 MB / 1.173 GB, free: 24 kB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000209/0.8613, allocations: 209.8 kB / 1.173 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.492/3.354, allocations: 4 kB / 1.173 GB, free: 15.77 MB / 0.7448 GB (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_NaturalVentilation_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_NaturalVentilation.fmu > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)