Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation") translateModel(Buildings.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001036/0.001036, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001452/0.001452, allocations: 194.3 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.131/2.131, allocations: 205.1 MB / 222 MB, free: 4.988 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.6/1.6, allocations: 251.6 MB / 0.5088 GB, free: 3.371 MB / 414.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.001295/0.001295, allocations: 63.91 kB / 0.6216 GB, free: 2.027 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7562/0.7575, allocations: 104.7 MB / 0.7238 GB, free: 13.2 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.9866/1.744, allocations: 199.9 MB / 0.919 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01615/1.76, allocations: 7.48 MB / 0.9263 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003226/1.764, allocations: 29.56 kB / 0.9263 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.003065/1.767, allocations: 0.6124 MB / 0.9269 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01052/1.777, allocations: 2.235 MB / 0.9291 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.006207/1.784, allocations: 1.195 MB / 0.9303 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.008956/1.793, allocations: 4.286 MB / 0.9345 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002898/1.796, allocations: 0.8309 MB / 0.9353 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004608/1.8, allocations: 0.9153 MB / 0.9362 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005181/1.805, allocations: 1.022 MB / 0.9372 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0009417/1.806, allocations: 61.22 kB / 0.9372 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009198/1.816, allocations: 2.489 MB / 0.9397 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.00162/1.817, allocations: 420.2 kB / 0.9401 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.003533/1.821, allocations: 0.6191 MB / 0.9407 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01044/1.831, allocations: 2.551 MB / 0.9431 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.254e-05/1.831, allocations: 5.438 kB / 0.9432 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.848e-06/1.831, allocations: 0 / 0.9432 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001219/1.832, allocations: 4 kB / 0.9432 GB, free: 1.277 MB / 0.7169 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.007819/1.839, allocations: 1.638 MB / 0.9448 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 7.08e-05/1.839, allocations: 10.19 kB / 0.9448 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003664/1.843, allocations: 375.2 kB / 0.9451 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002983/1.846, allocations: 0.8142 MB / 0.9459 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001281/1.846, allocations: 66.28 kB / 0.946 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000489/1.847, allocations: 84.84 kB / 0.9461 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003336/1.85, allocations: 1.061 MB / 0.9471 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.42e-05/1.85, allocations: 6.125 kB / 0.9471 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001857/1.85, allocations: 35.91 kB / 0.9471 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.08e-05/1.851, allocations: 47.56 kB / 0.9472 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002387/1.853, allocations: 0.8826 MB / 0.948 GB, free: 15.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.008684/1.862, allocations: 4.295 MB / 0.9522 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001439/1.863, allocations: 0.6962 MB / 0.9529 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00092/1.864, allocations: 447.5 kB / 0.9533 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009256/1.865, allocations: 0.6719 MB / 0.954 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.479e-05/1.865, allocations: 42.56 kB / 0.954 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=70): time 4.328e-06/1.865, allocations: 0 / 0.954 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of matching and sorting (n=70): time 0.002685/1.868, allocations: 0.9832 MB / 0.955 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.42e-05/1.868, allocations: 56.97 kB / 0.9551 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001248/1.869, allocations: 0.6422 MB / 0.9557 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001451/1.869, allocations: 38.17 kB / 0.9557 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004157/1.87, allocations: 438.9 kB / 0.9561 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003715/1.87, allocations: 245.6 kB / 0.9564 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002316/1.87, allocations: 121.9 kB / 0.9565 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001997/1.871, allocations: 385 kB / 0.9569 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005331/1.871, allocations: 270.1 kB / 0.9571 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006699/1.872, allocations: 371.2 kB / 0.9575 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001177/1.873, allocations: 0.6514 MB / 0.9581 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-05/1.873, allocations: 0 / 0.9581 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00181/1.875, allocations: 0.782 MB / 0.9589 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.67e-05/1.875, allocations: 6.156 kB / 0.9589 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/1.875, allocations: 6.469 kB / 0.9589 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.861e-05/1.875, allocations: 13.16 kB / 0.9589 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007083/1.876, allocations: 142.2 kB / 0.959 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.23e-05/1.876, allocations: 3.156 kB / 0.959 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001488/1.877, allocations: 103.4 kB / 0.9591 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.547e-05/1.877, allocations: 27 kB / 0.9592 GB, free: 11.28 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008731/1.878, allocations: 291.2 kB / 0.9594 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004538/1.879, allocations: 85.84 kB / 0.9595 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001884/1.881, allocations: 0.7899 MB / 0.9603 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.531e-05/1.881, allocations: 7.375 kB / 0.9603 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.065e-05/1.881, allocations: 0 / 0.9603 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001524/1.882, allocations: 0.8035 MB / 0.9611 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005115/1.887, allocations: 1.851 MB / 0.9629 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.904e-06/1.887, allocations: 0 / 0.9629 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009288/1.888, allocations: 174.9 kB / 0.9631 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.155e-05/1.888, allocations: 2.094 kB / 0.9631 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.414e-05/1.888, allocations: 17.86 kB / 0.9631 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.06e-05/1.888, allocations: 4.719 kB / 0.9631 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/1.888, allocations: 0 / 0.9631 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002908/1.891, allocations: 1.26 MB / 0.9643 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001077/1.892, allocations: 259.6 kB / 0.9646 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003535/1.893, allocations: 13.88 kB / 0.9646 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001377/1.894, allocations: 74.72 kB / 0.9646 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001901/1.894, allocations: 40.05 kB / 0.9647 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.744e-05/1.894, allocations: 25.36 kB / 0.9647 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009918/1.895, allocations: 459.8 kB / 0.9651 GB, free: 10.01 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.785e-06/1.895, allocations: 4 kB / 0.9651 GB, free: 10.01 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00162/1.897, allocations: 352.5 kB / 0.9655 GB, free: 9.953 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 (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.0005311/1.898, allocations: 191.9 kB / 0.9657 GB, free: 9.852 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001556/1.899, allocations: 0.6704 MB / 0.9663 GB, free: 9.832 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/1.899, allocations: 0 / 0.9663 GB, free: 9.832 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006188/1.9, allocations: 367.9 kB / 0.9667 GB, free: 9.828 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002989/1.903, allocations: 0.521 MB / 0.9672 GB, free: 9.781 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004916/1.908, allocations: 2.562 MB / 0.9697 GB, free: 8.367 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009213/1.909, allocations: 1.099 MB / 0.9708 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001524/1.91, allocations: 221.4 kB / 0.971 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002582/1.911, allocations: 68.36 kB / 0.971 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of SimCode: time 1.212e-06/1.911, allocations: 0 / 0.971 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of Templates: time 0.03733/1.948, allocations: 17.77 MB / 0.9884 GB, free: 384 kB / 0.7325 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.makefile (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & ./Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)