Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.NaturalVentilation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 1.383/1.383, allocations: 287.4 MB / 302.6 MB, free: 8.273 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.0008234/0.0008236, allocations: 192.9 kB / 371.1 MB, free: 10.81 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.057/1.057, allocations: 205.4 MB / 0.6298 GB, free: 10.56 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.0006615/0.0006616, allocations: 91.86 kB / 0.7431 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003036/0.0003036, allocations: 11.58 kB / 0.8662 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1364, allocations: 115.3 MB / 0.9787 GB, free: 28.12 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.4258/0.5622, allocations: 183.8 MB / 1.158 GB, free: 4.734 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.008374/0.5706, allocations: 6.856 MB / 1.165 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000517/0.5711, allocations: 27.78 kB / 1.165 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001087/0.5722, allocations: 466.6 kB / 1.165 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.003403/0.5756, allocations: 1.721 MB / 1.167 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.00188/0.5775, allocations: 0.8761 MB / 1.168 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.003008/0.5806, allocations: 3.472 MB / 1.171 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008359/0.5814, allocations: 0.7621 MB / 1.172 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001/0.5824, allocations: 0.873 MB / 1.173 GB, free: 9.852 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009793/0.5834, allocations: 0.9178 MB / 1.174 GB, free: 9.352 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0001065/0.5835, allocations: 48.97 kB / 1.174 GB, free: 9.352 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002157/0.5857, allocations: 1.059 MB / 1.175 GB, free: 8.824 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0003312/0.586, allocations: 384.9 kB / 1.175 GB, free: 8.574 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.000233/0.5863, allocations: 258.7 kB / 1.176 GB, free: 8.441 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.001462/0.5877, allocations: 1.611 MB / 1.177 GB, free: 7.41 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.5877, allocations: 2.906 kB / 1.177 GB, free: 7.41 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.132e-06/0.5878, allocations: 0 / 1.177 GB, free: 7.41 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.244e-05/0.5878, allocations: 0 / 1.177 GB, free: 7.41 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.002241/0.59, allocations: 1.396 MB / 1.178 GB, free: 6.352 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.988e-05/0.5901, allocations: 10.88 kB / 1.178 GB, free: 6.352 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001364/0.5902, allocations: 133.6 kB / 1.179 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001906/0.5921, allocations: 376.7 kB / 1.179 GB, free: 6.07 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009849/0.5931, allocations: 0.8065 MB / 1.18 GB, free: 5.43 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.65e-05/0.5931, allocations: 66.19 kB / 1.18 GB, free: 5.395 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/0.5933, allocations: 85.36 kB / 1.18 GB, free: 5.367 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001357/0.5946, allocations: 1.036 MB / 1.181 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.154e-05/0.5947, allocations: 0 / 1.181 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.954e-05/0.5947, allocations: 42.95 kB / 1.181 GB, free: 4.695 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.32e-05/0.5948, allocations: 45.55 kB / 1.181 GB, free: 4.684 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001271/0.5961, allocations: 0.8753 MB / 1.182 GB, free: 4.25 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.003726/0.5998, allocations: 4.277 MB / 1.186 GB, free: 440 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008844/0.6007, allocations: 0.703 MB / 1.187 GB, free: 56 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006255/0.6013, allocations: 452 kB / 1.187 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004974/0.6018, allocations: 0.6779 MB / 1.188 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.6019, allocations: 40.94 kB / 1.188 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=70): time 1.703e-06/0.6019, allocations: 0 / 1.188 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of matching and sorting (n=70): time 0.001482/0.6034, allocations: 0.9921 MB / 1.189 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.25e-05/0.6034, allocations: 59.88 kB / 1.189 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005759/0.604, allocations: 0.6176 MB / 1.189 GB, free: 14.1 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.597e-05/0.604, allocations: 43.52 kB / 1.19 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002374/0.6043, allocations: 433.4 kB / 1.19 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001631/0.6045, allocations: 246.3 kB / 1.19 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.923e-05/0.6045, allocations: 21.72 kB / 1.19 GB, free: 13.44 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.6046, allocations: 387.1 kB / 1.191 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003889/0.605, allocations: 271.7 kB / 1.191 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004306/0.6055, allocations: 372.7 kB / 1.191 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008491/0.6063, allocations: 0.6604 MB / 1.192 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.6063, allocations: 0 / 1.192 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001051/0.6074, allocations: 0.7792 MB / 1.193 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.6074, allocations: 5.781 kB / 1.193 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.6074, allocations: 6.031 kB / 1.193 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.6074, allocations: 6.125 kB / 1.193 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005442/0.608, allocations: 152.4 kB / 1.193 GB, free: 11.87 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.608, allocations: 2.812 kB / 1.193 GB, free: 11.87 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007001/0.6087, allocations: 102.8 kB / 1.193 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.713e-05/0.6088, allocations: 20.44 kB / 1.193 GB, free: 11.81 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.0002942/0.6091, allocations: 296.5 kB / 1.193 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/0.6092, allocations: 80.06 kB / 1.193 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00115/0.6103, allocations: 0.7895 MB / 1.194 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.6103, allocations: 5.375 kB / 1.194 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.6104, allocations: 3.938 kB / 1.194 GB, free: 11.08 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000897/0.6113, allocations: 0.8103 MB / 1.195 GB, free: 10.54 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002121/0.6134, allocations: 1.843 MB / 1.197 GB, free: 9.289 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.6134, allocations: 4 kB / 1.197 GB, free: 9.285 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007081/0.6141, allocations: 170.9 kB / 1.197 GB, free: 9.25 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.6141, allocations: 2.312 kB / 1.197 GB, free: 9.25 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.121e-05/0.6142, allocations: 13.81 kB / 1.197 GB, free: 9.242 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.6142, allocations: 2.906 kB / 1.197 GB, free: 9.242 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.6142, allocations: 3.938 kB / 1.197 GB, free: 9.238 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0015/0.6157, allocations: 1.28 MB / 1.198 GB, free: 8.516 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002867/0.616, allocations: 257 kB / 1.198 GB, free: 8.293 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.521e-05/0.6161, allocations: 14.44 kB / 1.198 GB, free: 8.281 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006131/0.6167, allocations: 81.62 kB / 1.198 GB, free: 8.238 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.124e-05/0.6168, allocations: 41.59 kB / 1.198 GB, free: 8.215 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.883e-05/0.6169, allocations: 17.28 kB / 1.198 GB, free: 8.211 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0004135/0.6173, allocations: 446.5 kB / 1.199 GB, free: 7.949 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6173, allocations: 0 / 1.199 GB, free: 7.949 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005678/0.6179, allocations: 338.9 kB / 1.199 GB, free: 7.883 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.001847/0.6197, allocations: 1.895 MB / 1.201 GB, free: 6.598 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0008821/0.6206, allocations: 0.6784 MB / 1.202 GB, free: 6.281 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.6206, allocations: 0 / 1.202 GB, free: 6.281 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004367/0.6211, allocations: 373.7 kB / 1.202 GB, free: 6.117 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002017/0.6231, allocations: 0.5139 MB / 1.203 GB, free: 5.754 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00703/0.6301, allocations: 5.762 MB / 1.208 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005322/0.6307, allocations: 1.081 MB / 1.209 GB, free: 14.76 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0007407/0.6314, allocations: 223.1 kB / 1.209 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004343/0.6318, allocations: 351.3 kB / 1.21 GB, free: 14.19 MB / 0.7448 GB Notification: Performance of SimCode: time 2.3e-07/0.6319, allocations: 3.938 kB / 1.21 GB, free: 14.19 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2245/0.8563, allocations: 25.04 MB / 1.234 GB, free: 5.43 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002164/0.8566, allocations: 193.8 kB / 1.234 GB, free: 5.184 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.599/3.456, allocations: 0 / 1.234 GB, free: 5.184 MB / 0.7605 GB (rm -f Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_NaturalVentilation_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_NaturalVentilation.fmu > Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)