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.0007811/0.0007813, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.0008349/0.000835, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.395/1.395, allocations: 205.4 MB / 222.1 MB, free: 5.523 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.6/1.6, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0005445/0.0005448, allocations: 13.5 kB / 0.6737 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2328/0.2333, allocations: 116.3 MB / 0.7873 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.6679/0.9013, allocations: 183.8 MB / 0.9668 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01068/0.912, allocations: 6.851 MB / 0.9735 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001621/0.9137, allocations: 28.97 kB / 0.9735 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001604/0.9153, allocations: 467.2 kB / 0.974 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005164/0.9204, allocations: 1.719 MB / 0.9756 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003077/0.9235, allocations: 0.8758 MB / 0.9765 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004648/0.9282, allocations: 3.47 MB / 0.9799 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001227/0.9294, allocations: 0.6746 MB / 0.9805 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001958/0.9314, allocations: 0.8609 MB / 0.9814 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001451/0.9329, allocations: 0.9246 MB / 0.9823 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000128/0.933, allocations: 49.09 kB / 0.9823 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003225/0.9363, allocations: 1.048 MB / 0.9834 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004757/0.9367, allocations: 383.6 kB / 0.9837 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000526/0.9373, allocations: 262.5 kB / 0.984 GB, free: 17.71 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002153/0.9394, allocations: 1.612 MB / 0.9855 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.9395, allocations: 0 / 0.9855 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.513e-06/0.9395, allocations: 0 / 0.9855 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.758e-05/0.9395, allocations: 0 / 0.9855 GB, free: 16.93 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.002649/0.9421, allocations: 1.406 MB / 0.9869 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.9422, allocations: 11.53 kB / 0.9869 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002248/0.9444, allocations: 378.2 kB / 0.9873 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001147/0.9456, allocations: 0.7677 MB / 0.988 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.423e-05/0.9457, allocations: 61.66 kB / 0.9881 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/0.9458, allocations: 87.73 kB / 0.9882 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001574/0.9474, allocations: 1.038 MB / 0.9892 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.377e-05/0.9474, allocations: 3.938 kB / 0.9892 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.904e-05/0.9475, allocations: 42.48 kB / 0.9892 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.787e-05/0.9475, allocations: 47.92 kB / 0.9893 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001309/0.9489, allocations: 0.8717 MB / 0.9901 GB, free: 14.9 MB / 0.7325 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.004325/0.9532, allocations: 4.283 MB / 0.9943 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009038/0.9541, allocations: 0.7033 MB / 0.995 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006103/0.9547, allocations: 454.2 kB / 0.9954 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005853/0.9553, allocations: 0.6772 MB / 0.9961 GB, free: 10.83 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/0.9554, allocations: 45.31 kB / 0.9961 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=70): time 2.835e-06/0.9554, allocations: 0 / 0.9961 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of matching and sorting (n=70): time 0.001651/0.957, allocations: 0.9854 MB / 0.9971 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.759e-05/0.9571, allocations: 61.34 kB / 0.9972 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006533/0.9578, allocations: 0.6234 MB / 0.9978 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.037e-05/0.9578, allocations: 39.42 kB / 0.9978 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002734/0.9581, allocations: 434.4 kB / 0.9982 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001994/0.9583, allocations: 246.4 kB / 0.9985 GB, free: 9.867 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.365e-05/0.9583, allocations: 15.47 kB / 0.9985 GB, free: 9.867 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001655/0.9585, allocations: 389.2 kB / 0.9988 GB, free: 9.531 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003959/0.9589, allocations: 271.5 kB / 0.9991 GB, free: 9.496 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004577/0.9594, allocations: 370 kB / 0.9995 GB, free: 9.367 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004769/0.9599, allocations: 323.7 kB / 0.9998 GB, free: 9.336 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.9599, allocations: 3.953 kB / 0.9998 GB, free: 9.332 MB / 0.7325 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001162/0.9611, allocations: 0.7835 MB / 1.001 GB, free: 9.172 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.9611, allocations: 5.812 kB / 1.001 GB, free: 9.172 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.9611, allocations: 7.547 kB / 1.001 GB, free: 9.168 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.9611, allocations: 6.094 kB / 1.001 GB, free: 9.164 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006185/0.9617, allocations: 146.5 kB / 1.001 GB, free: 9.137 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.413e-05/0.9618, allocations: 5.875 kB / 1.001 GB, free: 9.137 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008773/0.9627, allocations: 98.92 kB / 1.001 GB, free: 9.094 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.792e-05/0.9627, allocations: 27.89 kB / 1.001 GB, free: 9.09 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004435/0.9632, allocations: 286.7 kB / 1.001 GB, free: 8.945 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001271/0.9633, allocations: 87.73 kB / 1.001 GB, free: 8.902 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001237/0.9645, allocations: 0.7973 MB / 1.002 GB, free: 8.723 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/0.9646, allocations: 5.938 kB / 1.002 GB, free: 8.723 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.9646, allocations: 0 / 1.002 GB, free: 8.723 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009404/0.9655, allocations: 0.8144 MB / 1.003 GB, free: 8.391 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002536/0.9681, allocations: 1.844 MB / 1.005 GB, free: 7.727 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.9681, allocations: 0 / 1.005 GB, free: 7.727 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007558/0.9688, allocations: 172.8 kB / 1.005 GB, free: 7.695 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.075e-05/0.9689, allocations: 7.297 kB / 1.005 GB, free: 7.691 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.691e-05/0.9689, allocations: 16.84 kB / 1.005 GB, free: 7.691 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.96e-06/0.9689, allocations: 2.969 kB / 1.005 GB, free: 7.691 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.9689, allocations: 0 / 1.005 GB, free: 7.691 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001746/0.9707, allocations: 1.275 MB / 1.006 GB, free: 7.371 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004694/0.9712, allocations: 246.7 kB / 1.006 GB, free: 7.203 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/0.9713, allocations: 12.34 kB / 1.006 GB, free: 7.203 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006715/0.972, allocations: 86.45 kB / 1.006 GB, free: 7.164 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.9721, allocations: 41.38 kB / 1.006 GB, free: 7.148 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.871e-05/0.9721, allocations: 24.33 kB / 1.006 GB, free: 7.145 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005242/0.9727, allocations: 445.7 kB / 1.007 GB, free: 6.988 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.443e-06/0.9727, allocations: 0 / 1.007 GB, free: 6.988 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009737/0.9737, allocations: 337.3 kB / 1.007 GB, free: 6.945 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003324/0.974, allocations: 200.8 kB / 1.007 GB, free: 6.82 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001022/0.975, allocations: 0.6648 MB / 1.008 GB, free: 6.727 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/0.975, allocations: 2.125 kB / 1.008 GB, free: 6.727 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004768/0.9755, allocations: 374 kB / 1.008 GB, free: 6.668 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002142/0.9777, allocations: 0.5247 MB / 1.009 GB, free: 6.496 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003855/0.9815, allocations: 2.65 MB / 1.011 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007477/0.9823, allocations: 1.085 MB / 1.012 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001/0.9833, allocations: 224.2 kB / 1.013 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002078/0.9835, allocations: 71.48 kB / 1.013 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of SimCode: time 6.21e-07/0.9835, allocations: 0 / 1.013 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of Templates: time 0.02791/1.011, allocations: 16.87 MB / 1.029 GB, free: 8.961 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: