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.00146/0.001461, allocations: 101.1 kB / 16.27 MB, free: 6.414 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.001416/0.001416, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.312/1.312, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002214/0.002214, allocations: 294.6 kB / 291.3 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9428/0.9428, allocations: 169.2 MB / 0.4988 GB, free: 4.516 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 99.45 kB / 0.5959 GB, free: 15.16 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.1644, allocations: 86.97 MB / 0.6808 GB, free: 8.195 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.9548/1.119, allocations: 295.1 MB / 0.969 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02777/1.147, allocations: 17.01 MB / 0.9856 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004707/1.152, allocations: 81.62 kB / 0.9857 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.004814/1.157, allocations: 1.898 MB / 0.9875 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01892/1.176, allocations: 6.433 MB / 0.9938 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.009437/1.185, allocations: 2.925 MB / 0.9967 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01523/1.2, allocations: 7.698 MB / 1.004 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005676/1.206, allocations: 2.599 MB / 1.007 GB, free: 17 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007416/1.214, allocations: 2.764 MB / 1.009 GB, free: 17 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007354/1.221, allocations: 2.707 MB / 1.012 GB, free: 17 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.001491/1.222, allocations: 326.8 kB / 1.012 GB, free: 17 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01625/1.239, allocations: 6.169 MB / 1.018 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.002613/1.241, allocations: 1.337 MB / 1.02 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.003799/1.245, allocations: 1.883 MB / 1.022 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01462/1.26, allocations: 6.835 MB / 1.028 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/1.26, allocations: 0 / 1.028 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.004e-06/1.26, allocations: 3.5 kB / 1.028 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.816e-05/1.26, allocations: 0 / 1.028 GB, free: 15.89 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.01144/1.271, allocations: 4.126 MB / 1.032 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/1.271, allocations: 12.92 kB / 1.032 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006371/1.278, allocations: 0.917 MB / 1.033 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003905/1.282, allocations: 1.844 MB / 1.035 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001321/1.282, allocations: 198 kB / 1.035 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006078/1.283, allocations: 257.4 kB / 1.035 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005558/1.288, allocations: 3.34 MB / 1.039 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.074e-05/1.288, allocations: 8.938 kB / 1.039 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002502/1.288, allocations: 106.5 kB / 1.039 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001259/1.289, allocations: 142.1 kB / 1.039 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005659/1.294, allocations: 3.5 MB / 1.042 GB, free: 12.4 MB / 0.7325 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.01704/1.311, allocations: 12.23 MB / 1.054 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004304/1.316, allocations: 3.505 MB / 1.058 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002456/1.318, allocations: 1.817 MB / 1.059 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001483/1.32, allocations: 1.491 MB / 1.061 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.106e-05/1.32, allocations: 67.53 kB / 1.061 GB, free: 1.707 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=278): time 4.188e-06/1.32, allocations: 0 / 1.061 GB, free: 1.707 MB / 0.7325 GB Notification: Performance of matching and sorting (n=278): time 0.006533/1.326, allocations: 3.883 MB / 1.065 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.01e-05/1.326, allocations: 81.59 kB / 1.065 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002049/1.328, allocations: 1.382 MB / 1.066 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0002075/1.329, allocations: 73.7 kB / 1.066 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007082/1.329, allocations: 0.987 MB / 1.067 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009172/1.33, allocations: 0.9388 MB / 1.068 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006171/1.331, allocations: 408.9 kB / 1.069 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.943e-05/1.331, allocations: 309 kB / 1.069 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001764/1.333, allocations: 1.098 MB / 1.07 GB, free: 10.42 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001964/1.335, allocations: 1.358 MB / 1.071 GB, free: 8.996 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00402/1.339, allocations: 2.653 MB / 1.074 GB, free: 6.27 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.497e-06/1.339, allocations: 4 kB / 1.074 GB, free: 6.266 MB / 0.7481 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.004995/1.344, allocations: 2.972 MB / 1.077 GB, free: 3.273 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.748e-05/1.344, allocations: 8 kB / 1.077 GB, free: 3.266 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/1.344, allocations: 4 kB / 1.077 GB, free: 3.262 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.042e-05/1.344, allocations: 12 kB / 1.077 GB, free: 3.25 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002207/1.346, allocations: 0.5101 MB / 1.077 GB, free: 2.77 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.108e-05/1.346, allocations: 18.81 kB / 1.077 GB, free: 2.754 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002278/1.348, allocations: 193.9 kB / 1.077 GB, free: 2.562 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001656/1.349, allocations: 83.98 kB / 1.078 GB, free: 2.48 MB / 0.7481 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.001289/1.35, allocations: 0.6447 MB / 1.078 GB, free: 1.855 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005579/1.35, allocations: 229.3 kB / 1.078 GB, free: 1.629 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005221/1.356, allocations: 3.118 MB / 1.081 GB, free: 14.46 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.116e-05/1.356, allocations: 28 kB / 1.081 GB, free: 14.43 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.345e-06/1.356, allocations: 0 / 1.081 GB, free: 14.43 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003986/1.36, allocations: 2.652 MB / 1.084 GB, free: 11.71 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01011/1.37, allocations: 6.223 MB / 1.09 GB, free: 5.457 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/1.37, allocations: 4 kB / 1.09 GB, free: 5.453 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002555/1.372, allocations: 0.5363 MB / 1.091 GB, free: 4.941 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.958e-05/1.372, allocations: 12 kB / 1.091 GB, free: 4.93 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001658/1.373, allocations: 62.52 kB / 1.091 GB, free: 4.871 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.49e-05/1.373, allocations: 15.94 kB / 1.091 GB, free: 4.855 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/1.373, allocations: 4 kB / 1.091 GB, free: 4.852 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007386/1.38, allocations: 4.561 MB / 1.095 GB, free: 216 kB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001575/1.382, allocations: 0.6109 MB / 1.096 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003957/1.382, allocations: 48 kB / 1.096 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00175/1.384, allocations: 75.09 kB / 1.096 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003338/1.384, allocations: 160.5 kB / 1.096 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001636/1.384, allocations: 91.97 kB / 1.096 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001397/1.386, allocations: 0.9462 MB / 1.097 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/1.386, allocations: 0 / 1.097 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.002287/1.388, allocations: 0.9745 MB / 1.098 GB, free: 13.3 MB / 0.7794 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.0006407/1.389, allocations: 382.2 kB / 1.098 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.01229/1.401, allocations: 5.533 MB / 1.104 GB, free: 7.461 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 7.794e-06/1.401, allocations: 0 / 1.104 GB, free: 7.461 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.00226/1.403, allocations: 1.51 MB / 1.105 GB, free: 6 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00658/1.41, allocations: 1.35 MB / 1.107 GB, free: 4.688 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01029/1.42, allocations: 6.215 MB / 1.113 GB, free: 14.44 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001553/1.422, allocations: 1.895 MB / 1.115 GB, free: 12.5 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001256/1.423, allocations: 235.4 kB / 1.115 GB, free: 12.28 MB / 0.795 GB Notification: Performance of SimCode: time 7.01e-07/1.423, allocations: 0 / 1.115 GB, free: 12.28 MB / 0.795 GB Notification: Performance of Templates: time 0.06395/1.487, allocations: 42.83 MB / 1.157 GB, free: 1.766 MB / 0.8262 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)