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.001436/0.001436, 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.001417/0.001417, allocations: 192.4 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.437/1.437, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002625/0.002625, allocations: 282.8 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.095/1.095, allocations: 178.6 MB / 0.507 GB, free: 4.723 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002761/0.002761, allocations: 100.5 kB / 0.6059 GB, free: 25.1 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1928/0.1956, allocations: 89.16 MB / 0.693 GB, free: 4.723 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.6463/0.8419, allocations: 291.7 MB / 0.9778 GB, free: 8.02 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.02686/0.8688, allocations: 16.94 MB / 0.9944 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004335/0.8732, allocations: 75.56 kB / 0.9944 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.006471/0.8798, allocations: 1.691 MB / 0.9961 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01694/0.8967, allocations: 6.064 MB / 1.002 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.007688/0.9044, allocations: 2.708 MB / 1.005 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.01118/0.9156, allocations: 7.705 MB / 1.012 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004639/0.9203, allocations: 2.533 MB / 1.015 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007309/0.9276, allocations: 2.818 MB / 1.017 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006511/0.9342, allocations: 2.877 MB / 1.02 GB, free: 12.47 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.001263/0.9355, allocations: 324 kB / 1.021 GB, free: 12.15 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01318/0.9486, allocations: 6.44 MB / 1.027 GB, free: 5.695 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.002473/0.9511, allocations: 1.336 MB / 1.028 GB, free: 4.355 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.004597/0.9558, allocations: 1.883 MB / 1.03 GB, free: 2.465 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.01538/0.9712, allocations: 7.288 MB / 1.037 GB, free: 11.16 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.9712, allocations: 0 / 1.037 GB, free: 11.16 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.332e-06/0.9712, allocations: 0 / 1.037 GB, free: 11.16 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.000172/0.9714, allocations: 4 kB / 1.037 GB, free: 11.15 MB / 0.7637 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.01377/0.9852, allocations: 4.128 MB / 1.041 GB, free: 6.957 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.9852, allocations: 8.031 kB / 1.041 GB, free: 6.949 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007442/0.9927, allocations: 0.9132 MB / 1.042 GB, free: 6.031 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004478/0.9972, allocations: 1.842 MB / 1.044 GB, free: 4.133 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002075/0.9974, allocations: 201.1 kB / 1.044 GB, free: 3.934 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007924/0.9982, allocations: 255.9 kB / 1.044 GB, free: 3.684 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008382/1.007, allocations: 3.334 MB / 1.048 GB, free: 252 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001067/1.007, allocations: 3.938 kB / 1.048 GB, free: 248 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000559/1.007, allocations: 111.9 kB / 1.048 GB, free: 136 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.2764/1.284, allocations: 135.5 kB / 1.048 GB, free: 283.1 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007568/1.291, allocations: 3.497 MB / 1.051 GB, free: 282.6 MB / 0.7637 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.01653/1.308, allocations: 12.08 MB / 1.063 GB, free: 274.6 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004622/1.313, allocations: 3.507 MB / 1.066 GB, free: 272.8 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002541/1.315, allocations: 1.814 MB / 1.068 GB, free: 272.1 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001211/1.316, allocations: 1.496 MB / 1.07 GB, free: 270.5 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.981e-05/1.316, allocations: 64.38 kB / 1.07 GB, free: 270.5 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=278): time 4.909e-06/1.316, allocations: 0 / 1.07 GB, free: 270.5 MB / 0.7637 GB Notification: Performance of matching and sorting (n=278): time 0.006506/1.323, allocations: 3.881 MB / 1.073 GB, free: 269 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.062e-05/1.323, allocations: 87.84 kB / 1.074 GB, free: 268.9 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002036/1.325, allocations: 1.379 MB / 1.075 GB, free: 268.4 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0002287/1.325, allocations: 77.47 kB / 1.075 GB, free: 268.3 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005832/1.326, allocations: 0.9819 MB / 1.076 GB, free: 267.5 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007397/1.327, allocations: 0.9427 MB / 1.077 GB, free: 266.8 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005822/1.327, allocations: 405.8 kB / 1.077 GB, free: 266.6 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 4.082e-05/1.327, allocations: 310.1 kB / 1.078 GB, free: 266.3 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001684/1.329, allocations: 1.087 MB / 1.079 GB, free: 265.9 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001777/1.331, allocations: 1.362 MB / 1.08 GB, free: 265.3 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003585/1.334, allocations: 2.651 MB / 1.083 GB, free: 264 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.396e-06/1.334, allocations: 1.062 kB / 1.083 GB, free: 264 MB / 0.7637 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.004787/1.339, allocations: 2.982 MB / 1.085 GB, free: 262.8 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.728e-05/1.339, allocations: 6.812 kB / 1.085 GB, free: 262.8 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/1.339, allocations: 3.531 kB / 1.085 GB, free: 262.8 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.116e-05/1.339, allocations: 14.72 kB / 1.085 GB, free: 262.8 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002191/1.342, allocations: 0.5129 MB / 1.086 GB, free: 262.8 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.632e-05/1.342, allocations: 14.97 kB / 1.086 GB, free: 262.8 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002822/1.344, allocations: 385.1 kB / 1.086 GB, free: 262.6 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001636/1.345, allocations: 83.61 kB / 1.086 GB, free: 262.6 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.00117/1.346, allocations: 0.642 MB / 1.087 GB, free: 262.2 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004564/1.346, allocations: 232.4 kB / 1.087 GB, free: 262.1 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004571/1.351, allocations: 3.119 MB / 1.09 GB, free: 260.4 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.546e-05/1.351, allocations: 34.81 kB / 1.09 GB, free: 260.4 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.026e-06/1.351, allocations: 0 / 1.09 GB, free: 260.4 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003247/1.354, allocations: 2.654 MB / 1.093 GB, free: 259 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008286/1.362, allocations: 6.213 MB / 1.099 GB, free: 255.3 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/1.362, allocations: 0 / 1.099 GB, free: 255.3 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002393/1.365, allocations: 0.544 MB / 1.1 GB, free: 255.2 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.801e-05/1.365, allocations: 7.938 kB / 1.1 GB, free: 255.2 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001544/1.365, allocations: 63.7 kB / 1.1 GB, free: 255.1 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-05/1.365, allocations: 9.938 kB / 1.1 GB, free: 255.1 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/1.365, allocations: 3.938 kB / 1.1 GB, free: 255.1 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005898/1.371, allocations: 4.57 MB / 1.104 GB, free: 252.7 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001355/1.372, allocations: 0.6129 MB / 1.105 GB, free: 252.2 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003114/1.373, allocations: 51.94 kB / 1.105 GB, free: 252.2 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002002/1.375, allocations: 224 kB / 1.105 GB, free: 252 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003123/1.375, allocations: 169.8 kB / 1.105 GB, free: 251.8 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001459/1.375, allocations: 75.97 kB / 1.105 GB, free: 251.7 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001089/1.376, allocations: 0.9495 MB / 1.106 GB, free: 250.8 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.41e-07/1.376, allocations: 0 / 1.106 GB, free: 250.8 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001824/1.378, allocations: 0.9808 MB / 1.107 GB, free: 249.8 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.0005544/1.379, allocations: 369.6 kB / 1.107 GB, free: 249.5 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01015/1.389, allocations: 5.542 MB / 1.113 GB, free: 244 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/1.389, allocations: 0 / 1.113 GB, free: 244 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001653/1.39, allocations: 1.504 MB / 1.114 GB, free: 242.5 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005813/1.396, allocations: 1.356 MB / 1.116 GB, free: 241.2 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008986/1.405, allocations: 7.236 MB / 1.123 GB, free: 234.1 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00104/1.406, allocations: 1.896 MB / 1.125 GB, free: 232.2 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.003058/1.409, allocations: 0.8474 MB / 1.125 GB, free: 231.3 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006958/1.41, allocations: 211.3 kB / 1.126 GB, free: 231.1 MB / 0.7637 GB Notification: Performance of SimCode: time 9.12e-07/1.41, allocations: 0 / 1.126 GB, free: 231.1 MB / 0.7637 GB Notification: Performance of Templates: time 0.06707/1.477, allocations: 49.39 MB / 1.174 GB, free: 182.4 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)