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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.448/1.448, allocations: 252 MB / 267.6 MB, free: 10.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009898/0.0009898, allocations: 177.1 kB / 327.3 MB, free: 2.207 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.465/1.465, allocations: 205.4 MB / 0.5783 GB, free: 20.21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007876/0.0007877, allocations: 98.17 kB / 0.6829 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000313/0.0003131, allocations: 9.531 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1658, allocations: 106.3 MB / 0.9008 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.5532/0.719, allocations: 186.1 MB / 1.083 GB, free: 4.207 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.008664/0.7278, allocations: 5.955 MB / 1.088 GB, free: 4.09 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001368/0.7292, allocations: 28.75 kB / 1.088 GB, free: 4.09 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001334/0.7305, allocations: 489.3 kB / 1.089 GB, free: 4.082 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.005033/0.7356, allocations: 1.952 MB / 1.091 GB, free: 3.992 MB / 0.698 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.001563/0.7371, allocations: 0.5172 MB / 1.091 GB, free: 3.977 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.00424/0.7414, allocations: 4.127 MB / 1.095 GB, free: 3.973 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001268/0.7427, allocations: 0.8459 MB / 1.096 GB, free: 3.852 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00224/0.7449, allocations: 1.091 MB / 1.097 GB, free: 3.848 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001593/0.7465, allocations: 1.068 MB / 1.098 GB, free: 3.844 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001418/0.7467, allocations: 57.91 kB / 1.098 GB, free: 3.844 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002983/0.7497, allocations: 1.13 MB / 1.099 GB, free: 3.82 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004375/0.7501, allocations: 457.8 kB / 1.1 GB, free: 3.82 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0006096/0.7507, allocations: 290.8 kB / 1.1 GB, free: 19.79 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.002088/0.7528, allocations: 1.874 MB / 1.102 GB, free: 19.65 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.7528, allocations: 0 / 1.102 GB, free: 19.65 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.463e-06/0.7528, allocations: 0 / 1.102 GB, free: 19.65 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.085e-05/0.7529, allocations: 0 / 1.102 GB, free: 19.65 MB / 0.7136 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.003334/0.7562, allocations: 1.549 MB / 1.103 GB, free: 18.84 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.7563, allocations: 9.531 kB / 1.103 GB, free: 18.84 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002034/0.7583, allocations: 346.3 kB / 1.104 GB, free: 18.77 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001204/0.7595, allocations: 0.8119 MB / 1.105 GB, free: 18.47 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.059e-05/0.7596, allocations: 80.53 kB / 1.105 GB, free: 18.47 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001284/0.7597, allocations: 108.1 kB / 1.105 GB, free: 18.47 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001911/0.7616, allocations: 1.193 MB / 1.106 GB, free: 18.39 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.873e-05/0.7617, allocations: 3.906 kB / 1.106 GB, free: 18.38 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/0.7618, allocations: 42.5 kB / 1.106 GB, free: 18.38 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-05/0.7619, allocations: 67.47 kB / 1.106 GB, free: 18.38 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001652/0.7635, allocations: 1.246 MB / 1.107 GB, free: 18.36 MB / 0.7136 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.00604/0.7696, allocations: 5.081 MB / 1.112 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001508/0.7711, allocations: 1.131 MB / 1.113 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007994/0.7719, allocations: 0.4969 MB / 1.114 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.79e-05/0.772, allocations: 19.06 kB / 1.114 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008223/0.7728, allocations: 487.3 kB / 1.114 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=76): time 4.658e-06/0.7728, allocations: 3.984 kB / 1.114 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of matching and sorting (n=76): time 0.001834/0.7747, allocations: 1.141 MB / 1.115 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.363e-05/0.7748, allocations: 67.3 kB / 1.115 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006644/0.7754, allocations: 0.5719 MB / 1.116 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.156e-05/0.7755, allocations: 40.52 kB / 1.116 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002405/0.7758, allocations: 465.3 kB / 1.117 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002154/0.776, allocations: 267 kB / 1.117 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.445e-05/0.776, allocations: 15.19 kB / 1.117 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.7762, allocations: 383.7 kB / 1.117 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004247/0.7766, allocations: 320 kB / 1.117 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004686/0.7771, allocations: 456.2 kB / 1.118 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005009/0.7776, allocations: 393.4 kB / 1.118 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.7776, allocations: 3.156 kB / 1.118 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001265/0.7789, allocations: 0.9142 MB / 1.119 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.7789, allocations: 5.062 kB / 1.119 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.7789, allocations: 2.938 kB / 1.119 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/0.7789, allocations: 9.734 kB / 1.119 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006607/0.7796, allocations: 161.1 kB / 1.119 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.376e-05/0.7796, allocations: 5.812 kB / 1.119 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001073/0.7807, allocations: 137.4 kB / 1.119 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.77e-05/0.7808, allocations: 26.78 kB / 1.119 GB, free: 14.05 MB / 0.7136 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.0005361/0.7813, allocations: 340.4 kB / 1.12 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/0.7814, allocations: 80.91 kB / 1.12 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001852/0.7816, allocations: 108.3 kB / 1.12 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/0.7816, allocations: 11.84 kB / 1.12 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.762e-05/0.7817, allocations: 3.953 kB / 1.12 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001121/0.7828, allocations: 1.073 MB / 1.121 GB, free: 13.42 MB / 0.7136 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.003223/0.786, allocations: 2.305 MB / 1.123 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.309e-06/0.786, allocations: 0 / 1.123 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008113/0.7869, allocations: 177.5 kB / 1.123 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.666e-06/0.7869, allocations: 3.312 kB / 1.123 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.926e-05/0.7869, allocations: 22.62 kB / 1.123 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.161e-06/0.7869, allocations: 6.875 kB / 1.124 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.787, allocations: 4 kB / 1.124 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001957/0.7889, allocations: 1.466 MB / 1.125 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005515/0.7895, allocations: 261.5 kB / 1.125 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/0.7896, allocations: 18.45 kB / 1.125 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009457/0.7906, allocations: 103.9 kB / 1.125 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.411e-05/0.7907, allocations: 49.86 kB / 1.125 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.436e-05/0.7907, allocations: 23.25 kB / 1.125 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0006435/0.7914, allocations: 410.9 kB / 1.126 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.51e-07/0.7914, allocations: 0 / 1.126 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001384/0.7928, allocations: 374.5 kB / 1.126 GB, free: 12.38 MB / 0.7136 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.000342/0.7931, allocations: 191.3 kB / 1.126 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001332/0.7945, allocations: 0.7855 MB / 1.127 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.7945, allocations: 0.6875 kB / 1.127 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004767/0.795, allocations: 418.1 kB / 1.127 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002634/0.7976, allocations: 0.5715 MB / 1.128 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003424/0.8011, allocations: 2.777 MB / 1.131 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006705/0.8018, allocations: 1.144 MB / 1.132 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000329/0.8021, allocations: 81.92 kB / 1.132 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of SimCode: time 8.22e-07/0.8021, allocations: 1.75 kB / 1.132 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of Templates: time 0.02317/0.8253, allocations: 15.86 MB / 1.147 GB, free: 2.051 MB / 0.7136 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)