Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy") translateModel(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001014/0.001014, 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.001004/0.001004, allocations: 192.8 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.199/1.199, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6793/0.6793, allocations: 132.2 MB / 422.6 MB, free: 1.777 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 64.66 kB / 0.5018 GB, free: 3.852 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.3332, allocations: 80.2 MB / 0.5801 GB, free: 4.547 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.582/0.9152, allocations: 314.1 MB / 0.8869 GB, free: 1.582 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02259/0.9379, allocations: 18.43 MB / 0.9049 GB, free: 1.238 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003472/0.9414, allocations: 87.53 kB / 0.9049 GB, free: 1.238 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.004093/0.9455, allocations: 2.154 MB / 0.907 GB, free: 1.184 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01503/0.9606, allocations: 7.3 MB / 0.9142 GB, free: 0.8125 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.006813/0.9674, allocations: 3.207 MB / 0.9173 GB, free: 0.707 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.008599/0.976, allocations: 9.093 MB / 0.9262 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003347/0.9794, allocations: 3.124 MB / 0.9292 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004887/0.9843, allocations: 3.301 MB / 0.9325 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004399/0.9887, allocations: 3.235 MB / 0.9356 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0005454/0.9892, allocations: 406.4 kB / 0.936 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01298/1.002, allocations: 6.994 MB / 0.9428 GB, free: 5.711 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001568/1.004, allocations: 1.684 MB / 0.9445 GB, free: 4.059 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.003497/1.007, allocations: 2.304 MB / 0.9467 GB, free: 1.781 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01251/1.02, allocations: 8.137 MB / 0.9547 GB, free: 10.11 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/1.02, allocations: 4 kB / 0.9547 GB, free: 10.1 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.533e-06/1.02, allocations: 0 / 0.9547 GB, free: 10.1 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001153/1.02, allocations: 0 / 0.9547 GB, free: 10.1 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.01194/1.032, allocations: 4.994 MB / 0.9596 GB, free: 5.09 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/1.032, allocations: 12.03 kB / 0.9596 GB, free: 5.078 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005881/1.038, allocations: 1.007 MB / 0.9606 GB, free: 4.074 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003262/1.041, allocations: 2.158 MB / 0.9627 GB, free: 1.984 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001425/1.041, allocations: 246.7 kB / 0.9629 GB, free: 1.746 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004046/1.042, allocations: 335.3 kB / 0.9632 GB, free: 1.422 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005784/1.048, allocations: 4.23 MB / 0.9673 GB, free: 13.12 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.991e-05/1.048, allocations: 18.98 kB / 0.9674 GB, free: 13.11 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002779/1.048, allocations: 130.8 kB / 0.9675 GB, free: 12.98 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001406/1.048, allocations: 170.4 kB / 0.9676 GB, free: 12.82 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00657/1.055, allocations: 4.773 MB / 0.9723 GB, free: 8.051 MB / 0.6856 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.0172/1.072, allocations: 14.5 MB / 0.9865 GB, free: 8.875 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005292/1.077, allocations: 4.535 MB / 0.9909 GB, free: 4.355 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002967/1.08, allocations: 2.458 MB / 0.9933 GB, free: 1.902 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001462/1.082, allocations: 1.604 MB / 0.9949 GB, free: 15.98 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.367e-05/1.082, allocations: 79.47 kB / 0.9949 GB, free: 15.89 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=392): time 7.113e-06/1.082, allocations: 3.984 kB / 0.9949 GB, free: 15.89 MB / 0.7169 GB Notification: Performance of matching and sorting (n=392): time 0.008058/1.09, allocations: 5.531 MB / 1 GB, free: 10.33 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.064e-05/1.09, allocations: 90.48 kB / 1 GB, free: 10.23 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002087/1.092, allocations: 1.684 MB / 1.002 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002242/1.092, allocations: 96.8 kB / 1.002 GB, free: 8.406 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007319/1.093, allocations: 1.131 MB / 1.003 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001052/1.094, allocations: 1.324 MB / 1.005 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007628/1.095, allocations: 0.5546 MB / 1.005 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.679e-05/1.095, allocations: 309.1 kB / 1.005 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002154/1.097, allocations: 1.556 MB / 1.007 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002425/1.099, allocations: 1.942 MB / 1.009 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004938/1.104, allocations: 3.768 MB / 1.012 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.077e-06/1.104, allocations: 3.938 kB / 1.013 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006103/1.11, allocations: 4.159 MB / 1.017 GB, free: 9.512 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.624e-05/1.111, allocations: 8 kB / 1.017 GB, free: 9.504 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.601e-05/1.111, allocations: 7.984 kB / 1.017 GB, free: 9.496 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.215e-05/1.111, allocations: 20 kB / 1.017 GB, free: 9.477 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002712/1.113, allocations: 0.6979 MB / 1.017 GB, free: 8.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.049e-05/1.113, allocations: 20.31 kB / 1.017 GB, free: 8.801 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002513/1.116, allocations: 265 kB / 1.018 GB, free: 8.539 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002152/1.116, allocations: 120 kB / 1.018 GB, free: 8.422 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (430): * Single equations (assignments): 430 * 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.001373/1.117, allocations: 0.7969 MB / 1.018 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006647/1.118, allocations: 296.5 kB / 1.019 GB, free: 7.363 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006415/1.125, allocations: 4.412 MB / 1.023 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.641e-05/1.125, allocations: 40 kB / 1.023 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/1.125, allocations: 4 kB / 1.023 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004808/1.129, allocations: 3.79 MB / 1.027 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01179/1.141, allocations: 8.626 MB / 1.035 GB, free: 6.344 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.098e-05/1.141, allocations: 4 kB / 1.035 GB, free: 6.34 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00301/1.144, allocations: 0.7355 MB / 1.036 GB, free: 5.641 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.065e-05/1.144, allocations: 16 kB / 1.036 GB, free: 5.625 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001982/1.145, allocations: 79.98 kB / 1.036 GB, free: 5.547 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-05/1.145, allocations: 22.89 kB / 1.036 GB, free: 5.527 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.145, allocations: 0 / 1.036 GB, free: 5.527 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008636/1.153, allocations: 6.827 MB / 1.043 GB, free: 14.61 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001518/1.155, allocations: 0.801 MB / 1.043 GB, free: 13.79 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003709/1.155, allocations: 72 kB / 1.044 GB, free: 13.71 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001778/1.157, allocations: 81.47 kB / 1.044 GB, free: 13.64 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003895/1.157, allocations: 234 kB / 1.044 GB, free: 13.41 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001917/1.158, allocations: 116 kB / 1.044 GB, free: 13.3 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0014/1.159, allocations: 1.157 MB / 1.045 GB, free: 12.12 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1e-07/1.159, allocations: 0 / 1.045 GB, free: 12.12 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.002185/1.161, allocations: 1.232 MB / 1.046 GB, free: 10.88 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 20 (volBotEas.dynBal.U,volBotEas.dynBal.m,volBotEas.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volBotWes.dynBal.U,volBotWes.dynBal.m,volBotWes.dynBal.mXi[1],oriEasTop.mExc,volTopEas.dynBal.U,volTopEas.dynBal.m,volTopEas.dynBal.mXi[1],volTopWes.dynBal.U,volTopWes.dynBal.m,volTopWes.dynBal.mXi[1],dooOpeCloTop.mExcAB,dooOpeCloTop.mExcBA) * 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 (392): * Single equations (assignments): 392 * 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.0007346/1.162, allocations: 463.8 kB / 1.047 GB, free: 10.49 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01996/1.182, allocations: 9.846 MB / 1.056 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 7.213e-06/1.182, allocations: 3.938 kB / 1.056 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.003837/1.186, allocations: 2.156 MB / 1.058 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008263/1.194, allocations: 1.597 MB / 1.06 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01237/1.206, allocations: 7.73 MB / 1.068 GB, free: 5.359 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002166/1.209, allocations: 2.205 MB / 1.07 GB, free: 3.117 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.005178/1.214, allocations: 1.197 MB / 1.071 GB, free: 1.914 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00137/1.215, allocations: 279.4 kB / 1.071 GB, free: 1.641 MB / 0.7794 GB Notification: Performance of SimCode: time 1.102e-06/1.215, allocations: 0 / 1.071 GB, free: 1.641 MB / 0.7794 GB Notification: Performance of Templates: time 0.3271/1.542, allocations: 62.05 MB / 1.132 GB, free: 377.6 MB / 0.8262 GB make -j1 -f IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.makefile (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.sim & ./IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)