Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.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.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow") translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001335/0.001334, 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.002157/0.002156, allocations: 195.9 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.21/2.21, allocations: 205.1 MB / 222 MB, free: 4.754 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.607/1.607, allocations: 251.6 MB / 0.5088 GB, free: 3.359 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.001765/0.001765, allocations: 67.91 kB / 0.6216 GB, free: 2.004 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7941/0.7959, allocations: 104.7 MB / 0.7238 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 1.017/1.813, allocations: 202.1 MB / 0.9212 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01413/1.827, allocations: 6.427 MB / 0.9274 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00293/1.83, allocations: 35.06 kB / 0.9275 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.003072/1.833, allocations: 0.6489 MB / 0.9281 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01131/1.844, allocations: 2.534 MB / 0.9306 GB, free: 1.664 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Airflow/Multizone/ZonalFlow_ACS.mo:29:3-37:11:writable] Warning: initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition ‘zonFlo.useDefaultProperties and initial()‘. Notification: Performance of NFTyping.typeClassSections: time 0.00368/1.848, allocations: 0.6785 MB / 0.9312 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01007/1.858, allocations: 4.953 MB / 0.9361 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00262/1.861, allocations: 0.9852 MB / 0.937 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004275/1.865, allocations: 1.121 MB / 0.9381 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00413/1.869, allocations: 1.161 MB / 0.9393 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003964/1.87, allocations: 72.75 kB / 0.9393 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007851/1.878, allocations: 2.732 MB / 0.942 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001246/1.879, allocations: 485.5 kB / 0.9425 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001869/1.881, allocations: 0.6924 MB / 0.9431 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.007173/1.888, allocations: 2.926 MB / 0.946 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.07e-05/1.888, allocations: 9.781 kB / 0.946 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.545e-06/1.888, allocations: 0 / 0.946 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.881e-05/1.888, allocations: 0 / 0.946 GB, free: 1.285 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: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.005139/1.893, allocations: 1.784 MB / 0.9478 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/1.893, allocations: 10.19 kB / 0.9478 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002296/1.896, allocations: 342.9 kB / 0.9481 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001467/1.897, allocations: 0.8438 MB / 0.9489 GB, free: 16.06 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.78e-05/1.897, allocations: 73.23 kB / 0.949 GB, free: 16.06 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001467/1.897, allocations: 107 kB / 0.9491 GB, free: 16.06 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002/1.899, allocations: 1.207 MB / 0.9503 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.646e-05/1.899, allocations: 1.875 kB / 0.9503 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001044/1.899, allocations: 44.17 kB / 0.9503 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.984e-05/1.9, allocations: 63.91 kB / 0.9504 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00176/1.901, allocations: 1.253 MB / 0.9516 GB, free: 15.95 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.006361/1.908, allocations: 5.074 MB / 0.9566 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001369/1.909, allocations: 1.142 MB / 0.9577 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006451/1.91, allocations: 0.4967 MB / 0.9582 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 5.533e-05/1.91, allocations: 15.44 kB / 0.9582 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007021/1.91, allocations: 0.4903 MB / 0.9586 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=76): time 2.635e-06/1.911, allocations: 0 / 0.9586 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of matching and sorting (n=76): time 0.001886/1.912, allocations: 1.14 MB / 0.9598 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.562e-05/1.912, allocations: 59.94 kB / 0.9598 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007148/1.913, allocations: 0.5852 MB / 0.9604 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.964e-05/1.913, allocations: 40.83 kB / 0.9604 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003054/1.914, allocations: 464.4 kB / 0.9609 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002609/1.914, allocations: 271.2 kB / 0.9611 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002235/1.914, allocations: 128 kB / 0.9612 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002239/1.914, allocations: 383 kB / 0.9616 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005672/1.915, allocations: 326.2 kB / 0.9619 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000638/1.916, allocations: 458.4 kB / 0.9624 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001074/1.917, allocations: 0.8181 MB / 0.9632 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/1.917, allocations: 0 / 0.9632 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001396/1.918, allocations: 0.9191 MB / 0.9641 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/1.918, allocations: 9 kB / 0.9641 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/1.918, allocations: 2.438 kB / 0.9641 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/1.918, allocations: 6.531 kB / 0.9641 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006419/1.919, allocations: 163.1 kB / 0.9642 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.52e-05/1.919, allocations: 11.64 kB / 0.9642 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001125/1.92, allocations: 131 kB / 0.9644 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.448e-05/1.92, allocations: 26.58 kB / 0.9644 GB, free: 11.52 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 91 * 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.0005833/1.921, allocations: 344.6 kB / 0.9647 GB, free: 11.4 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001295/1.921, allocations: 82.88 kB / 0.9648 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002198/1.921, allocations: 110.3 kB / 0.9649 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.244e-05/1.921, allocations: 5.797 kB / 0.9649 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.991e-05/1.921, allocations: 3.188 kB / 0.9649 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001198/1.922, allocations: 1.079 MB / 0.966 GB, free: 10.89 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 postOpt removeSimpleEquations (simulation): time 0.003334/1.926, allocations: 2.306 MB / 0.9682 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/1.926, allocations: 2.344 kB / 0.9682 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007684/1.926, allocations: 175.1 kB / 0.9684 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/1.926, allocations: 7.438 kB / 0.9684 GB, free: 10.37 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.879e-05/1.926, allocations: 22.17 kB / 0.9684 GB, free: 10.37 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/1.926, allocations: 3.375 kB / 0.9684 GB, free: 10.37 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/1.926, allocations: 0 / 0.9684 GB, free: 10.37 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001706/1.928, allocations: 1.475 MB / 0.9699 GB, free: 10.17 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004506/1.929, allocations: 254.6 kB / 0.9701 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/1.929, allocations: 15.36 kB / 0.9701 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000837/1.93, allocations: 115.5 kB / 0.9702 GB, free: 10 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.663e-05/1.93, allocations: 41.22 kB / 0.9703 GB, free: 10 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.712e-05/1.93, allocations: 30.73 kB / 0.9703 GB, free: 9.996 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004649/1.93, allocations: 417.5 kB / 0.9707 GB, free: 9.902 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/1.93, allocations: 0 / 0.9707 GB, free: 9.902 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009864/1.931, allocations: 373.2 kB / 0.9711 GB, free: 9.852 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.U,rooA.dynBal.m,rooA.dynBal.mXi[1],rooB.dynBal.U,rooB.dynBal.m,rooB.dynBal.mXi[1]) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 76 * 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.0003023/1.932, allocations: 182.4 kB / 0.9712 GB, free: 9.746 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001168/1.933, allocations: 0.7982 MB / 0.972 GB, free: 9.73 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/1.933, allocations: 2 kB / 0.972 GB, free: 9.73 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005468/1.933, allocations: 421.9 kB / 0.9724 GB, free: 9.723 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002458/1.936, allocations: 0.563 MB / 0.973 GB, free: 9.68 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003728/1.939, allocations: 2.629 MB / 0.9755 GB, free: 8.301 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00115/1.941, allocations: 1.139 MB / 0.9766 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001313/1.942, allocations: 278.8 kB / 0.9769 GB, free: 7.531 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002484/1.942, allocations: 74.2 kB / 0.977 GB, free: 7.523 MB / 0.7325 GB Notification: Performance of SimCode: time 3.627e-06/1.942, allocations: 0 / 0.977 GB, free: 7.523 MB / 0.7325 GB Notification: Performance of Templates: time 0.0304/1.973, allocations: 18.58 MB / 0.9951 GB, free: 11.75 MB / 0.7481 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & ./Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)