Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation") translateModel(BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7069/0.7069, allocations: 128.7 MB / 144.5 MB, free: 1.367 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001303/0.001303, allocations: 185 kB / 174.2 MB, free: 5.934 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.516/1.516, allocations: 205 MB / 408.9 MB, free: 9.707 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000999/0.000999, allocations: 105.9 kB / 485.1 MB, free: 13.57 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0011/0.0011, allocations: 56.95 kB / 0.558 GB, free: 97.56 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1497, allocations: 75.47 MB / 0.6317 GB, free: 33.05 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation): time 0.5213/0.6711, allocations: 200 MB / 0.827 GB, free: 8.242 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.01091/0.6821, allocations: 7.486 MB / 0.8343 GB, free: 4.855 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001949/0.6841, allocations: 41.38 kB / 0.8343 GB, free: 4.84 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.00211/0.6862, allocations: 0.6059 MB / 0.8349 GB, free: 4.355 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.006433/0.6927, allocations: 2.237 MB / 0.8371 GB, free: 2.645 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.003397/0.6961, allocations: 1.2 MB / 0.8383 GB, free: 1.746 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.005011/0.7011, allocations: 4.36 MB / 0.8425 GB, free: 15.42 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001358/0.7025, allocations: 0.8175 MB / 0.8433 GB, free: 14.92 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002004/0.7045, allocations: 0.9443 MB / 0.8442 GB, free: 14.45 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002822/0.7074, allocations: 1.008 MB / 0.8452 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0002912/0.7077, allocations: 60.19 kB / 0.8453 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004485/0.7122, allocations: 2.239 MB / 0.8475 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0006197/0.7128, allocations: 408.7 kB / 0.8478 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.001123/0.7139, allocations: 0.6313 MB / 0.8485 GB, free: 11.94 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.004236/0.7182, allocations: 2.561 MB / 0.851 GB, free: 9.73 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.7182, allocations: 0 / 0.851 GB, free: 9.73 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.264e-06/0.7182, allocations: 4 kB / 0.851 GB, free: 9.727 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.129e-05/0.7183, allocations: 3.938 kB / 0.851 GB, free: 9.723 MB / 0.5417 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.003764/0.722, allocations: 1.62 MB / 0.8526 GB, free: 8.051 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.7221, allocations: 12.03 kB / 0.8526 GB, free: 8.039 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002178/0.7243, allocations: 358.2 kB / 0.8529 GB, free: 7.688 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001426/0.7257, allocations: 0.8006 MB / 0.8537 GB, free: 6.844 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.5e-05/0.7258, allocations: 65.94 kB / 0.8538 GB, free: 6.777 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001344/0.7259, allocations: 91.92 kB / 0.8538 GB, free: 6.688 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001608/0.7275, allocations: 1.061 MB / 0.8549 GB, free: 5.594 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.742e-05/0.7276, allocations: 3.938 kB / 0.8549 GB, free: 5.59 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-05/0.7277, allocations: 32 kB / 0.8549 GB, free: 5.559 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.377e-05/0.7277, allocations: 45.98 kB / 0.855 GB, free: 5.512 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001488/0.7292, allocations: 0.8821 MB / 0.8558 GB, free: 4.629 MB / 0.5417 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.005374/0.7346, allocations: 4.28 MB / 0.86 GB, free: 15.99 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001139/0.7358, allocations: 0.6914 MB / 0.8607 GB, free: 15.28 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007438/0.7365, allocations: 456.9 kB / 0.8611 GB, free: 14.83 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006296/0.7372, allocations: 0.6693 MB / 0.8618 GB, free: 14.02 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.769e-05/0.7372, allocations: 43.12 kB / 0.8618 GB, free: 13.96 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=70): time 2.275e-06/0.7372, allocations: 0 / 0.8618 GB, free: 13.96 MB / 0.5573 GB Notification: Performance of matching and sorting (n=70): time 0.00184/0.7391, allocations: 0.9744 MB / 0.8628 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.089e-05/0.7391, allocations: 67.91 kB / 0.8628 GB, free: 12.91 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008246/0.74, allocations: 0.6372 MB / 0.8634 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.98e-05/0.74, allocations: 37.7 kB / 0.8635 GB, free: 12.23 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002979/0.7403, allocations: 447.9 kB / 0.8639 GB, free: 11.79 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002241/0.7406, allocations: 244.3 kB / 0.8641 GB, free: 11.54 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001906/0.7408, allocations: 118.2 kB / 0.8642 GB, free: 11.42 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001871/0.741, allocations: 390.7 kB / 0.8646 GB, free: 11.03 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004616/0.7414, allocations: 269.2 kB / 0.8649 GB, free: 10.77 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005137/0.742, allocations: 358.8 kB / 0.8652 GB, free: 10.39 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009856/0.743, allocations: 0.6587 MB / 0.8659 GB, free: 9.707 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.743, allocations: 0 / 0.8659 GB, free: 9.707 MB / 0.5573 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001292/0.7443, allocations: 0.7697 MB / 0.8666 GB, free: 8.93 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.7443, allocations: 12.19 kB / 0.8666 GB, free: 8.918 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/0.7443, allocations: 3.984 kB / 0.8666 GB, free: 8.914 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.7443, allocations: 4 kB / 0.8666 GB, free: 8.91 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006107/0.745, allocations: 147.8 kB / 0.8668 GB, free: 8.766 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.941e-05/0.745, allocations: 7.938 kB / 0.8668 GB, free: 8.758 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008582/0.7459, allocations: 103.4 kB / 0.8669 GB, free: 8.656 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.967e-05/0.7459, allocations: 24 kB / 0.8669 GB, free: 8.633 MB / 0.5573 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.0004101/0.7463, allocations: 289.6 kB / 0.8672 GB, free: 8.34 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001622/0.7465, allocations: 86.97 kB / 0.8673 GB, free: 8.254 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001378/0.7479, allocations: 0.7764 MB / 0.868 GB, free: 7.465 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/0.7479, allocations: 11.94 kB / 0.868 GB, free: 7.453 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.7479, allocations: 3.938 kB / 0.868 GB, free: 7.449 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001014/0.7489, allocations: 0.8035 MB / 0.8688 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002816/0.7518, allocations: 1.836 MB / 0.8706 GB, free: 4.699 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.7518, allocations: 0 / 0.8706 GB, free: 4.699 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007648/0.7525, allocations: 171.8 kB / 0.8708 GB, free: 4.531 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/0.7526, allocations: 0 / 0.8708 GB, free: 4.531 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.26e-05/0.7526, allocations: 23.98 kB / 0.8708 GB, free: 4.508 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.7526, allocations: 0 / 0.8708 GB, free: 4.508 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.7526, allocations: 0 / 0.8708 GB, free: 4.508 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01224/0.7649, allocations: 6.922 MB / 0.8776 GB, free: 13.4 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004601/0.7654, allocations: 251.8 kB / 0.8778 GB, free: 13.14 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.749e-05/0.7655, allocations: 16 kB / 0.8778 GB, free: 13.12 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007123/0.7662, allocations: 75.88 kB / 0.8779 GB, free: 13.05 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/0.7663, allocations: 44.5 kB / 0.8779 GB, free: 13 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.179e-05/0.7664, allocations: 23.98 kB / 0.878 GB, free: 12.98 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0005386/0.7669, allocations: 455 kB / 0.8784 GB, free: 12.54 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7669, allocations: 0 / 0.8784 GB, free: 12.54 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.00186/0.7688, allocations: 0.5187 MB / 0.8789 GB, free: 12.02 MB / 0.573 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.0005166/0.7693, allocations: 232.6 kB / 0.8791 GB, free: 11.79 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001276/0.7706, allocations: 0.664 MB / 0.8798 GB, free: 11.12 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.7706, allocations: 4.375 kB / 0.8798 GB, free: 11.12 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0005614/0.7712, allocations: 363 kB / 0.8801 GB, free: 10.77 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002449/0.7737, allocations: 0.5267 MB / 0.8806 GB, free: 10.25 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004259/0.7779, allocations: 2.995 MB / 0.8836 GB, free: 7.211 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008104/0.7788, allocations: 1.116 MB / 0.8846 GB, free: 6.062 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001098/0.7799, allocations: 247.1 kB / 0.8849 GB, free: 5.816 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002685/0.7802, allocations: 75.44 kB / 0.885 GB, free: 5.742 MB / 0.573 GB Notification: Performance of SimCode: time 3.81e-07/0.7802, allocations: 0 / 0.885 GB, free: 5.742 MB / 0.573 GB Notification: Performance of Templates: time 0.03405/0.8142, allocations: 21.08 MB / 0.9055 GB, free: 0.8633 MB / 0.5886 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation.sim & ./BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)