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.0009848/0.0009849, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001056/0.001057, allocations: 195.7 kB / 16.14 MB, free: 6.652 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.319/1.319, allocations: 205.1 MB / 222 MB, free: 4.977 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.621/1.621, allocations: 292.2 MB / 0.5484 GB, free: 13.71 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.001333/0.001334, allocations: 67.88 kB / 0.6708 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2092/0.2106, allocations: 114.6 MB / 0.7827 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.6429/0.8535, allocations: 201.9 MB / 0.9798 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01013/0.8637, allocations: 6.385 MB / 0.9861 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002264/0.866, allocations: 28.47 kB / 0.9861 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002285/0.8683, allocations: 0.6442 MB / 0.9867 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.007933/0.8763, allocations: 2.518 MB / 0.9892 GB, free: 5.199 MB / 0.7325 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.002209/0.8785, allocations: 0.6255 MB / 0.9898 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.006281/0.8848, allocations: 4.81 MB / 0.9945 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001472/0.8863, allocations: 0.9649 MB / 0.9954 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002779/0.8891, allocations: 1.082 MB / 0.9965 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00285/0.892, allocations: 1.143 MB / 0.9976 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002509/0.8922, allocations: 72 kB / 0.9977 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005707/0.898, allocations: 2.727 MB / 1 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0007862/0.8988, allocations: 459 kB / 1.001 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.00133/0.9001, allocations: 0.6909 MB / 1.001 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.005826/0.906, allocations: 2.88 MB / 1.004 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/0.906, allocations: 4 kB / 1.004 GB, free: 1.977 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.132e-06/0.906, allocations: 0 / 1.004 GB, free: 1.977 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.634e-05/0.9061, allocations: 0 / 1.004 GB, free: 1.977 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: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.004526/0.9106, allocations: 1.76 MB / 1.006 GB, free: 16.94 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.9107, allocations: 7.219 kB / 1.006 GB, free: 16.94 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002357/0.913, allocations: 349.2 kB / 1.006 GB, free: 16.85 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001351/0.9144, allocations: 0.8347 MB / 1.007 GB, free: 16.33 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.702e-05/0.9144, allocations: 78.75 kB / 1.007 GB, free: 16.3 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001436/0.9146, allocations: 100.2 kB / 1.007 GB, free: 16.27 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00177/0.9164, allocations: 1.188 MB / 1.008 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.618e-05/0.9164, allocations: 0 / 1.008 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/0.9165, allocations: 45.16 kB / 1.009 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.427e-05/0.9166, allocations: 58.08 kB / 1.009 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001828/0.9184, allocations: 1.246 MB / 1.01 GB, free: 14.92 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.006361/0.9248, allocations: 5.054 MB / 1.015 GB, free: 10.7 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001344/0.9262, allocations: 1.145 MB / 1.016 GB, free: 9.883 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006745/0.9269, allocations: 0.5051 MB / 1.016 GB, free: 9.629 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 5.909e-05/0.9269, allocations: 19.08 kB / 1.016 GB, free: 9.625 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007346/0.9277, allocations: 485.5 kB / 1.017 GB, free: 9.328 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=76): time 3.005e-06/0.9277, allocations: 0 / 1.017 GB, free: 9.328 MB / 0.7481 GB Notification: Performance of matching and sorting (n=76): time 0.002005/0.9297, allocations: 1.152 MB / 1.018 GB, free: 8.75 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.311e-05/0.9298, allocations: 63 kB / 1.018 GB, free: 8.684 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007339/0.9305, allocations: 0.5694 MB / 1.019 GB, free: 8.344 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 7.577e-05/0.9306, allocations: 42.48 kB / 1.019 GB, free: 8.301 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003584/0.931, allocations: 456.2 kB / 1.019 GB, free: 7.902 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003122/0.9313, allocations: 276.6 kB / 1.019 GB, free: 7.668 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002188/0.9315, allocations: 124.4 kB / 1.019 GB, free: 7.594 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001934/0.9317, allocations: 383.6 kB / 1.02 GB, free: 7.227 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000493/0.9322, allocations: 326.7 kB / 1.02 GB, free: 7.066 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000557/0.9328, allocations: 460.8 kB / 1.021 GB, free: 6.75 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001085/0.9339, allocations: 0.8256 MB / 1.021 GB, free: 6.262 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.9339, allocations: 2.562 kB / 1.021 GB, free: 6.262 MB / 0.7481 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001436/0.9353, allocations: 0.923 MB / 1.022 GB, free: 5.801 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/0.9353, allocations: 7.5 kB / 1.022 GB, free: 5.801 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.9354, allocations: 6.672 kB / 1.022 GB, free: 5.797 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.505e-05/0.9354, allocations: 6.219 kB / 1.022 GB, free: 5.797 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006907/0.9361, allocations: 164.6 kB / 1.022 GB, free: 5.766 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.657e-05/0.9361, allocations: 11.38 kB / 1.022 GB, free: 5.762 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001071/0.9372, allocations: 134 kB / 1.023 GB, free: 5.688 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.023e-05/0.9373, allocations: 34.14 kB / 1.023 GB, free: 5.672 MB / 0.7481 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.0005901/0.9379, allocations: 331 kB / 1.023 GB, free: 5.438 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001494/0.938, allocations: 78.53 kB / 1.023 GB, free: 5.398 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002059/0.9382, allocations: 105.5 kB / 1.023 GB, free: 5.316 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.258e-06/0.9383, allocations: 8.344 kB / 1.023 GB, free: 5.316 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.139e-05/0.9383, allocations: 7.938 kB / 1.023 GB, free: 5.309 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001264/0.9395, allocations: 1.089 MB / 1.024 GB, free: 4.504 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 postOpt removeSimpleEquations (simulation): time 0.003782/0.9433, allocations: 2.3 MB / 1.026 GB, free: 2.941 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.9434, allocations: 0 / 1.026 GB, free: 2.941 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008813/0.9443, allocations: 183.8 kB / 1.027 GB, free: 2.906 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.747e-06/0.9443, allocations: 5.156 kB / 1.027 GB, free: 2.906 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.085e-05/0.9443, allocations: 16.38 kB / 1.027 GB, free: 2.895 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.003e-06/0.9443, allocations: 3.062 kB / 1.027 GB, free: 2.895 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.9444, allocations: 0 / 1.027 GB, free: 2.895 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00208/0.9464, allocations: 1.482 MB / 1.028 GB, free: 2.047 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006003/0.9471, allocations: 252.7 kB / 1.028 GB, free: 1.836 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/0.9472, allocations: 20.31 kB / 1.028 GB, free: 1.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008171/0.948, allocations: 103.9 kB / 1.028 GB, free: 1.77 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/0.9481, allocations: 42.78 kB / 1.028 GB, free: 1.75 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.079e-05/0.9482, allocations: 26.73 kB / 1.028 GB, free: 1.742 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0005467/0.9488, allocations: 406.5 kB / 1.029 GB, free: 1.504 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9488, allocations: 0 / 1.029 GB, free: 1.504 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001051/0.9498, allocations: 365.5 kB / 1.029 GB, free: 1.434 MB / 0.7481 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.0003436/0.9502, allocations: 184.4 kB / 1.029 GB, free: 1.305 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001222/0.9514, allocations: 0.8096 MB / 1.03 GB, free: 0.9375 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.9514, allocations: 0 / 1.03 GB, free: 0.9375 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005177/0.952, allocations: 427.5 kB / 1.031 GB, free: 0.7539 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002379/0.9543, allocations: 0.559 MB / 1.031 GB, free: 488 kB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003515/0.9579, allocations: 2.599 MB / 1.034 GB, free: 14.69 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000648/0.9585, allocations: 1.135 MB / 1.035 GB, free: 13.79 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001087/0.9596, allocations: 265.8 kB / 1.035 GB, free: 13.68 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002318/0.9599, allocations: 80.98 kB / 1.035 GB, free: 13.66 MB / 0.7637 GB Notification: Performance of SimCode: time 5.71e-07/0.9599, allocations: 0 / 1.035 GB, free: 13.66 MB / 0.7637 GB Notification: Performance of Templates: time 0.02834/0.9882, allocations: 18.32 MB / 1.053 GB, free: 12.49 MB / 0.7794 GB make -j1 -f Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile (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)