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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation") translateModel(Buildings.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008419/0.008419, allocations: 98.27 kB / 15.73 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001858/0.001858, allocations: 197.2 kB / 16.67 MB, free: 5.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.49/1.49, allocations: 205.1 MB / 222.6 MB, free: 4.363 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.523/1.523, allocations: 251.7 MB / 0.5094 GB, free: 3.059 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 67.91 kB / 0.7258 GB, free: 8.988 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2278/0.2292, allocations: 104.7 MB / 0.828 GB, free: 188 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.746/0.9753, allocations: 202.1 MB / 1.025 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01172/0.9871, allocations: 7.388 MB / 1.033 GB, free: 9.332 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001779/0.9889, allocations: 36.94 kB / 1.033 GB, free: 9.32 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001923/0.9909, allocations: 0.698 MB / 1.033 GB, free: 8.746 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.006161/0.997, allocations: 2.366 MB / 1.036 GB, free: 6.918 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003356/1, allocations: 1.319 MB / 1.037 GB, free: 5.902 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.003891/1.004, allocations: 3.028 MB / 1.04 GB, free: 3.707 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001198/1.006, allocations: 0.9752 MB / 1.041 GB, free: 2.715 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001666/1.007, allocations: 1.059 MB / 1.042 GB, free: 1.648 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001907/1.009, allocations: 0.9886 MB / 1.043 GB, free: 0.6641 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001854/1.009, allocations: 112 kB / 1.043 GB, free: 0.5547 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004547/1.014, allocations: 2.132 MB / 1.045 GB, free: 14.41 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0004836/1.014, allocations: 462.6 kB / 1.045 GB, free: 13.96 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0008277/1.015, allocations: 0.6767 MB / 1.046 GB, free: 13.29 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.004288/1.02, allocations: 2.471 MB / 1.049 GB, free: 10.81 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/1.02, allocations: 4 kB / 1.049 GB, free: 10.81 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.364e-06/1.02, allocations: 0 / 1.049 GB, free: 10.81 MB / 0.795 GB Notification: Performance of Transformations before backend: time 2.518e-05/1.02, allocations: 0 / 1.049 GB, free: 10.81 MB / 0.795 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.003286/1.023, allocations: 1.676 MB / 1.05 GB, free: 9.074 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/1.023, allocations: 8.031 kB / 1.05 GB, free: 9.066 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002379/1.025, allocations: 390.8 kB / 1.051 GB, free: 8.684 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001319/1.027, allocations: 0.8442 MB / 1.051 GB, free: 7.797 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.417e-05/1.027, allocations: 65.94 kB / 1.051 GB, free: 7.734 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001362/1.027, allocations: 95.95 kB / 1.052 GB, free: 7.641 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001727/1.029, allocations: 1.053 MB / 1.053 GB, free: 6.551 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.539e-05/1.029, allocations: 0 / 1.053 GB, free: 6.551 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.841e-05/1.029, allocations: 36 kB / 1.053 GB, free: 6.516 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.679e-05/1.029, allocations: 53.92 kB / 1.053 GB, free: 6.465 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001477/1.03, allocations: 0.8822 MB / 1.054 GB, free: 5.578 MB / 0.795 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.004632/1.035, allocations: 4.32 MB / 1.058 GB, free: 0.9062 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/1.036, allocations: 0.6875 MB / 1.058 GB, free: 216 kB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007625/1.037, allocations: 463 kB / 1.059 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006209/1.037, allocations: 0.6732 MB / 1.06 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.559e-05/1.037, allocations: 43.11 kB / 1.06 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=70): time 2.144e-06/1.037, allocations: 0 / 1.06 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of matching and sorting (n=70): time 0.001782/1.039, allocations: 0.9826 MB / 1.061 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/1.039, allocations: 59.91 kB / 1.061 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007506/1.04, allocations: 0.6412 MB / 1.061 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.683e-05/1.04, allocations: 41.7 kB / 1.061 GB, free: 13.13 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002922/1.04, allocations: 444.7 kB / 1.062 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001949/1.041, allocations: 257.8 kB / 1.062 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001833/1.041, allocations: 126.2 kB / 1.062 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000157/1.041, allocations: 382.8 kB / 1.062 GB, free: 11.92 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004281/1.041, allocations: 269.2 kB / 1.063 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004897/1.042, allocations: 366.8 kB / 1.063 GB, free: 11.27 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009467/1.043, allocations: 0.6548 MB / 1.064 GB, free: 10.6 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/1.043, allocations: 0 / 1.064 GB, free: 10.6 MB / 0.8106 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001207/1.044, allocations: 0.7818 MB / 1.064 GB, free: 9.809 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/1.044, allocations: 8 kB / 1.064 GB, free: 9.801 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/1.044, allocations: 192 / 1.064 GB, free: 9.801 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/1.044, allocations: 8 kB / 1.064 GB, free: 9.793 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006215/1.045, allocations: 139.8 kB / 1.065 GB, free: 9.656 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.445e-05/1.045, allocations: 11.88 kB / 1.065 GB, free: 9.645 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006979/1.045, allocations: 66.92 kB / 1.065 GB, free: 9.582 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.487e-05/1.046, allocations: 23.94 kB / 1.065 GB, free: 9.559 MB / 0.8106 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.0004001/1.046, allocations: 289.6 kB / 1.065 GB, free: 9.266 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001408/1.046, allocations: 91.44 kB / 1.065 GB, free: 9.176 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001333/1.047, allocations: 0.7779 MB / 1.066 GB, free: 8.383 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/1.047, allocations: 11.94 kB / 1.066 GB, free: 8.371 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-05/1.047, allocations: 3.984 kB / 1.066 GB, free: 8.367 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001028/1.048, allocations: 0.8035 MB / 1.067 GB, free: 7.516 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002486/1.051, allocations: 1.849 MB / 1.068 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/1.051, allocations: 0 / 1.068 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000793/1.052, allocations: 167.8 kB / 1.069 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/1.052, allocations: 4 kB / 1.069 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.178e-05/1.052, allocations: 19.98 kB / 1.069 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/1.052, allocations: 4 kB / 1.069 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/1.052, allocations: 0 / 1.069 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001724/1.054, allocations: 1.277 MB / 1.07 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003462/1.054, allocations: 252.3 kB / 1.07 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/1.054, allocations: 16 kB / 1.07 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006218/1.055, allocations: 26.55 kB / 1.07 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/1.055, allocations: 44.5 kB / 1.07 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.6e-05/1.055, allocations: 23.98 kB / 1.07 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0005381/1.055, allocations: 467 kB / 1.071 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/1.055, allocations: 0 / 1.071 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0008078/1.056, allocations: 343.3 kB / 1.071 GB, free: 2.973 MB / 0.8106 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.0003276/1.057, allocations: 201.8 kB / 1.071 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001075/1.058, allocations: 0.6756 MB / 1.072 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/1.058, allocations: 0 / 1.072 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0005095/1.058, allocations: 359 kB / 1.072 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002241/1.06, allocations: 0.557 MB / 1.073 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003327/1.064, allocations: 2.181 MB / 1.075 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000637/1.064, allocations: 1.093 MB / 1.076 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0007807/1.065, allocations: 215.1 kB / 1.076 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00022/1.065, allocations: 75.42 kB / 1.076 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of SimCode: time 7.82e-07/1.066, allocations: 0 / 1.076 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of Templates: time 0.02884/1.094, allocations: 18.75 MB / 1.094 GB, free: 11.1 MB / 0.8419 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)