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 2.637/2.637, allocations: 287.5 MB / 302.4 MB, free: 8.262 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.001464/0.001463, allocations: 179.2 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.139/2.139, allocations: 205.4 MB / 0.6297 GB, free: 10.6 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.0009422/0.0009419, allocations: 85.12 kB / 0.743 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007053/0.0007056, allocations: 14.84 kB / 0.8659 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2306/0.2313, allocations: 115.3 MB / 0.9784 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.9722/1.204, allocations: 183.8 MB / 1.158 GB, free: 4.844 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01606/1.22, allocations: 6.855 MB / 1.165 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001677/1.221, allocations: 25.72 kB / 1.165 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.002242/1.224, allocations: 474.3 kB / 1.165 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.007195/1.231, allocations: 1.714 MB / 1.167 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.004122/1.235, allocations: 0.8763 MB / 1.168 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.006632/1.242, allocations: 3.472 MB / 1.171 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001798/1.244, allocations: 0.6759 MB / 1.172 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00276/1.246, allocations: 0.8658 MB / 1.173 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002654/1.249, allocations: 0.9258 MB / 1.173 GB, free: 9.512 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0003249/1.249, allocations: 48.03 kB / 1.174 GB, free: 9.512 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005085/1.255, allocations: 1.051 MB / 1.175 GB, free: 8.992 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.000904/1.256, allocations: 380.8 kB / 1.175 GB, free: 8.746 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0007806/1.256, allocations: 259.5 kB / 1.175 GB, free: 8.613 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.004065/1.26, allocations: 1.608 MB / 1.177 GB, free: 7.586 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/1.26, allocations: 0 / 1.177 GB, free: 7.586 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.195e-06/1.26, allocations: 0 / 1.177 GB, free: 7.586 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.682e-05/1.261, allocations: 0 / 1.177 GB, free: 7.586 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.004937/1.265, allocations: 1.418 MB / 1.178 GB, free: 6.52 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/1.266, allocations: 11.8 kB / 1.178 GB, free: 6.516 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003478/1.266, allocations: 133.9 kB / 1.178 GB, free: 6.406 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003688/1.27, allocations: 379.2 kB / 1.179 GB, free: 6.234 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002236/1.272, allocations: 0.769 MB / 1.179 GB, free: 5.629 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.82e-05/1.272, allocations: 69.48 kB / 1.179 GB, free: 5.594 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002084/1.272, allocations: 86.75 kB / 1.18 GB, free: 5.562 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002762/1.275, allocations: 1.036 MB / 1.181 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.028e-05/1.275, allocations: 3.188 kB / 1.181 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001387/1.275, allocations: 39.62 kB / 1.181 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.684e-05/1.275, allocations: 45.52 kB / 1.181 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002534/1.278, allocations: 0.8759 MB / 1.181 GB, free: 4.445 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.007976/1.286, allocations: 4.274 MB / 1.186 GB, free: 0.6289 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00174/1.288, allocations: 0.6914 MB / 1.186 GB, free: 268 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001222/1.289, allocations: 459.9 kB / 1.187 GB, free: 40 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009426/1.29, allocations: 0.6783 MB / 1.187 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.843e-05/1.29, allocations: 42.03 kB / 1.187 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=70): time 3.166e-06/1.29, allocations: 2.875 kB / 1.187 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of matching and sorting (n=70): time 0.003069/1.293, allocations: 0.9796 MB / 1.188 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/1.293, allocations: 57.78 kB / 1.188 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001126/1.294, allocations: 0.625 MB / 1.189 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001129/1.294, allocations: 36.64 kB / 1.189 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004327/1.295, allocations: 436.3 kB / 1.19 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003445/1.295, allocations: 245.8 kB / 1.19 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.744e-05/1.295, allocations: 14.97 kB / 1.19 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002363/1.295, allocations: 390.2 kB / 1.19 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000791/1.296, allocations: 275.1 kB / 1.19 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008518/1.297, allocations: 371 kB / 1.191 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008819/1.298, allocations: 324.7 kB / 1.191 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/1.298, allocations: 0 / 1.191 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002199/1.3, allocations: 0.7894 MB / 1.192 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/1.3, allocations: 5.312 kB / 1.192 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/1.3, allocations: 11.09 kB / 1.192 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/1.3, allocations: 2.875 kB / 1.192 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001191/1.302, allocations: 142.2 kB / 1.192 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.854e-05/1.302, allocations: 7.594 kB / 1.192 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001642/1.303, allocations: 96.8 kB / 1.192 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.497e-05/1.303, allocations: 22.75 kB / 1.192 GB, free: 12.23 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.0006727/1.304, allocations: 290.4 kB / 1.192 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002373/1.304, allocations: 82.56 kB / 1.192 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00223/1.306, allocations: 0.799 MB / 1.193 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/1.307, allocations: 7.625 kB / 1.193 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/1.307, allocations: 0 / 1.193 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001769/1.308, allocations: 0.8155 MB / 1.194 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004527/1.313, allocations: 1.851 MB / 1.196 GB, free: 9.695 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/1.313, allocations: 2.625 kB / 1.196 GB, free: 9.695 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001594/1.314, allocations: 167.9 kB / 1.196 GB, free: 9.66 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.053e-05/1.315, allocations: 5.125 kB / 1.196 GB, free: 9.66 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.786e-05/1.315, allocations: 18.89 kB / 1.196 GB, free: 9.645 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/1.315, allocations: 2.969 kB / 1.196 GB, free: 9.645 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/1.315, allocations: 0 / 1.196 GB, free: 9.645 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003062/1.318, allocations: 1.27 MB / 1.197 GB, free: 8.922 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00073/1.318, allocations: 245.2 kB / 1.198 GB, free: 8.711 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001861/1.319, allocations: 17.81 kB / 1.198 GB, free: 8.699 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001328/1.32, allocations: 75.28 kB / 1.198 GB, free: 8.66 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001446/1.32, allocations: 40.03 kB / 1.198 GB, free: 8.641 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.499e-05/1.32, allocations: 27.95 kB / 1.198 GB, free: 8.629 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0008254/1.321, allocations: 446.3 kB / 1.198 GB, free: 8.367 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.31e-07/1.321, allocations: 0 / 1.198 GB, free: 8.367 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001294/1.322, allocations: 338.6 kB / 1.198 GB, free: 8.301 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.003703/1.326, allocations: 1.906 MB / 1.2 GB, free: 7.008 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001834/1.328, allocations: 0.6765 MB / 1.201 GB, free: 6.691 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/1.328, allocations: 3.938 kB / 1.201 GB, free: 6.688 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.00087/1.329, allocations: 378.2 kB / 1.201 GB, free: 6.52 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004401/1.333, allocations: 0.5188 MB / 1.202 GB, free: 6.262 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01445/1.348, allocations: 5.748 MB / 1.207 GB, free: 500 kB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001005/1.349, allocations: 1.089 MB / 1.208 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001673/1.351, allocations: 223.1 kB / 1.209 GB, free: 15.15 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00084/1.351, allocations: 351.3 kB / 1.209 GB, free: 14.81 MB / 0.7448 GB Notification: Performance of SimCode: time 1.443e-06/1.351, allocations: 0 / 1.209 GB, free: 14.81 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07404/1.425, allocations: 25.05 MB / 1.234 GB, free: 6.047 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003797/1.426, allocations: 190.8 kB / 1.234 GB, free: 5.805 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.583/5.009, allocations: 3.938 kB / 1.234 GB, free: 5.801 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)