Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow") translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.0009691/0.0009694, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0008996/0.0008997, allocations: 177.3 kB / 15.94 MB, free: 228 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.358/1.358, allocations: 205.4 MB / 222.1 MB, free: 5.727 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.5 MB / 0.5497 GB, free: 14.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.0004917/0.0004917, allocations: 11.97 kB / 0.6735 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2037/0.2042, allocations: 116.3 MB / 0.7871 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.5721/0.7764, allocations: 168.7 MB / 0.9519 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.009435/0.7859, allocations: 6.453 MB / 0.9582 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001667/0.7876, allocations: 23.97 kB / 0.9582 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002183/0.7898, allocations: 0.6598 MB / 0.9589 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006728/0.7965, allocations: 2.029 MB / 0.9608 GB, free: 5.152 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.002594/0.7992, allocations: 0.7703 MB / 0.9616 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003384/0.8025, allocations: 1.831 MB / 0.9634 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001359/0.8039, allocations: 0.8174 MB / 0.9642 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002911/0.8068, allocations: 1.14 MB / 0.9653 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001528/0.8084, allocations: 0.6539 MB / 0.9659 GB, free: 5 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001442/0.8085, allocations: 56 kB / 0.966 GB, free: 5 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003037/0.8116, allocations: 0.8653 MB / 0.9668 GB, free: 5 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004761/0.8121, allocations: 396.7 kB / 0.9672 GB, free: 5 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006053/0.8127, allocations: 286.8 kB / 0.9675 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002391/0.8151, allocations: 1.64 MB / 0.9691 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.8151, allocations: 0 / 0.9691 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.517e-06/0.8151, allocations: 0 / 0.9691 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.001e-05/0.8152, allocations: 0 / 0.9691 GB, free: 4.852 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: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.006059/0.8212, allocations: 1.479 MB / 0.9705 GB, free: 20.08 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/0.8213, allocations: 8.969 kB / 0.9705 GB, free: 20.08 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00277/0.8241, allocations: 349.5 kB / 0.9709 GB, free: 20.01 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001913/0.826, allocations: 0.7981 MB / 0.9717 GB, free: 19.71 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.604e-05/0.8261, allocations: 80.41 kB / 0.9717 GB, free: 19.71 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001582/0.8263, allocations: 102.8 kB / 0.9718 GB, free: 19.71 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001913/0.8282, allocations: 1.183 MB / 0.973 GB, free: 19.62 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.57e-05/0.8282, allocations: 0 / 0.973 GB, free: 19.62 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001001/0.8283, allocations: 44.67 kB / 0.973 GB, free: 19.62 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.349e-05/0.8284, allocations: 60.23 kB / 0.9731 GB, free: 19.61 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001717/0.8301, allocations: 1.236 MB / 0.9743 GB, free: 19.59 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.006426/0.8366, allocations: 5.047 MB / 0.9792 GB, free: 16.92 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001193/0.8378, allocations: 1.156 MB / 0.9803 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 5.781e-05/0.8378, allocations: 14.84 kB / 0.9804 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006255/0.8385, allocations: 484.5 kB / 0.9808 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=76): time 3.536e-06/0.8385, allocations: 0 / 0.9808 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of matching and sorting (n=76): time 0.001702/0.8402, allocations: 1.16 MB / 0.982 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.514e-05/0.8403, allocations: 60.03 kB / 0.982 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005739/0.8408, allocations: 0.5609 MB / 0.9826 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.308e-05/0.8409, allocations: 45.69 kB / 0.9826 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002243/0.8411, allocations: 450.5 kB / 0.983 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002161/0.8414, allocations: 271.9 kB / 0.9833 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.475e-05/0.8414, allocations: 17.94 kB / 0.9833 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.8416, allocations: 382.9 kB / 0.9837 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003899/0.842, allocations: 333.3 kB / 0.984 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004625/0.8424, allocations: 450.1 kB / 0.9844 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004684/0.8429, allocations: 397.7 kB / 0.9848 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.8429, allocations: 0 / 0.9848 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001142/0.8441, allocations: 0.9322 MB / 0.9857 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.8441, allocations: 6.031 kB / 0.9857 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.8441, allocations: 6.312 kB / 0.9857 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.8441, allocations: 5.375 kB / 0.9857 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006309/0.8448, allocations: 155.9 kB / 0.9859 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.283e-05/0.8448, allocations: 9.703 kB / 0.9859 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001052/0.8458, allocations: 135 kB / 0.986 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.741e-05/0.8459, allocations: 29.88 kB / 0.986 GB, free: 14.4 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005333/0.8464, allocations: 333.8 kB / 0.9864 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.8466, allocations: 76.59 kB / 0.9864 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001732/0.8467, allocations: 106.5 kB / 0.9865 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/0.8467, allocations: 9.031 kB / 0.9865 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.355e-05/0.8468, allocations: 0 / 0.9865 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001031/0.8478, allocations: 1.087 MB / 0.9876 GB, free: 13.66 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.00302/0.8508, allocations: 2.269 MB / 0.9898 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.8508, allocations: 2.156 kB / 0.9898 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007839/0.8516, allocations: 180.8 kB / 0.99 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.666e-06/0.8517, allocations: 3.312 kB / 0.99 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.705e-05/0.8517, allocations: 16.28 kB / 0.99 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.171e-06/0.8517, allocations: 8.625 kB / 0.99 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.8517, allocations: 2.938 kB / 0.99 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001638/0.8534, allocations: 1.492 MB / 0.9915 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005523/0.8539, allocations: 247.3 kB / 0.9917 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.854, allocations: 20.52 kB / 0.9917 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00076/0.8548, allocations: 98.97 kB / 0.9918 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.689e-05/0.8549, allocations: 49.12 kB / 0.9919 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.814e-05/0.855, allocations: 29.8 kB / 0.9919 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004221/0.8554, allocations: 399.6 kB / 0.9923 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.8e-07/0.8554, allocations: 0 / 0.9923 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000959/0.8564, allocations: 370.4 kB / 0.9926 GB, free: 11.97 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 (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.0002785/0.8566, allocations: 176.9 kB / 0.9928 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001024/0.8577, allocations: 0.7998 MB / 0.9936 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.8577, allocations: 0 / 0.9936 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004524/0.8581, allocations: 428.5 kB / 0.994 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002333/0.8605, allocations: 0.5557 MB / 0.9945 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003287/0.8638, allocations: 2.662 MB / 0.9971 GB, free: 9.941 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006544/0.8645, allocations: 1.157 MB / 0.9983 GB, free: 9.062 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001052/0.8655, allocations: 269.9 kB / 0.9985 GB, free: 8.941 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002097/0.8657, allocations: 76.52 kB / 0.9986 GB, free: 8.93 MB / 0.7325 GB Notification: Performance of SimCode: time 1.293e-06/0.8657, allocations: 1.859 kB / 0.9986 GB, free: 8.93 MB / 0.7325 GB Notification: Performance of Templates: time 0.02703/0.8928, allocations: 17.61 MB / 1.016 GB, free: 14.13 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & ./Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) Environment - environmentSimulation: