Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Airflow.Multizone.Examples.ZonalFlow.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Airflow.Multizone.Examples.ZonalFlow") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.004775/0.004781, allocations: 354.1 kB / 15.94 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.411/1.411, allocations: 165.8 MB / 182.5 MB, free: 5.422 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.739/3.739, allocations: 410.8 MB / 0.5995 GB, free: 15.12 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001705/0.001704, allocations: 193.3 kB / 0.6662 GB, free: 6.914 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004673/0.0004675, allocations: 12 kB / 0.7423 GB, free: 8.953 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3268/0.3273, allocations: 67.45 MB / 0.8081 GB, free: 28.77 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ZonalFlow): time 0.559/0.8863, allocations: 183 MB / 0.9869 GB, free: 336 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.01134/0.8976, allocations: 6.853 MB / 0.9936 GB, free: 15.52 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00144/0.8991, allocations: 31.34 kB / 0.9936 GB, free: 15.51 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001891/0.901, allocations: 0.5869 MB / 0.9942 GB, free: 15.17 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007313/0.9084, allocations: 2.228 MB / 0.9964 GB, free: 14.16 MB / 490.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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.002934/0.9113, allocations: 0.7715 MB / 0.9971 GB, free: 13.94 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.004993/0.9163, allocations: 4.012 MB / 1.001 GB, free: 12.57 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001369/0.9177, allocations: 0.8144 MB / 1.002 GB, free: 12.26 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00282/0.9206, allocations: 1.244 MB / 1.003 GB, free: 11.81 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001665/0.9223, allocations: 1.04 MB / 1.004 GB, free: 11.46 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001607/0.9224, allocations: 56.94 kB / 1.004 GB, free: 11.46 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002503/0.925, allocations: 0.7629 MB / 1.005 GB, free: 11.25 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005488/0.9255, allocations: 441.7 kB / 1.005 GB, free: 11.07 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004491/0.926, allocations: 289.5 kB / 1.006 GB, free: 11 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002285/0.9283, allocations: 1.656 MB / 1.007 GB, free: 10.17 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.345e-06/0.9283, allocations: 0 / 1.007 GB, free: 10.17 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.547e-06/0.9283, allocations: 2.938 kB / 1.007 GB, free: 10.17 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.626e-05/0.9283, allocations: 0 / 1.007 GB, free: 10.17 MB / 490.7 MB 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.004108/0.9325, allocations: 1.475 MB / 1.009 GB, free: 9.199 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.9325, allocations: 10.84 kB / 1.009 GB, free: 9.199 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002747/0.9353, allocations: 350.7 kB / 1.009 GB, free: 9.059 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00177/0.9371, allocations: 0.814 MB / 1.01 GB, free: 8.605 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.052e-05/0.9372, allocations: 76.44 kB / 1.01 GB, free: 8.602 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001856/0.9374, allocations: 103.6 kB / 1.01 GB, free: 8.602 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002449/0.9398, allocations: 1.178 MB / 1.011 GB, free: 8.293 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.815e-05/0.9399, allocations: 6.875 kB / 1.011 GB, free: 8.289 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001386/0.94, allocations: 46.28 kB / 1.011 GB, free: 8.281 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.452e-05/0.9401, allocations: 60.09 kB / 1.011 GB, free: 8.27 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00249/0.9426, allocations: 1.234 MB / 1.012 GB, free: 8.047 MB / 490.7 MB 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.008013/0.9507, allocations: 5.052 MB / 1.017 GB, free: 4.758 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001803/0.9525, allocations: 1.155 MB / 1.018 GB, free: 4.23 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009722/0.9535, allocations: 0.4957 MB / 1.019 GB, free: 3.914 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.068e-05/0.9536, allocations: 21.42 kB / 1.019 GB, free: 3.898 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000942/0.9545, allocations: 480.4 kB / 1.019 GB, free: 3.562 MB / 490.7 MB Notification: Performance of pre-optimization done (n=76): time 3.592e-06/0.9545, allocations: 0 / 1.019 GB, free: 3.562 MB / 490.7 MB Notification: Performance of matching and sorting (n=76): time 0.002656/0.9572, allocations: 1.153 MB / 1.021 GB, free: 2.781 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.81e-05/0.9573, allocations: 60.06 kB / 1.021 GB, free: 2.711 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009079/0.9582, allocations: 0.5701 MB / 1.021 GB, free: 2.262 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.369e-05/0.9583, allocations: 40.06 kB / 1.021 GB, free: 2.227 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003727/0.9587, allocations: 451 kB / 1.022 GB, free: 1.906 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003044/0.959, allocations: 270.5 kB / 1.022 GB, free: 1.68 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.239e-05/0.9591, allocations: 15.56 kB / 1.022 GB, free: 1.676 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002288/0.9593, allocations: 386.2 kB / 1.022 GB, free: 1.32 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006778/0.96, allocations: 327.9 kB / 1.023 GB, free: 1.121 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008023/0.9608, allocations: 452.7 kB / 1.023 GB, free: 0.7695 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007873/0.9616, allocations: 399.1 kB / 1.023 GB, free: 0.543 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.782e-06/0.9616, allocations: 0 / 1.023 GB, free: 0.543 MB / 490.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001915/0.9635, allocations: 0.9255 MB / 1.024 GB, free: 15.9 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.9636, allocations: 4 kB / 1.024 GB, free: 15.9 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.9636, allocations: 4 kB / 1.024 GB, free: 15.89 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/0.9636, allocations: 7.953 kB / 1.024 GB, free: 15.89 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008901/0.9645, allocations: 154.3 kB / 1.024 GB, free: 15.74 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.088e-05/0.9646, allocations: 16.27 kB / 1.024 GB, free: 15.73 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001142/0.9657, allocations: 134.6 kB / 1.025 GB, free: 15.61 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-05/0.9658, allocations: 26.31 kB / 1.025 GB, free: 15.59 MB / 0.4949 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.0006444/0.9665, allocations: 330.2 kB / 1.025 GB, free: 15.35 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001743/0.9667, allocations: 79.06 kB / 1.025 GB, free: 15.27 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000217/0.9669, allocations: 109.9 kB / 1.025 GB, free: 15.23 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-05/0.9669, allocations: 11.95 kB / 1.025 GB, free: 15.21 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/0.9669, allocations: 3.984 kB / 1.025 GB, free: 15.21 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001716/0.9687, allocations: 1.084 MB / 1.026 GB, free: 14.3 MB / 0.4949 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.004404/0.9731, allocations: 2.298 MB / 1.028 GB, free: 12.61 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.078e-06/0.9731, allocations: 4 kB / 1.028 GB, free: 12.61 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001136/0.9743, allocations: 178.2 kB / 1.029 GB, free: 12.44 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.023e-06/0.9743, allocations: 0 / 1.029 GB, free: 12.44 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.897e-05/0.9744, allocations: 24.58 kB / 1.029 GB, free: 12.43 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.429e-06/0.9744, allocations: 4 kB / 1.029 GB, free: 12.42 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.481e-06/0.9744, allocations: 0 / 1.029 GB, free: 12.42 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00269/0.9771, allocations: 1.479 MB / 1.03 GB, free: 11.42 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005869/0.9777, allocations: 249.5 kB / 1.03 GB, free: 11.2 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001363/0.9779, allocations: 13.62 kB / 1.03 GB, free: 11.2 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009966/0.9789, allocations: 105.3 kB / 1.03 GB, free: 11.11 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.979, allocations: 49.78 kB / 1.03 GB, free: 11.06 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.102e-05/0.9791, allocations: 27.88 kB / 1.03 GB, free: 11.04 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.0006524/0.9798, allocations: 398.1 kB / 1.031 GB, free: 10.75 MB / 0.4949 GB Notification: Performance of sort global known variables: time 7.97e-07/0.9798, allocations: 0 / 1.031 GB, free: 10.75 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.001171/0.981, allocations: 371.8 kB / 1.031 GB, free: 10.41 MB / 0.4949 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.0003114/0.9813, allocations: 173.6 kB / 1.031 GB, free: 10.24 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.00159/0.9829, allocations: 0.7947 MB / 1.032 GB, free: 9.703 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 3.913e-06/0.9829, allocations: 0.6875 kB / 1.032 GB, free: 9.703 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.0007755/0.9837, allocations: 431.6 kB / 1.033 GB, free: 9.414 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003141/0.9868, allocations: 0.5623 MB / 1.033 GB, free: 8.953 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004666/0.9915, allocations: 2.674 MB / 1.036 GB, free: 6.496 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001067/0.9926, allocations: 1.153 MB / 1.037 GB, free: 5.359 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.001499/0.9941, allocations: 267.1 kB / 1.037 GB, free: 5.094 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003087/0.9945, allocations: 70.69 kB / 1.037 GB, free: 5.027 MB / 0.4949 GB Notification: Performance of SimCode: time 1.765e-06/0.9945, allocations: 4 kB / 1.037 GB, free: 5.023 MB / 0.4949 GB Notification: Performance of Templates: time 0.0414/1.036, allocations: 17.65 MB / 1.054 GB, free: 3.598 MB / 0.5105 GB