Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow") translateModel(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.0009159/0.0009159, allocations: 99.31 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.001057/0.001057, 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 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 223.2 MB / 239.9 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9706/0.9706, allocations: 143.3 MB / 434.3 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003534/0.0003535, allocations: 15.98 kB / 0.5158 GB, free: 11.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.1844, allocations: 83.41 MB / 0.5973 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow): time 0.5057/0.6902, allocations: 168.9 MB / 0.7622 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0096/0.6998, allocations: 6.522 MB / 0.7685 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00117/0.701, allocations: 31.81 kB / 0.7686 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001852/0.7029, allocations: 0.665 MB / 0.7692 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005212/0.7081, allocations: 2.076 MB / 0.7712 GB, free: 9.871 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/IBPSA/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.00207/0.7102, allocations: 0.7849 MB / 0.772 GB, free: 9.098 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002641/0.7129, allocations: 1.853 MB / 0.7738 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001017/0.7139, allocations: 0.814 MB / 0.7746 GB, free: 6.414 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002117/0.716, allocations: 1.141 MB / 0.7757 GB, free: 5.27 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008748/0.7169, allocations: 0.6538 MB / 0.7764 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000115/0.717, allocations: 56 kB / 0.7764 GB, free: 4.559 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002105/0.7191, allocations: 0.8658 MB / 0.7773 GB, free: 3.691 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003846/0.7195, allocations: 403 kB / 0.7777 GB, free: 3.297 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003112/0.7199, allocations: 289.1 kB / 0.7779 GB, free: 3.008 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001799/0.7217, allocations: 1.728 MB / 0.7796 GB, free: 1.277 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.7217, allocations: 0 / 0.7796 GB, free: 1.277 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.513e-06/0.7217, allocations: 0 / 0.7796 GB, free: 1.277 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.473e-05/0.7217, allocations: 4 kB / 0.7796 GB, free: 1.273 MB / 0.5919 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.003408/0.7251, allocations: 1.48 MB / 0.7811 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.7252, allocations: 8.031 kB / 0.7811 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002145/0.7273, allocations: 350.1 kB / 0.7814 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001402/0.7287, allocations: 0.8199 MB / 0.7822 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.753e-05/0.7288, allocations: 78.02 kB / 0.7823 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001485/0.7289, allocations: 99.98 kB / 0.7824 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001826/0.7308, allocations: 1.18 MB / 0.7835 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.453e-05/0.7308, allocations: 0 / 0.7835 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/0.7309, allocations: 43.95 kB / 0.7836 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.719e-05/0.731, allocations: 62.06 kB / 0.7836 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001827/0.7328, allocations: 1.242 MB / 0.7848 GB, free: 11.79 MB / 0.6075 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.006102/0.739, allocations: 5.07 MB / 0.7898 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001407/0.7404, allocations: 1.162 MB / 0.7909 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 5.613e-05/0.7404, allocations: 16.8 kB / 0.7909 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006912/0.7411, allocations: 488.1 kB / 0.7914 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=76): time 2.485e-06/0.7412, allocations: 0 / 0.7914 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76): time 0.001967/0.7431, allocations: 1.161 MB / 0.7925 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.355e-05/0.7432, allocations: 60.06 kB / 0.7926 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006933/0.7439, allocations: 0.5705 MB / 0.7932 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.39e-05/0.744, allocations: 45.64 kB / 0.7932 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003112/0.7443, allocations: 455.7 kB / 0.7936 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002292/0.7445, allocations: 276 kB / 0.7939 GB, free: 1.926 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.319e-05/0.7446, allocations: 8 kB / 0.7939 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.7447, allocations: 390.7 kB / 0.7943 GB, free: 1.527 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00046/0.7452, allocations: 337.8 kB / 0.7946 GB, free: 1.195 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005862/0.7458, allocations: 436.8 kB / 0.795 GB, free: 0.7305 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005901/0.7464, allocations: 403 kB / 0.7954 GB, free: 348 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.7464, allocations: 4 kB / 0.7954 GB, free: 344 kB / 0.6075 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001285/0.7477, allocations: 0.9219 MB / 0.7963 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.7477, allocations: 8.781 kB / 0.7963 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.7478, allocations: 7.984 kB / 0.7963 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.7478, allocations: 4 kB / 0.7963 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006481/0.7484, allocations: 151.8 kB / 0.7965 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.14e-05/0.7485, allocations: 4 kB / 0.7965 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001019/0.7495, allocations: 159.5 kB / 0.7966 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.159e-05/0.7496, allocations: 27.98 kB / 0.7967 GB, free: 15.05 MB / 0.6231 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.0005045/0.7501, allocations: 345.4 kB / 0.797 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001088/0.7502, allocations: 79.06 kB / 0.7971 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002006/0.7504, allocations: 107.8 kB / 0.7972 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.7504, allocations: 8 kB / 0.7972 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.7504, allocations: 0 / 0.7972 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001186/0.7516, allocations: 1.093 MB / 0.7982 GB, free: 13.33 MB / 0.6231 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.003085/0.7547, allocations: 2.27 MB / 0.8005 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.742e-06/0.7547, allocations: 4.75 kB / 0.8005 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008262/0.7556, allocations: 175.8 kB / 0.8006 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.7556, allocations: 0 / 0.8006 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.486e-05/0.7556, allocations: 23.98 kB / 0.8006 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.242e-06/0.7556, allocations: 4 kB / 0.8007 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.7557, allocations: 4.766 kB / 0.8007 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001784/0.7574, allocations: 1.364 MB / 0.802 GB, free: 9.375 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005403/0.758, allocations: 252 kB / 0.8022 GB, free: 9.109 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/0.7581, allocations: 16 kB / 0.8022 GB, free: 9.094 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008157/0.7589, allocations: 103.7 kB / 0.8023 GB, free: 8.992 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.29e-05/0.759, allocations: 40.59 kB / 0.8024 GB, free: 8.953 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.359e-05/0.7591, allocations: 24.88 kB / 0.8024 GB, free: 8.93 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005321/0.7596, allocations: 411 kB / 0.8028 GB, free: 8.531 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7596, allocations: 0 / 0.8028 GB, free: 8.531 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0009773/0.7606, allocations: 370.9 kB / 0.8032 GB, free: 8.168 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.medium.Xi[1],rooA.dynBal.U,rooA.dynBal.m,rooB.dynBal.medium.Xi[1],rooB.dynBal.U,rooB.dynBal.m) * 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.0003039/0.7609, allocations: 195.4 kB / 0.8033 GB, free: 7.973 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001164/0.7621, allocations: 0.7941 MB / 0.8041 GB, free: 7.18 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.7621, allocations: 0 / 0.8041 GB, free: 7.18 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005379/0.7627, allocations: 431.5 kB / 0.8045 GB, free: 6.758 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002488/0.7652, allocations: 0.5462 MB / 0.8051 GB, free: 6.234 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003564/0.7687, allocations: 2.692 MB / 0.8077 GB, free: 3.523 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007358/0.7695, allocations: 1.159 MB / 0.8088 GB, free: 2.336 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0009718/0.7705, allocations: 275.2 kB / 0.8091 GB, free: 2.062 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002118/0.7707, allocations: 79.42 kB / 0.8092 GB, free: 1.988 MB / 0.6231 GB Notification: Performance of SimCode: time 4.21e-07/0.7707, allocations: 0 / 0.8092 GB, free: 1.988 MB / 0.6231 GB Notification: Performance of Templates: time 0.02967/0.8004, allocations: 17.59 MB / 0.8263 GB, free: 0.6797 MB / 0.6387 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.sim & ./BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) Environment - environmentSimulation: