Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") translateModel(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.916/0.916, allocations: 143.4 MB / 159.2 MB, free: 4.902 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001499/0.001499, allocations: 187.2 kB / 191.9 MB, free: 5.734 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 222.9 MB / 447.3 MB, free: 5.879 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 91.75 kB / 0.517 GB, free: 3.742 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001918/0.001918, allocations: 279.2 kB / 0.5973 GB, free: 49.38 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001444, allocations: 80.31 kB / 0.6885 GB, free: 3.863 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3724/0.3739, allocations: 81.29 MB / 0.7679 GB, free: 27.68 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.7068/1.081, allocations: 292.9 MB / 1.054 GB, free: 8.004 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02988/1.111, allocations: 17.15 MB / 1.071 GB, free: 6.82 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006041/1.117, allocations: 67.62 kB / 1.071 GB, free: 6.754 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.006469/1.123, allocations: 1.66 MB / 1.072 GB, free: 5.086 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.02005/1.143, allocations: 5.995 MB / 1.078 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.008945/1.152, allocations: 2.704 MB / 1.081 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01432/1.167, allocations: 11.2 MB / 1.092 GB, free: 1.141 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004923/1.172, allocations: 2.172 MB / 1.094 GB, free: 14.92 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007503/1.179, allocations: 2.436 MB / 1.096 GB, free: 12.48 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007595/1.187, allocations: 2.797 MB / 1.099 GB, free: 9.68 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.001469/1.188, allocations: 192 kB / 1.099 GB, free: 9.492 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01512/1.203, allocations: 7.181 MB / 1.106 GB, free: 2.293 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.002557/1.206, allocations: 1.207 MB / 1.107 GB, free: 1.082 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.005097/1.211, allocations: 1.726 MB / 1.109 GB, free: 15.34 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.01876/1.23, allocations: 7.171 MB / 1.116 GB, free: 8.152 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.18e-05/1.23, allocations: 4 kB / 1.116 GB, free: 8.148 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.605e-06/1.23, allocations: 0 / 1.116 GB, free: 8.148 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000229/1.23, allocations: 0 / 1.116 GB, free: 8.148 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 669 * Number of variables: 669 Notification: Performance of Generate backend data structure: time 0.01506/1.245, allocations: 4.115 MB / 1.12 GB, free: 3.965 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/1.245, allocations: 12.03 kB / 1.12 GB, free: 3.953 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006678/1.252, allocations: 0.9132 MB / 1.121 GB, free: 3.035 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004946/1.257, allocations: 1.814 MB / 1.123 GB, free: 1.164 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000227/1.257, allocations: 197.1 kB / 1.123 GB, free: 0.9688 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009294/1.258, allocations: 263.9 kB / 1.123 GB, free: 0.7109 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008353/1.267, allocations: 3.327 MB / 1.126 GB, free: 13.28 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000103/1.267, allocations: 19.86 kB / 1.126 GB, free: 13.26 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005521/1.267, allocations: 108 kB / 1.127 GB, free: 13.16 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00019/1.268, allocations: 137 kB / 1.127 GB, free: 13.02 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007092/1.275, allocations: 3.486 MB / 1.13 GB, free: 9.52 MB / 0.698 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.02074/1.295, allocations: 12.05 MB / 1.142 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005677/1.301, allocations: 3.53 MB / 1.145 GB, free: 8.945 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003202/1.304, allocations: 1.814 MB / 1.147 GB, free: 7.129 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001668/1.306, allocations: 1.497 MB / 1.149 GB, free: 5.316 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.66e-05/1.306, allocations: 72.69 kB / 1.149 GB, free: 5.234 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=278): time 4.338e-06/1.306, allocations: 0 / 1.149 GB, free: 5.234 MB / 0.7136 GB Notification: Performance of matching and sorting (n=278): time 0.008736/1.315, allocations: 3.877 MB / 1.152 GB, free: 1.309 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.708e-05/1.315, allocations: 77.59 kB / 1.153 GB, free: 1.219 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002638/1.318, allocations: 1.366 MB / 1.154 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002936/1.318, allocations: 73.7 kB / 1.154 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008242/1.319, allocations: 0.9725 MB / 1.155 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.001104/1.32, allocations: 0.9393 MB / 1.156 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000819/1.321, allocations: 416.8 kB / 1.156 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001089/1.321, allocations: 301.1 kB / 1.156 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001983/1.323, allocations: 1.086 MB / 1.158 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002275/1.325, allocations: 1.385 MB / 1.159 GB, free: 10.56 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004358/1.33, allocations: 2.65 MB / 1.161 GB, free: 7.82 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-05/1.33, allocations: 0 / 1.161 GB, free: 7.82 MB / 0.7292 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005251/1.335, allocations: 2.966 MB / 1.164 GB, free: 4.809 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.366e-05/1.335, allocations: 9.547 kB / 1.164 GB, free: 4.801 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.609e-05/1.335, allocations: 4 kB / 1.164 GB, free: 4.797 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.418e-05/1.335, allocations: 19.94 kB / 1.164 GB, free: 4.777 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002192/1.337, allocations: 0.5032 MB / 1.165 GB, free: 4.273 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-05/1.337, allocations: 23.92 kB / 1.165 GB, free: 4.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00307/1.34, allocations: 335.5 kB / 1.165 GB, free: 3.922 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002098/1.341, allocations: 88.92 kB / 1.165 GB, free: 3.836 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (311): * Single equations (assignments): 311 * 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.001435/1.342, allocations: 0.6425 MB / 1.166 GB, free: 3.184 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007943/1.343, allocations: 225.3 kB / 1.166 GB, free: 2.961 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005589/1.349, allocations: 3.104 MB / 1.169 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.349e-05/1.349, allocations: 31.94 kB / 1.169 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-05/1.349, allocations: 4 kB / 1.169 GB, free: 15.76 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003865/1.352, allocations: 2.641 MB / 1.172 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01254/1.365, allocations: 6.197 MB / 1.178 GB, free: 6.746 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.249e-05/1.365, allocations: 4 kB / 1.178 GB, free: 6.742 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002669/1.368, allocations: 0.55 MB / 1.178 GB, free: 6.191 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.355e-05/1.368, allocations: 8 kB / 1.178 GB, free: 6.184 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000269/1.368, allocations: 63.98 kB / 1.178 GB, free: 6.121 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.667e-05/1.368, allocations: 8 kB / 1.178 GB, free: 6.113 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/1.368, allocations: 0 / 1.178 GB, free: 6.113 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5049/1.873, allocations: 36.89 MB / 1.214 GB, free: 299 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001527/1.875, allocations: 0.6018 MB / 1.215 GB, free: 298.4 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003011/1.875, allocations: 51.98 kB / 1.215 GB, free: 298.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001987/1.877, allocations: 230.1 kB / 1.215 GB, free: 298.1 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003116/1.877, allocations: 165.7 kB / 1.216 GB, free: 298 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001442/1.877, allocations: 85.05 kB / 1.216 GB, free: 297.9 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001046/1.878, allocations: 0.9298 MB / 1.217 GB, free: 297 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/1.878, allocations: 4 kB / 1.217 GB, free: 296.9 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.006049/1.885, allocations: 1.584 MB / 1.218 GB, free: 295.4 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.U,volOut.dynBal.m,volOut.dynBal.mXi[1],oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,oriEasTop.mExc,volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mXi[1],volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (278): * Single equations (assignments): 278 * 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.0008985/1.885, allocations: 428.6 kB / 1.218 GB, free: 295 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.003597/1.889, allocations: 2.767 MB / 1.221 GB, free: 292.2 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/1.889, allocations: 4.188 kB / 1.221 GB, free: 292.2 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001682/1.891, allocations: 1.511 MB / 1.223 GB, free: 290.7 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00578/1.897, allocations: 1.288 MB / 1.224 GB, free: 289.4 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01024/1.907, allocations: 8.638 MB / 1.232 GB, free: 280.8 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00116/1.908, allocations: 1.972 MB / 1.234 GB, free: 278.8 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.003978/1.912, allocations: 0.9671 MB / 1.235 GB, free: 277.9 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001164/1.913, allocations: 239.4 kB / 1.235 GB, free: 277.6 MB / 0.7448 GB Notification: Performance of SimCode: time 1.072e-06/1.913, allocations: 0 / 1.235 GB, free: 277.6 MB / 0.7448 GB Notification: Performance of Templates: time 0.08589/1.999, allocations: 64.63 MB / 1.299 GB, free: 213.6 MB / 0.7448 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)