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.001431/0.001431, allocations: 102.6 kB / 15.98 MB, free: 6.344 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.00112/0.001121, allocations: 201.2 kB / 16.91 MB, free: 6.184 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.445/1.445, allocations: 205.1 MB / 222.8 MB, free: 4.668 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.3 MB / 0.5492 GB, free: 13.66 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.001397/0.001397, allocations: 79.59 kB / 0.6716 GB, free: 26.45 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2415/0.2429, allocations: 114.5 MB / 0.7835 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.7294/0.9723, allocations: 199.3 MB / 0.9782 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01243/0.9848, allocations: 7.282 MB / 0.9853 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002596/0.9875, allocations: 29.22 kB / 0.9853 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002154/0.9897, allocations: 0.6236 MB / 0.9859 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.007376/0.9971, allocations: 2.21 MB / 0.9881 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.004/1.001, allocations: 1.167 MB / 0.9892 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005492/1.007, allocations: 2.885 MB / 0.992 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001625/1.008, allocations: 0.9314 MB / 0.993 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002761/1.011, allocations: 1.032 MB / 0.994 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002846/1.014, allocations: 1.023 MB / 0.995 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002255/1.014, allocations: 109.8 kB / 0.9951 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005391/1.02, allocations: 2.233 MB / 0.9972 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0007083/1.02, allocations: 455.7 kB / 0.9977 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.00119/1.021, allocations: 0.6591 MB / 0.9983 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003107/1.025, allocations: 1.799 MB / 1 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/1.025, allocations: 0 / 1 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.365e-06/1.025, allocations: 0 / 1 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.871e-05/1.025, allocations: 0 / 1 GB, free: 3.004 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.003416/1.028, allocations: 1.616 MB / 1.002 GB, free: 17.99 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.385e-05/1.028, allocations: 10.91 kB / 1.002 GB, free: 17.99 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002424/1.031, allocations: 375.9 kB / 1.002 GB, free: 17.9 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001199/1.032, allocations: 0.8041 MB / 1.003 GB, free: 17.42 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.167e-05/1.032, allocations: 69.12 kB / 1.003 GB, free: 17.39 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001292/1.032, allocations: 82.88 kB / 1.003 GB, free: 17.36 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001614/1.034, allocations: 1.041 MB / 1.004 GB, free: 16.91 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.529e-05/1.034, allocations: 0 / 1.004 GB, free: 16.91 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.044e-05/1.034, allocations: 38.19 kB / 1.004 GB, free: 16.89 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.969e-05/1.034, allocations: 48.88 kB / 1.004 GB, free: 16.88 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001387/1.035, allocations: 0.8752 MB / 1.005 GB, free: 16.59 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.004819/1.04, allocations: 4.27 MB / 1.009 GB, free: 13.42 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001073/1.041, allocations: 0.71 MB / 1.01 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007146/1.042, allocations: 452.6 kB / 1.01 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000665/1.042, allocations: 0.6745 MB / 1.011 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.154e-05/1.043, allocations: 45.36 kB / 1.011 GB, free: 12.15 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=70): time 2.725e-06/1.043, allocations: 0 / 1.011 GB, free: 12.15 MB / 0.7481 GB Notification: Performance of matching and sorting (n=70): time 0.001938/1.045, allocations: 0.9854 MB / 1.012 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/1.045, allocations: 59.47 kB / 1.012 GB, free: 11.69 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008173/1.045, allocations: 0.6295 MB / 1.013 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 7.515e-05/1.045, allocations: 40.48 kB / 1.013 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000307/1.046, allocations: 430.2 kB / 1.013 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002573/1.046, allocations: 252.2 kB / 1.013 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001891/1.046, allocations: 114.8 kB / 1.013 GB, free: 10.78 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001773/1.046, allocations: 391.2 kB / 1.014 GB, free: 10.43 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004317/1.047, allocations: 272.5 kB / 1.014 GB, free: 10.34 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005081/1.047, allocations: 375.6 kB / 1.014 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009862/1.048, allocations: 0.66 MB / 1.015 GB, free: 9.816 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/1.048, allocations: 0 / 1.015 GB, free: 9.816 MB / 0.7481 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001362/1.05, allocations: 0.7866 MB / 1.016 GB, free: 9.488 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/1.05, allocations: 6.188 kB / 1.016 GB, free: 9.488 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/1.05, allocations: 6.562 kB / 1.016 GB, free: 9.484 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/1.05, allocations: 4.812 kB / 1.016 GB, free: 9.484 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000652/1.05, allocations: 145.1 kB / 1.016 GB, free: 9.477 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/1.051, allocations: 5.812 kB / 1.016 GB, free: 9.477 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001046/1.052, allocations: 97.61 kB / 1.016 GB, free: 9.438 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.412e-05/1.052, allocations: 24.16 kB / 1.016 GB, free: 9.43 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.0005301/1.052, allocations: 300.6 kB / 1.016 GB, free: 9.223 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002067/1.052, allocations: 85.34 kB / 1.016 GB, free: 9.18 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001511/1.054, allocations: 0.7922 MB / 1.017 GB, free: 8.828 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-05/1.054, allocations: 6.75 kB / 1.017 GB, free: 8.828 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/1.054, allocations: 1.688 kB / 1.017 GB, free: 8.828 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001116/1.055, allocations: 0.8134 MB / 1.018 GB, free: 8.348 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003237/1.058, allocations: 1.835 MB / 1.02 GB, free: 7.148 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/1.058, allocations: 6.562 kB / 1.02 GB, free: 7.145 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008297/1.059, allocations: 176.1 kB / 1.02 GB, free: 7.109 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.217e-05/1.059, allocations: 2.5 kB / 1.02 GB, free: 7.109 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.427e-05/1.059, allocations: 17.14 kB / 1.02 GB, free: 7.098 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.173e-06/1.059, allocations: 3.219 kB / 1.02 GB, free: 7.098 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/1.059, allocations: 0 / 1.02 GB, free: 7.098 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002045/1.061, allocations: 1.273 MB / 1.021 GB, free: 6.379 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006323/1.062, allocations: 239.7 kB / 1.021 GB, free: 6.172 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001928/1.062, allocations: 16.84 kB / 1.021 GB, free: 6.16 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009639/1.063, allocations: 75.81 kB / 1.022 GB, free: 6.125 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001434/1.063, allocations: 43.69 kB / 1.022 GB, free: 6.102 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.306e-05/1.063, allocations: 23.45 kB / 1.022 GB, free: 6.094 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0007482/1.064, allocations: 452.9 kB / 1.022 GB, free: 5.836 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.11e-07/1.064, allocations: 3.938 kB / 1.022 GB, free: 5.832 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001242/1.065, allocations: 338.8 kB / 1.022 GB, free: 5.766 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.0004749/1.066, allocations: 194.2 kB / 1.023 GB, free: 5.645 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00179/1.068, allocations: 0.8192 MB / 1.023 GB, free: 5.324 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 7.193e-06/1.068, allocations: 4.375 kB / 1.023 GB, free: 5.32 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005788/1.068, allocations: 372.8 kB / 1.024 GB, free: 5.168 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002874/1.071, allocations: 0.5543 MB / 1.024 GB, free: 4.875 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004546/1.076, allocations: 2.594 MB / 1.027 GB, free: 3.062 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008112/1.077, allocations: 1.086 MB / 1.028 GB, free: 2.18 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003836/1.077, allocations: 77.28 kB / 1.028 GB, free: 2.168 MB / 0.7481 GB Notification: Performance of SimCode: time 1.162e-06/1.077, allocations: 0 / 1.028 GB, free: 2.168 MB / 0.7481 GB Notification: Performance of Templates: time 0.02706/1.104, allocations: 15.27 MB / 1.043 GB, free: 7.863 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)