Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow") translateModel(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001286/0.001286, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001203/0.001203, allocations: 194.7 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002195/0.002195, allocations: 290.4 kB / 290.4 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.023/1.023, allocations: 169.2 MB / 0.4978 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001712/0.001712, allocations: 90.12 kB / 0.5947 GB, free: 28.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1827/0.1844, allocations: 86.99 MB / 0.6796 GB, free: 1.074 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow): time 0.5679/0.7524, allocations: 201.5 MB / 0.8764 GB, free: 7.57 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01054/0.763, allocations: 6.346 MB / 0.8826 GB, free: 2.402 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002182/0.7652, allocations: 31.59 kB / 0.8827 GB, free: 2.391 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002483/0.7677, allocations: 0.6566 MB / 0.8833 GB, free: 1.875 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007793/0.7756, allocations: 2.519 MB / 0.8858 GB, free: 15.98 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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.002266/0.7779, allocations: 0.6407 MB / 0.8864 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004501/0.7824, allocations: 3.276 MB / 0.8896 GB, free: 13.65 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002056/0.7845, allocations: 1.112 MB / 0.8907 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00333/0.7878, allocations: 1.266 MB / 0.8919 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003211/0.791, allocations: 1.171 MB / 0.8931 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0005747/0.7916, allocations: 129.6 kB / 0.8932 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006061/0.7977, allocations: 2.471 MB / 0.8956 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0009887/0.7987, allocations: 0.5108 MB / 0.8961 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001989/0.8007, allocations: 0.7423 MB / 0.8968 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.006313/0.8071, allocations: 2.937 MB / 0.8997 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.8071, allocations: 0 / 0.8997 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.784e-06/0.8071, allocations: 0 / 0.8997 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.58e-05/0.8072, allocations: 0 / 0.8997 GB, free: 6.496 MB / 0.6075 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.005329/0.8125, allocations: 1.777 MB / 0.9014 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.8126, allocations: 12.03 kB / 0.9014 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002611/0.8152, allocations: 338.2 kB / 0.9018 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001639/0.8169, allocations: 0.8466 MB / 0.9026 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.481e-05/0.817, allocations: 75.39 kB / 0.9027 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001941/0.8172, allocations: 104 kB / 0.9028 GB, free: 3.258 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002196/0.8194, allocations: 1.195 MB / 0.9039 GB, free: 2.031 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.911e-05/0.8194, allocations: 0 / 0.9039 GB, free: 2.031 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001166/0.8195, allocations: 51.91 kB / 0.904 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-05/0.8196, allocations: 58.08 kB / 0.904 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002028/0.8217, allocations: 1.25 MB / 0.9053 GB, free: 0.6641 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.007128/0.8288, allocations: 5.062 MB / 0.9102 GB, free: 11.15 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001607/0.8304, allocations: 1.165 MB / 0.9113 GB, free: 9.906 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007588/0.8312, allocations: 0.5012 MB / 0.9118 GB, free: 9.398 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 7.097e-05/0.8313, allocations: 16.8 kB / 0.9118 GB, free: 9.383 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007998/0.8321, allocations: 488.2 kB / 0.9123 GB, free: 8.895 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=76): time 3.036e-06/0.8321, allocations: 0 / 0.9123 GB, free: 8.895 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76): time 0.002121/0.8343, allocations: 1.161 MB / 0.9134 GB, free: 7.723 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.021e-05/0.8343, allocations: 64 kB / 0.9135 GB, free: 7.648 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008615/0.8352, allocations: 0.5744 MB / 0.9141 GB, free: 7.062 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.535e-05/0.8353, allocations: 41.7 kB / 0.9141 GB, free: 7.016 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003118/0.8356, allocations: 459.6 kB / 0.9145 GB, free: 6.559 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003229/0.8359, allocations: 268.1 kB / 0.9148 GB, free: 6.293 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002014/0.8361, allocations: 126.7 kB / 0.9149 GB, free: 6.16 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002287/0.8364, allocations: 390.8 kB / 0.9153 GB, free: 5.77 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004921/0.8369, allocations: 329.8 kB / 0.9156 GB, free: 5.449 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005847/0.8375, allocations: 446.3 kB / 0.916 GB, free: 4.98 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001146/0.8386, allocations: 0.8311 MB / 0.9168 GB, free: 4.113 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.8386, allocations: 0 / 0.9168 GB, free: 4.113 MB / 0.6231 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001461/0.8401, allocations: 0.926 MB / 0.9177 GB, free: 3.18 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/0.8401, allocations: 8.062 kB / 0.9178 GB, free: 3.172 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.8402, allocations: 4 kB / 0.9178 GB, free: 3.168 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/0.8402, allocations: 8 kB / 0.9178 GB, free: 3.16 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007062/0.8409, allocations: 159.7 kB / 0.9179 GB, free: 3.004 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.762e-05/0.8409, allocations: 8 kB / 0.9179 GB, free: 2.996 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001122/0.8421, allocations: 159.2 kB / 0.9181 GB, free: 2.84 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.76e-05/0.8421, allocations: 24 kB / 0.9181 GB, free: 2.816 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000569/0.8427, allocations: 333.4 kB / 0.9184 GB, free: 2.484 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001929/0.8429, allocations: 79.06 kB / 0.9185 GB, free: 2.406 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002467/0.8432, allocations: 111.7 kB / 0.9186 GB, free: 2.289 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.435e-06/0.8432, allocations: 11.94 kB / 0.9186 GB, free: 2.277 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.197e-05/0.8432, allocations: 1.875 kB / 0.9186 GB, free: 2.277 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001237/0.8444, allocations: 1.101 MB / 0.9197 GB, free: 1.09 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.003748/0.8482, allocations: 2.309 MB / 0.9219 GB, free: 14.69 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-06/0.8482, allocations: 0 / 0.9219 GB, free: 14.69 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008843/0.8491, allocations: 171.9 kB / 0.9221 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.508e-05/0.8491, allocations: 4 kB / 0.9221 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-05/0.8492, allocations: 23.92 kB / 0.9221 GB, free: 14.49 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.8492, allocations: 7.938 kB / 0.9221 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.8492, allocations: 0 / 0.9221 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001964/0.8512, allocations: 1.35 MB / 0.9235 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006165/0.8518, allocations: 252 kB / 0.9237 GB, free: 12.85 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001517/0.852, allocations: 16 kB / 0.9237 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009519/0.853, allocations: 106.9 kB / 0.9238 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.149e-05/0.8531, allocations: 42.59 kB / 0.9239 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.129e-05/0.8531, allocations: 24 kB / 0.9239 GB, free: 12.67 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000519/0.8536, allocations: 419 kB / 0.9243 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.91e-07/0.8537, allocations: 0 / 0.9243 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009682/0.8546, allocations: 371 kB / 0.9246 GB, free: 11.91 MB / 0.6387 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 (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.0003197/0.855, allocations: 176.9 kB / 0.9248 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001841/0.8568, allocations: 1.044 MB / 0.9258 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.052e-06/0.8568, allocations: 0 / 0.9258 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005564/0.8574, allocations: 427.4 kB / 0.9262 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002594/0.86, allocations: 0.5921 MB / 0.9268 GB, free: 9.684 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003781/0.8638, allocations: 2.633 MB / 0.9294 GB, free: 7.02 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007262/0.8645, allocations: 1.139 MB / 0.9305 GB, free: 5.855 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001054/0.8656, allocations: 275.1 kB / 0.9308 GB, free: 5.582 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002602/0.8659, allocations: 75.42 kB / 0.9308 GB, free: 5.508 MB / 0.6387 GB Notification: Performance of SimCode: time 6.21e-07/0.8659, allocations: 0 / 0.9308 GB, free: 5.508 MB / 0.6387 GB Notification: Performance of Templates: time 0.03263/0.8985, allocations: 18.99 MB / 0.9494 GB, free: 2.785 MB / 0.6544 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)