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.001172/0.001172, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 194.4 kB / 16.53 MB, free: 6.391 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.39/1.39, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002202/0.002202, allocations: 294.6 kB / 290.7 MB, free: 1.988 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9543/0.9543, allocations: 169.3 MB / 0.4982 GB, free: 13.87 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001751/0.001751, allocations: 93.52 kB / 0.5952 GB, free: 27.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2346/0.2364, allocations: 86.99 MB / 0.6802 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow): time 0.6609/0.8974, allocations: 204.1 MB / 0.8795 GB, free: 5.078 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01139/0.9088, allocations: 6.361 MB / 0.8858 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002301/0.9111, allocations: 36.78 kB / 0.8858 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002207/0.9134, allocations: 0.7351 MB / 0.8865 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.008199/0.9216, allocations: 2.68 MB / 0.8891 GB, free: 13.22 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.9239, allocations: 0.7009 MB / 0.8898 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00527/0.9292, allocations: 3.28 MB / 0.893 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001759/0.931, allocations: 1.135 MB / 0.8941 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002892/0.9339, allocations: 1.245 MB / 0.8953 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002506/0.9364, allocations: 1.096 MB / 0.8964 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002193/0.9367, allocations: 132.1 kB / 0.8965 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005289/0.9419, allocations: 2.363 MB / 0.8988 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006494/0.9426, allocations: 0.5161 MB / 0.8993 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001117/0.9437, allocations: 0.7391 MB / 0.9001 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00509/0.9488, allocations: 2.77 MB / 0.9028 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.9489, allocations: 3.938 kB / 0.9028 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.034e-06/0.9489, allocations: 0 / 0.9028 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.641e-05/0.9489, allocations: 0 / 0.9028 GB, free: 3.48 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.00439/0.9533, allocations: 1.773 MB / 0.9045 GB, free: 1.652 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.25e-05/0.9534, allocations: 8.031 kB / 0.9045 GB, free: 1.645 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002328/0.9557, allocations: 342.2 kB / 0.9048 GB, free: 1.309 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001503/0.9572, allocations: 0.8466 MB / 0.9057 GB, free: 432 kB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.721e-05/0.9573, allocations: 74.02 kB / 0.9057 GB, free: 356 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001621/0.9575, allocations: 99.98 kB / 0.9058 GB, free: 256 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002096/0.9596, allocations: 1.199 MB / 0.907 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.62e-05/0.9596, allocations: 3.938 kB / 0.907 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001129/0.9597, allocations: 43.98 kB / 0.907 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.956e-05/0.9598, allocations: 58.08 kB / 0.9071 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00178/0.9616, allocations: 1.249 MB / 0.9083 GB, free: 13.66 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 preOpt removeSimpleEquations (simulation): time 0.006375/0.968, allocations: 5.132 MB / 0.9133 GB, free: 8.066 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001429/0.9694, allocations: 1.163 MB / 0.9145 GB, free: 6.828 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000678/0.9701, allocations: 0.5012 MB / 0.915 GB, free: 6.324 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 5.526e-05/0.9702, allocations: 16.8 kB / 0.915 GB, free: 6.309 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007054/0.9709, allocations: 492.2 kB / 0.9154 GB, free: 5.816 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=76): time 2.655e-06/0.9709, allocations: 0 / 0.9154 GB, free: 5.816 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76): time 0.001927/0.9728, allocations: 1.157 MB / 0.9166 GB, free: 4.652 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/0.9729, allocations: 64 kB / 0.9166 GB, free: 4.578 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006755/0.9736, allocations: 0.5744 MB / 0.9172 GB, free: 3.992 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.875e-05/0.9736, allocations: 41.7 kB / 0.9172 GB, free: 3.945 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003178/0.974, allocations: 459.6 kB / 0.9177 GB, free: 3.488 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.00025/0.9742, allocations: 272.1 kB / 0.9179 GB, free: 3.219 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001935/0.9744, allocations: 126.7 kB / 0.9181 GB, free: 3.086 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001799/0.9746, allocations: 386.8 kB / 0.9184 GB, free: 2.699 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004615/0.9751, allocations: 337.8 kB / 0.9187 GB, free: 2.371 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005362/0.9756, allocations: 440.8 kB / 0.9192 GB, free: 1.906 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/0.9767, allocations: 0.8311 MB / 0.92 GB, free: 1.035 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/0.9767, allocations: 0 / 0.92 GB, free: 1.035 MB / 0.6231 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001329/0.978, allocations: 0.9257 MB / 0.9209 GB, free: 104 kB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.9781, allocations: 12.34 kB / 0.9209 GB, free: 92 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.9781, allocations: 0 / 0.9209 GB, free: 92 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.54e-05/0.9781, allocations: 8 kB / 0.9209 GB, free: 84 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006888/0.9788, allocations: 155.7 kB / 0.9211 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.318e-05/0.9788, allocations: 8 kB / 0.9211 GB, free: 15.92 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000745/0.9796, allocations: 63.28 kB / 0.9211 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.558e-05/0.9797, allocations: 20 kB / 0.9211 GB, free: 15.84 MB / 0.6387 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.0004895/0.9801, allocations: 341.4 kB / 0.9215 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001246/0.9803, allocations: 83.05 kB / 0.9215 GB, free: 15.42 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002113/0.9805, allocations: 107.8 kB / 0.9216 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.527e-06/0.9805, allocations: 11.94 kB / 0.9217 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.185e-05/0.9805, allocations: 2.5 kB / 0.9217 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001208/0.9817, allocations: 1.093 MB / 0.9227 GB, free: 14.12 MB / 0.6387 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.003012/0.9848, allocations: 2.313 MB / 0.925 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.254e-06/0.9848, allocations: 4.031 kB / 0.925 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000956/0.9858, allocations: 171.8 kB / 0.9252 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.166e-05/0.9858, allocations: 4 kB / 0.9252 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.692e-05/0.9859, allocations: 16 kB / 0.9252 GB, free: 11.52 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.885e-06/0.9859, allocations: 4 kB / 0.9252 GB, free: 11.52 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.9859, allocations: 3.938 kB / 0.9252 GB, free: 11.51 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002138/0.988, allocations: 1.354 MB / 0.9265 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005885/0.9886, allocations: 260 kB / 0.9267 GB, free: 9.863 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001307/0.9888, allocations: 12 kB / 0.9268 GB, free: 9.852 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006085/0.9894, allocations: 28.72 kB / 0.9268 GB, free: 9.824 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.01e-05/0.9895, allocations: 40.59 kB / 0.9268 GB, free: 9.785 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-05/0.9896, allocations: 24 kB / 0.9269 GB, free: 9.762 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0005383/0.9901, allocations: 415 kB / 0.9272 GB, free: 9.363 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9901, allocations: 4 kB / 0.9272 GB, free: 9.359 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009807/0.9911, allocations: 371 kB / 0.9276 GB, free: 8.996 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.000323/0.9914, allocations: 175.6 kB / 0.9278 GB, free: 8.816 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00185/0.9933, allocations: 1.032 MB / 0.9288 GB, free: 7.781 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.9933, allocations: 4 kB / 0.9288 GB, free: 7.777 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005567/0.9939, allocations: 423.5 kB / 0.9292 GB, free: 7.367 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002706/0.9966, allocations: 0.6026 MB / 0.9298 GB, free: 6.785 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003798/1, allocations: 2.196 MB / 0.9319 GB, free: 4.559 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008566/1.001, allocations: 1.139 MB / 0.933 GB, free: 3.395 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001042/1.002, allocations: 271.2 kB / 0.9333 GB, free: 3.125 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002158/1.003, allocations: 79.42 kB / 0.9334 GB, free: 3.047 MB / 0.6387 GB Notification: Performance of SimCode: time 8.42e-07/1.003, allocations: 0 / 0.9334 GB, free: 3.047 MB / 0.6387 GB Notification: Performance of Templates: time 0.03929/1.042, allocations: 19.07 MB / 0.952 GB, free: 240 kB / 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)