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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001488/0.001488, allocations: 108 kB / 15.61 MB, free: 152 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.002052/0.002052, allocations: 195.6 kB / 16.53 MB, free: 6.664 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.484/1.484, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003598/0.003598, allocations: 291.1 kB / 290.7 MB, free: 1.969 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9644/0.9644, allocations: 169.3 MB / 0.4982 GB, free: 13.98 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00176/0.00176, allocations: 101.7 kB / 0.5952 GB, free: 27.81 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.2154, allocations: 86.98 MB / 0.6802 GB, free: 0.7109 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.7937/1.009, allocations: 295.1 MB / 0.9684 GB, free: 96 kB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02914/1.038, allocations: 17.01 MB / 0.985 GB, free: 15.04 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005653/1.044, allocations: 79.62 kB / 0.985 GB, free: 14.96 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.005613/1.05, allocations: 1.896 MB / 0.9869 GB, free: 13.05 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.02085/1.071, allocations: 6.434 MB / 0.9932 GB, free: 6.59 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0107/1.081, allocations: 2.926 MB / 0.996 GB, free: 3.664 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01387/1.095, allocations: 7.704 MB / 1.004 GB, free: 11.94 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006208/1.101, allocations: 2.593 MB / 1.006 GB, free: 9.297 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007764/1.109, allocations: 2.76 MB / 1.009 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007213/1.116, allocations: 2.705 MB / 1.011 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001952/1.118, allocations: 328 kB / 1.012 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01905/1.137, allocations: 6.165 MB / 1.018 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.003202/1.141, allocations: 1.336 MB / 1.019 GB, free: 11.99 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.006287/1.147, allocations: 1.879 MB / 1.021 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01943/1.166, allocations: 6.845 MB / 1.028 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.275e-06/1.167, allocations: 0 / 1.028 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.084e-06/1.167, allocations: 4 kB / 1.028 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0002462/1.167, allocations: 0 / 1.028 GB, free: 3.234 MB / 0.7325 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.01537/1.182, allocations: 4.124 MB / 1.032 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.714e-05/1.182, allocations: 11.98 kB / 1.032 GB, free: 15.03 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007392/1.19, allocations: 0.9249 MB / 1.033 GB, free: 14.1 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005646/1.195, allocations: 1.838 MB / 1.034 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002468/1.196, allocations: 193.1 kB / 1.035 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001125/1.197, allocations: 264 kB / 1.035 GB, free: 11.76 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009902/1.207, allocations: 3.33 MB / 1.038 GB, free: 8.324 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001302/1.207, allocations: 11.91 kB / 1.038 GB, free: 8.312 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007508/1.208, allocations: 111.9 kB / 1.038 GB, free: 8.203 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002204/1.208, allocations: 141 kB / 1.038 GB, free: 8.062 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007746/1.216, allocations: 3.494 MB / 1.042 GB, free: 4.555 MB / 0.7481 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.02983/1.245, allocations: 12.22 MB / 1.054 GB, free: 7.43 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00838/1.254, allocations: 3.526 MB / 1.057 GB, free: 3.828 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004773/1.259, allocations: 1.81 MB / 1.059 GB, free: 2.016 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002071/1.261, allocations: 1.493 MB / 1.06 GB, free: 212 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001006/1.261, allocations: 68.75 kB / 1.06 GB, free: 132 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=278): time 9.247e-06/1.261, allocations: 0 / 1.06 GB, free: 132 kB / 0.7637 GB Notification: Performance of matching and sorting (n=278): time 0.437/1.698, allocations: 3.876 MB / 1.064 GB, free: 292.9 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.31e-05/1.698, allocations: 85.22 kB / 1.064 GB, free: 292.9 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002511/1.701, allocations: 1.379 MB / 1.066 GB, free: 292.3 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0002123/1.701, allocations: 73.95 kB / 1.066 GB, free: 292.3 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006603/1.701, allocations: 0.9893 MB / 1.067 GB, free: 291.7 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007586/1.702, allocations: 0.9376 MB / 1.068 GB, free: 291 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006869/1.703, allocations: 412.4 kB / 1.068 GB, free: 290.8 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 6.182e-05/1.703, allocations: 302.8 kB / 1.068 GB, free: 290.5 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001843/1.705, allocations: 1.096 MB / 1.069 GB, free: 290.1 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00163/1.707, allocations: 1.355 MB / 1.071 GB, free: 289.5 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003319/1.71, allocations: 2.65 MB / 1.073 GB, free: 288.2 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.155e-06/1.71, allocations: 3.938 kB / 1.073 GB, free: 288.2 MB / 0.7637 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.004802/1.715, allocations: 2.974 MB / 1.076 GB, free: 287 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.616e-05/1.715, allocations: 7.516 kB / 1.076 GB, free: 287 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.657e-05/1.715, allocations: 3.938 kB / 1.076 GB, free: 287 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.486e-05/1.715, allocations: 15.47 kB / 1.076 GB, free: 287 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002129/1.717, allocations: 0.5157 MB / 1.077 GB, free: 287 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.145e-05/1.717, allocations: 18.17 kB / 1.077 GB, free: 287 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002317/1.719, allocations: 185.4 kB / 1.077 GB, free: 286.8 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001566/1.719, allocations: 81.95 kB / 1.077 GB, free: 286.8 MB / 0.7637 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.001256/1.721, allocations: 0.648 MB / 1.078 GB, free: 286.4 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005429/1.721, allocations: 233.1 kB / 1.078 GB, free: 286.3 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005148/1.726, allocations: 3.108 MB / 1.081 GB, free: 285 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.87e-05/1.726, allocations: 27.48 kB / 1.081 GB, free: 285 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.01e-05/1.726, allocations: 0 / 1.081 GB, free: 285 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005084/1.732, allocations: 2.658 MB / 1.083 GB, free: 283.9 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01124/1.743, allocations: 6.22 MB / 1.089 GB, free: 281.3 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.946e-06/1.743, allocations: 3.969 kB / 1.089 GB, free: 281.3 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002546/1.745, allocations: 0.5408 MB / 1.09 GB, free: 281.2 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.865e-05/1.745, allocations: 9.812 kB / 1.09 GB, free: 281.2 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001538/1.746, allocations: 57.03 kB / 1.09 GB, free: 281.2 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.421e-05/1.746, allocations: 8.812 kB / 1.09 GB, free: 281.2 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/1.746, allocations: 2.594 kB / 1.09 GB, free: 281.2 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006535/1.752, allocations: 4.577 MB / 1.095 GB, free: 279.3 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00133/1.754, allocations: 0.6048 MB / 1.095 GB, free: 278.9 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00031/1.754, allocations: 58.39 kB / 1.095 GB, free: 278.8 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001576/1.755, allocations: 64.69 kB / 1.095 GB, free: 278.8 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003205/1.756, allocations: 165 kB / 1.095 GB, free: 278.8 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001436/1.756, allocations: 83.31 kB / 1.095 GB, free: 278.8 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001167/1.757, allocations: 0.9399 MB / 1.096 GB, free: 278.4 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.61e-07/1.757, allocations: 0 / 1.096 GB, free: 278.4 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001976/1.759, allocations: 0.9873 MB / 1.097 GB, free: 278.2 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,oriEasTop.mExc,volTop.dynBal.medium.Xi[1],volTop.dynBal.U,volTop.dynBal.m,volWes.dynBal.medium.Xi[1],volWes.dynBal.U,volWes.dynBal.m) * 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.0005833/1.76, allocations: 377.1 kB / 1.098 GB, free: 278.1 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0121/1.772, allocations: 5.53 MB / 1.103 GB, free: 277 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/1.772, allocations: 7.688 kB / 1.103 GB, free: 277 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001972/1.774, allocations: 1.508 MB / 1.105 GB, free: 275.7 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005817/1.78, allocations: 1.358 MB / 1.106 GB, free: 274.4 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008137/1.788, allocations: 6.082 MB / 1.112 GB, free: 268.7 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001052/1.789, allocations: 1.891 MB / 1.114 GB, free: 266.8 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.003026/1.792, allocations: 0.8461 MB / 1.115 GB, free: 265.9 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006505/1.793, allocations: 210.2 kB / 1.115 GB, free: 265.7 MB / 0.7637 GB Notification: Performance of SimCode: time 9.72e-07/1.793, allocations: 4 kB / 1.115 GB, free: 265.7 MB / 0.7637 GB Notification: Performance of Templates: time 0.0712/1.864, allocations: 49.73 MB / 1.163 GB, free: 216.7 MB / 0.7637 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)