Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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_1.6_Buildings.Airflow.Multizone.Examples.NaturalVentilation") translateModel(Buildings.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.008573/0.008573, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.001812/0.001813, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.481/1.481, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.4754/0.4754, allocations: 95.49 MB / 365.4 MB, free: 12.16 MB / 318.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001629/0.001629, allocations: 75.89 kB / 0.5036 GB, free: 11.85 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3525/0.3541, allocations: 69.09 MB / 0.5711 GB, free: 4.289 MB / 430.1 MB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.1735/0.5277, allocations: 163.1 MB / 0.7304 GB, free: 0.5234 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009366/0.5371, allocations: 6.512 MB / 0.7367 GB, free: 9.996 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001198/0.5383, allocations: 31.81 kB / 0.7368 GB, free: 9.965 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00157/0.54, allocations: 445.2 kB / 0.7372 GB, free: 9.527 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003613/0.5436, allocations: 1.236 MB / 0.7384 GB, free: 8.285 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002432/0.546, allocations: 0.843 MB / 0.7392 GB, free: 7.453 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003172/0.5492, allocations: 2.24 MB / 0.7414 GB, free: 5.203 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001333/0.5506, allocations: 0.7174 MB / 0.7421 GB, free: 4.473 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00225/0.5528, allocations: 0.8667 MB / 0.743 GB, free: 3.609 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001698/0.5546, allocations: 0.8523 MB / 0.7438 GB, free: 2.754 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003432/0.5549, allocations: 76 kB / 0.7439 GB, free: 2.68 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002028/0.5569, allocations: 0.7447 MB / 0.7446 GB, free: 1.934 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003384/0.5573, allocations: 227.2 kB / 0.7448 GB, free: 1.711 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0008331/0.5581, allocations: 473.8 kB / 0.7453 GB, free: 1.246 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.3285/0.8866, allocations: 1.318 MB / 0.7465 GB, free: 7.219 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 1.079e-05/0.8867, allocations: 1.281 kB / 0.7465 GB, free: 7.219 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.976e-06/0.8867, allocations: 1.031 kB / 0.7465 GB, free: 7.219 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.353e-05/0.8868, allocations: 0.5938 kB / 0.7465 GB, free: 7.219 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.00254/0.8893, allocations: 1.187 MB / 0.7477 GB, free: 6.629 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.8894, allocations: 15.3 kB / 0.7477 GB, free: 6.625 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003926/0.8898, allocations: 102 kB / 0.7478 GB, free: 6.578 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00126/0.8911, allocations: 0.6927 MB / 0.7485 GB, free: 6.289 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.354e-05/0.8911, allocations: 48.59 kB / 0.7485 GB, free: 6.285 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001286/0.8913, allocations: 64.23 kB / 0.7486 GB, free: 6.281 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001369/0.8927, allocations: 0.6522 MB / 0.7492 GB, free: 6.176 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.23e-05/0.8927, allocations: 1.969 kB / 0.7492 GB, free: 6.176 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.617e-05/0.8927, allocations: 25.34 kB / 0.7493 GB, free: 6.176 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.999e-05/0.8928, allocations: 15.98 kB / 0.7493 GB, free: 6.176 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008893/0.8937, allocations: 0.5018 MB / 0.7498 GB, free: 6.168 MB / 0.5919 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.002957/0.8966, allocations: 2.8 MB / 0.7525 GB, free: 4.551 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007845/0.8974, allocations: 444.9 kB / 0.7529 GB, free: 4.527 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005589/0.898, allocations: 320.1 kB / 0.7532 GB, free: 4.516 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001101/0.8991, allocations: 1.245 MB / 0.7545 GB, free: 19.11 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.8992, allocations: 38.38 kB / 0.7545 GB, free: 19.07 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=51): time 2.876e-06/0.8992, allocations: 1.203 kB / 0.7545 GB, free: 19.07 MB / 0.6075 GB Notification: Performance of matching and sorting (n=61): time 0.005376/0.9046, allocations: 2.196 MB / 0.7566 GB, free: 18.44 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.538e-05/0.9046, allocations: 59.62 kB / 0.7567 GB, free: 18.38 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006695/0.9053, allocations: 0.5703 MB / 0.7572 GB, free: 18.25 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.842e-05/0.9053, allocations: 38.61 kB / 0.7573 GB, free: 18.22 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002055/0.9055, allocations: 341.7 kB / 0.7576 GB, free: 18.07 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001363/0.9057, allocations: 218.2 kB / 0.7578 GB, free: 17.93 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001503/0.9058, allocations: 105.8 kB / 0.7579 GB, free: 17.91 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.906, allocations: 382.6 kB / 0.7583 GB, free: 17.6 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003495/0.9063, allocations: 210.6 kB / 0.7585 GB, free: 17.6 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003937/0.9068, allocations: 307.8 kB / 0.7588 GB, free: 17.52 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007371/0.9075, allocations: 0.539 MB / 0.7593 GB, free: 17.43 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.9075, allocations: 6.344 kB / 0.7593 GB, free: 17.43 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001199/0.9087, allocations: 0.8636 MB / 0.7602 GB, free: 17.14 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.9087, allocations: 8.438 kB / 0.7602 GB, free: 17.14 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.9088, allocations: 3.5 kB / 0.7602 GB, free: 17.14 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001584/0.9089, allocations: 51.44 kB / 0.7602 GB, free: 17.12 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006265/0.9096, allocations: 147.7 kB / 0.7604 GB, free: 17.12 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00173/0.9113, allocations: 2.81 MB / 0.7631 GB, free: 14.44 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004368/0.9118, allocations: 19.22 kB / 0.7631 GB, free: 14.44 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-05/0.9118, allocations: 26.8 kB / 0.7631 GB, free: 14.44 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (74): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002946/0.9121, allocations: 223.9 kB / 0.7634 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001263/0.9122, allocations: 70 kB / 0.7634 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001305/0.9136, allocations: 0.8999 MB / 0.7643 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/0.9136, allocations: 10.48 kB / 0.7643 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.9136, allocations: 3.438 kB / 0.7643 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.9136, allocations: 2.859 kB / 0.7643 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002157/0.9158, allocations: 1.711 MB / 0.766 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.9158, allocations: 0 / 0.766 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006482/0.9164, allocations: 129.4 kB / 0.7661 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001181/0.9166, allocations: 45.59 kB / 0.7662 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.06e-05/0.9166, allocations: 18.69 kB / 0.7662 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001772/0.9184, allocations: 2.834 MB / 0.7689 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.9184, allocations: 3.531 kB / 0.7689 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001579/0.92, allocations: 1.219 MB / 0.7701 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002613/0.9203, allocations: 202.6 kB / 0.7703 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.082e-05/0.9204, allocations: 20.81 kB / 0.7704 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004261/0.9208, allocations: 16.7 kB / 0.7704 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.292e-05/0.9209, allocations: 48.3 kB / 0.7704 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.876e-05/0.921, allocations: 26.11 kB / 0.7704 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004328/0.9214, allocations: 407.8 kB / 0.7708 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9214, allocations: 0 / 0.7708 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008106/0.9222, allocations: 287.3 kB / 0.7711 GB, free: 10.16 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (volA.dynBal.medium.p,volA.dynBal.medium.T,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.p,volOut.dynBal.medium.T) * 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 (63): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006069/0.9228, allocations: 330.8 kB / 0.7714 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001167/0.924, allocations: 0.7907 MB / 0.7722 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.924, allocations: 3.375 kB / 0.7722 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000698/0.9247, allocations: 0.5386 MB / 0.7727 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001601/0.9264, allocations: 421.5 kB / 0.7731 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003036/0.9294, allocations: 1.716 MB / 0.7748 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000536/0.93, allocations: 0.965 MB / 0.7757 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005902/0.9306, allocations: 165.1 kB / 0.7759 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000191/0.9308, allocations: 70.06 kB / 0.776 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of SimCode: time 5.71e-07/0.9308, allocations: 0.9688 kB / 0.776 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of Templates: time 0.02571/0.9565, allocations: 17.15 MB / 0.7927 GB, free: 6.836 MB / 0.6075 GB make -j1 -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.NaturalVentilation.makefile (rm -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_1.6_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_1.6_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & ./Buildings_1.6_Buildings.Airflow.Multizone.Examples.NaturalVentilation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)