Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation") translateModel(Buildings.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.00125/0.00125, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001168/0.001168, allocations: 193.3 kB / 16.25 MB, free: 6.625 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.598/1.598, allocations: 205.1 MB / 222.1 MB, free: 4.684 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.668/1.668, allocations: 292.2 MB / 0.5485 GB, free: 13.64 MB / 462.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.001407/0.001407, allocations: 65.64 kB / 0.671 GB, free: 26.4 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2435/0.245, allocations: 114.5 MB / 0.7828 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.6471/0.8921, allocations: 199.3 MB / 0.9775 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01013/0.9023, allocations: 7.292 MB / 0.9846 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001425/0.9038, allocations: 29.16 kB / 0.9847 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001607/0.9054, allocations: 0.6265 MB / 0.9853 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0056/0.911, allocations: 2.218 MB / 0.9874 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003266/0.9143, allocations: 1.154 MB / 0.9886 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005273/0.9196, allocations: 2.884 MB / 0.9914 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00168/0.9213, allocations: 0.9257 MB / 0.9923 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002658/0.924, allocations: 1.033 MB / 0.9933 GB, free: 4.582 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002817/0.9268, allocations: 1.03 MB / 0.9943 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002052/0.927, allocations: 110.5 kB / 0.9944 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004456/0.9315, allocations: 2.232 MB / 0.9966 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0005109/0.932, allocations: 448.7 kB / 0.997 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0009161/0.9329, allocations: 0.6671 MB / 0.9977 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003542/0.9365, allocations: 2.542 MB / 1 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.9365, allocations: 0 / 1 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.302e-06/0.9365, allocations: 2.531 kB / 1 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.099e-05/0.9365, allocations: 4 kB / 1 GB, free: 2.656 MB / 0.7325 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.00285/0.9394, allocations: 1.609 MB / 1.002 GB, free: 17.65 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.9395, allocations: 8.938 kB / 1.002 GB, free: 17.65 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002413/0.9419, allocations: 372 kB / 1.002 GB, free: 17.56 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/0.9429, allocations: 0.8121 MB / 1.003 GB, free: 17.08 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.928e-05/0.9429, allocations: 68.69 kB / 1.003 GB, free: 17.05 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001138/0.9431, allocations: 79.06 kB / 1.003 GB, free: 17.02 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001451/0.9445, allocations: 1.044 MB / 1.004 GB, free: 16.57 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.435e-05/0.9446, allocations: 2.75 kB / 1.004 GB, free: 16.57 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.698e-05/0.9446, allocations: 38.34 kB / 1.004 GB, free: 16.54 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.603e-05/0.9447, allocations: 48.45 kB / 1.004 GB, free: 16.54 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001263/0.946, allocations: 0.8746 MB / 1.005 GB, free: 16.24 MB / 0.7481 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.004069/0.95, allocations: 4.27 MB / 1.009 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009761/0.951, allocations: 0.7041 MB / 1.01 GB, free: 12.78 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006754/0.9517, allocations: 449.1 kB / 1.01 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005974/0.9523, allocations: 0.6764 MB / 1.011 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.9524, allocations: 45.19 kB / 1.011 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=70): time 2.044e-06/0.9524, allocations: 0 / 1.011 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of matching and sorting (n=70): time 0.00174/0.9541, allocations: 0.9842 MB / 1.012 GB, free: 11.42 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.546e-05/0.9542, allocations: 64.53 kB / 1.012 GB, free: 11.35 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006672/0.9548, allocations: 0.6328 MB / 1.013 GB, free: 11.07 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.965e-05/0.9549, allocations: 35.8 kB / 1.013 GB, free: 11.03 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002911/0.9552, allocations: 431.6 kB / 1.013 GB, free: 10.7 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002129/0.9554, allocations: 251.2 kB / 1.013 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000178/0.9556, allocations: 115.7 kB / 1.013 GB, free: 10.44 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.9558, allocations: 390.5 kB / 1.014 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000409/0.9562, allocations: 276.5 kB / 1.014 GB, free: 9.992 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004695/0.9567, allocations: 369.4 kB / 1.014 GB, free: 9.801 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009206/0.9576, allocations: 0.6567 MB / 1.015 GB, free: 9.48 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.9576, allocations: 0 / 1.015 GB, free: 9.48 MB / 0.7481 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001109/0.9587, allocations: 0.7931 MB / 1.016 GB, free: 9.148 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.9588, allocations: 8.5 kB / 1.016 GB, free: 9.145 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.9588, allocations: 3.125 kB / 1.016 GB, free: 9.145 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.9588, allocations: 3.375 kB / 1.016 GB, free: 9.145 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006163/0.9594, allocations: 141.4 kB / 1.016 GB, free: 9.141 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.9594, allocations: 6.844 kB / 1.016 GB, free: 9.141 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008973/0.9603, allocations: 95 kB / 1.016 GB, free: 9.102 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.578e-05/0.9604, allocations: 33.31 kB / 1.016 GB, free: 9.09 MB / 0.7481 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.0003497/0.9607, allocations: 285.1 kB / 1.016 GB, free: 8.895 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001318/0.9609, allocations: 85.19 kB / 1.016 GB, free: 8.852 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001292/0.9622, allocations: 0.792 MB / 1.017 GB, free: 8.438 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.9622, allocations: 4.906 kB / 1.017 GB, free: 8.438 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.9622, allocations: 1.812 kB / 1.017 GB, free: 8.438 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009924/0.9632, allocations: 0.8161 MB / 1.018 GB, free: 7.891 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002455/0.9657, allocations: 1.838 MB / 1.02 GB, free: 6.664 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.9657, allocations: 11.28 kB / 1.02 GB, free: 6.656 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007969/0.9665, allocations: 170.3 kB / 1.02 GB, free: 6.625 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.9665, allocations: 3.25 kB / 1.02 GB, free: 6.625 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.955e-05/0.9666, allocations: 21.45 kB / 1.02 GB, free: 6.609 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.9666, allocations: 2.469 kB / 1.02 GB, free: 6.609 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.9666, allocations: 0 / 1.02 GB, free: 6.609 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001627/0.9682, allocations: 1.271 MB / 1.021 GB, free: 5.895 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003344/0.9686, allocations: 251 kB / 1.021 GB, free: 5.68 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001109/0.9687, allocations: 15.38 kB / 1.022 GB, free: 5.668 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007624/0.9694, allocations: 73.84 kB / 1.022 GB, free: 5.633 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.9695, allocations: 42.09 kB / 1.022 GB, free: 5.609 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.554e-05/0.9696, allocations: 24.27 kB / 1.022 GB, free: 5.602 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004614/0.9701, allocations: 448.1 kB / 1.022 GB, free: 5.348 MB / 0.7481 GB Notification: Performance of sort global known variables: time 6.01e-07/0.9701, allocations: 0 / 1.022 GB, free: 5.348 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000759/0.9708, allocations: 341 kB / 1.022 GB, free: 5.281 MB / 0.7481 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.0002815/0.9711, allocations: 193.4 kB / 1.023 GB, free: 5.156 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001405/0.9725, allocations: 0.818 MB / 1.023 GB, free: 4.836 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.9726, allocations: 6.219 kB / 1.023 GB, free: 4.832 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0004576/0.973, allocations: 370.4 kB / 1.024 GB, free: 4.68 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002114/0.9751, allocations: 0.5646 MB / 1.024 GB, free: 4.387 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003167/0.9783, allocations: 2.54 MB / 1.027 GB, free: 2.617 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006151/0.9789, allocations: 1.08 MB / 1.028 GB, free: 1.738 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0008489/0.9798, allocations: 221 kB / 1.028 GB, free: 1.637 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002053/0.98, allocations: 76.52 kB / 1.028 GB, free: 1.621 MB / 0.7481 GB Notification: Performance of SimCode: time 5.31e-07/0.98, allocations: 0 / 1.028 GB, free: 1.621 MB / 0.7481 GB Notification: Performance of Templates: time 0.02606/1.006, allocations: 18.19 MB / 1.046 GB, free: 4.164 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation.makefile (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & ./Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)