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.469/1.469, allocations: 288.4 MB / 303.6 MB, free: 8.043 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.0009728/0.0009728, allocations: 187 kB / 372.2 MB, free: 10.14 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.213/1.213, allocations: 205.4 MB / 0.631 GB, free: 9.93 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.0006846/0.0006846, allocations: 90.38 kB / 0.7444 GB, free: 5.828 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003316/0.0003317, allocations: 15.08 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.166, allocations: 115.3 MB / 0.9802 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.5026/0.6686, allocations: 183.8 MB / 1.16 GB, free: 3.68 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.009516/0.6781, allocations: 6.865 MB / 1.166 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001258/0.6794, allocations: 28.66 kB / 1.166 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001483/0.6809, allocations: 0.5453 MB / 1.167 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.005367/0.6863, allocations: 2.059 MB / 1.169 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.003084/0.6894, allocations: 0.9887 MB / 1.17 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.00457/0.694, allocations: 3.472 MB / 1.173 GB, free: 9.34 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001255/0.6953, allocations: 0.7669 MB / 1.174 GB, free: 8.879 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001872/0.6972, allocations: 0.8632 MB / 1.175 GB, free: 8.449 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001861/0.6991, allocations: 0.9292 MB / 1.176 GB, free: 7.941 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0001441/0.6992, allocations: 47.78 kB / 1.176 GB, free: 7.941 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004721/0.7039, allocations: 2.44 MB / 1.178 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0005813/0.7046, allocations: 382.4 kB / 1.179 GB, free: 6.324 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.001139/0.7057, allocations: 0.592 MB / 1.179 GB, free: 5.965 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.002546/0.7083, allocations: 1.744 MB / 1.181 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.7083, allocations: 7.938 kB / 1.181 GB, free: 4.875 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.528e-06/0.7083, allocations: 0 / 1.181 GB, free: 4.875 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.568e-05/0.7084, allocations: 3.938 kB / 1.181 GB, free: 4.871 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.00328/0.7116, allocations: 1.399 MB / 1.182 GB, free: 3.812 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.7117, allocations: 7.938 kB / 1.182 GB, free: 3.812 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002467/0.7119, allocations: 133.9 kB / 1.182 GB, free: 3.703 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002297/0.7143, allocations: 375.1 kB / 1.183 GB, free: 3.535 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001505/0.7158, allocations: 0.8114 MB / 1.184 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.395e-05/0.7158, allocations: 68.16 kB / 1.184 GB, free: 2.855 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001616/0.716, allocations: 87.14 kB / 1.184 GB, free: 2.824 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001815/0.7178, allocations: 1.037 MB / 1.185 GB, free: 2.184 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.061e-05/0.7179, allocations: 6.219 kB / 1.185 GB, free: 2.18 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-05/0.718, allocations: 40.7 kB / 1.185 GB, free: 2.148 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.489e-05/0.718, allocations: 41.92 kB / 1.185 GB, free: 2.141 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0015/0.7195, allocations: 0.8759 MB / 1.186 GB, free: 1.703 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.004988/0.7245, allocations: 4.281 MB / 1.19 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/0.7256, allocations: 0.6901 MB / 1.191 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006586/0.7262, allocations: 448 kB / 1.191 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005478/0.7268, allocations: 0.6746 MB / 1.192 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.7268, allocations: 41.55 kB / 1.192 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=70): time 2.515e-06/0.7268, allocations: 5.984 kB / 1.192 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of matching and sorting (n=70): time 0.001699/0.7286, allocations: 0.9891 MB / 1.193 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/0.7286, allocations: 57.09 kB / 1.193 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000627/0.7292, allocations: 0.6206 MB / 1.193 GB, free: 11.56 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.461e-05/0.7293, allocations: 40.73 kB / 1.193 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002599/0.7296, allocations: 432.5 kB / 1.194 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001881/0.7298, allocations: 249.5 kB / 1.194 GB, free: 10.92 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.322e-05/0.7298, allocations: 15.25 kB / 1.194 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.7299, allocations: 394.2 kB / 1.194 GB, free: 10.53 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004003/0.7304, allocations: 275.6 kB / 1.195 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004457/0.7308, allocations: 362.3 kB / 1.195 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008901/0.7317, allocations: 0.6615 MB / 1.196 GB, free: 9.777 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.7317, allocations: 0 / 1.196 GB, free: 9.777 MB / 0.7292 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001108/0.7328, allocations: 0.7859 MB / 1.196 GB, free: 9.375 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.7329, allocations: 4.656 kB / 1.196 GB, free: 9.375 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.7329, allocations: 2.5 kB / 1.196 GB, free: 9.375 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.7329, allocations: 5.125 kB / 1.196 GB, free: 9.375 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005978/0.7335, allocations: 144.2 kB / 1.197 GB, free: 9.344 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/0.7335, allocations: 14.11 kB / 1.197 GB, free: 9.336 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008829/0.7344, allocations: 101.9 kB / 1.197 GB, free: 9.277 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-05/0.7345, allocations: 24.89 kB / 1.197 GB, free: 9.27 MB / 0.7292 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.0003651/0.7348, allocations: 288.8 kB / 1.197 GB, free: 9.047 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001134/0.7349, allocations: 84.31 kB / 1.197 GB, free: 9.004 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00121/0.7362, allocations: 0.7884 MB / 1.198 GB, free: 8.551 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.7362, allocations: 8 kB / 1.198 GB, free: 8.551 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.7362, allocations: 3.938 kB / 1.198 GB, free: 8.547 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009513/0.7372, allocations: 0.8121 MB / 1.199 GB, free: 7.996 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002422/0.7396, allocations: 1.844 MB / 1.2 GB, free: 6.754 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.7396, allocations: 3.75 kB / 1.2 GB, free: 6.754 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007737/0.7404, allocations: 181.7 kB / 1.201 GB, free: 6.707 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.7404, allocations: 2.469 kB / 1.201 GB, free: 6.707 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.52e-05/0.7404, allocations: 17.34 kB / 1.201 GB, free: 6.695 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/0.7405, allocations: 3.062 kB / 1.201 GB, free: 6.695 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.7405, allocations: 0 / 1.201 GB, free: 6.695 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001649/0.7421, allocations: 1.279 MB / 1.202 GB, free: 5.973 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003727/0.7425, allocations: 245.2 kB / 1.202 GB, free: 5.762 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.813e-05/0.7426, allocations: 14.38 kB / 1.202 GB, free: 5.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006974/0.7433, allocations: 75.38 kB / 1.202 GB, free: 5.715 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.7434, allocations: 48.08 kB / 1.202 GB, free: 5.684 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.905e-05/0.7435, allocations: 24.8 kB / 1.202 GB, free: 5.676 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0004556/0.7439, allocations: 446.1 kB / 1.203 GB, free: 5.414 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7439, allocations: 0 / 1.203 GB, free: 5.414 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0007553/0.7447, allocations: 336.1 kB / 1.203 GB, free: 5.348 MB / 0.7292 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.002069/0.7468, allocations: 1.912 MB / 1.205 GB, free: 3.598 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001034/0.7478, allocations: 0.676 MB / 1.206 GB, free: 2.918 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.7478, allocations: 4.062 kB / 1.206 GB, free: 2.914 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004789/0.7483, allocations: 367 kB / 1.206 GB, free: 2.559 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002305/0.7506, allocations: 0.5046 MB / 1.206 GB, free: 2.062 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008044/0.7587, allocations: 5.77 MB / 1.212 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006421/0.7594, allocations: 1.081 MB / 1.213 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0009271/0.7603, allocations: 223.1 kB / 1.213 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004803/0.7608, allocations: 351.3 kB / 1.214 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of SimCode: time 5.51e-07/0.7608, allocations: 0 / 1.214 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.436/1.197, allocations: 25.32 MB / 1.238 GB, free: 1.488 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003021/1.197, allocations: 197.3 kB / 1.239 GB, free: 1.246 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.664/3.861, allocations: 4 kB / 1.239 GB, free: 1.242 MB / 0.7605 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)