Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy") translateModel(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.00118/0.00118, allocations: 103.5 kB / 16.35 MB, free: 6.285 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.0009738/0.0009738, allocations: 193.5 kB / 17.29 MB, free: 5.863 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.221/1.221, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.746/0.746, allocations: 135.1 MB / 426.3 MB, free: 4.188 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00115/0.00115, allocations: 59.91 kB / 0.5067 GB, free: 7.746 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2938/0.295, allocations: 80.92 MB / 0.5858 GB, free: 25.53 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.5226/0.8176, allocations: 314.1 MB / 0.8925 GB, free: 2.93 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02368/0.8413, allocations: 18.43 MB / 0.9105 GB, free: 1.098 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003494/0.8448, allocations: 91.56 kB / 0.9106 GB, free: 1.008 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.004996/0.8498, allocations: 2.148 MB / 0.9127 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01611/0.866, allocations: 7.307 MB / 0.9198 GB, free: 7.508 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.007554/0.8735, allocations: 3.221 MB / 0.923 GB, free: 4.293 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01034/0.8839, allocations: 9.114 MB / 0.9319 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003935/0.8879, allocations: 3.111 MB / 0.9349 GB, free: 7.977 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005481/0.8934, allocations: 3.325 MB / 0.9382 GB, free: 4.641 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005124/0.8985, allocations: 3.226 MB / 0.9413 GB, free: 1.418 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0006072/0.8991, allocations: 400 kB / 0.9417 GB, free: 1.027 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01237/0.9115, allocations: 7.007 MB / 0.9485 GB, free: 10 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001912/0.9134, allocations: 1.683 MB / 0.9502 GB, free: 8.316 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.003121/0.9166, allocations: 2.303 MB / 0.9524 GB, free: 6.004 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01355/0.9301, allocations: 8.189 MB / 0.9604 GB, free: 13.79 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.9302, allocations: 0 / 0.9604 GB, free: 13.79 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.643e-06/0.9302, allocations: 0 / 0.9604 GB, free: 13.79 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 9.104e-05/0.9303, allocations: 0 / 0.9604 GB, free: 13.79 MB / 0.6856 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.01126/0.9415, allocations: 4.997 MB / 0.9653 GB, free: 8.727 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.9416, allocations: 13.11 kB / 0.9653 GB, free: 8.715 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006041/0.9476, allocations: 1.006 MB / 0.9663 GB, free: 7.703 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004154/0.9518, allocations: 2.244 MB / 0.9685 GB, free: 5.406 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001499/0.952, allocations: 246.4 kB / 0.9687 GB, free: 5.164 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004563/0.9524, allocations: 335.9 kB / 0.969 GB, free: 4.836 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006178/0.9586, allocations: 4.232 MB / 0.9732 GB, free: 0.5195 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.511e-05/0.9587, allocations: 7.906 kB / 0.9732 GB, free: 0.5117 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002711/0.959, allocations: 132 kB / 0.9733 GB, free: 392 kB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001527/0.9591, allocations: 182.3 kB / 0.9735 GB, free: 208 kB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006881/0.966, allocations: 4.76 MB / 0.9781 GB, free: 11.43 MB / 0.7012 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.01751/0.9835, allocations: 14.41 MB / 0.9922 GB, free: 12.05 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005315/0.9889, allocations: 4.539 MB / 0.9966 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003104/0.992, allocations: 2.448 MB / 0.999 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001518/0.9935, allocations: 1.608 MB / 1.001 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.207e-05/0.9936, allocations: 79.47 kB / 1.001 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=392): time 5.159e-06/0.9936, allocations: 4 kB / 1.001 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of matching and sorting (n=392): time 0.008287/1.002, allocations: 5.527 MB / 1.006 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.475e-05/1.002, allocations: 90.48 kB / 1.006 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002222/1.004, allocations: 1.68 MB / 1.008 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002143/1.004, allocations: 93.7 kB / 1.008 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007312/1.005, allocations: 1.139 MB / 1.009 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009983/1.006, allocations: 1.324 MB / 1.01 GB, free: 9.055 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007914/1.007, allocations: 0.5546 MB / 1.011 GB, free: 8.492 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.417e-05/1.007, allocations: 305.1 kB / 1.011 GB, free: 8.191 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00223/1.009, allocations: 1.56 MB / 1.013 GB, free: 6.629 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002568/1.012, allocations: 1.939 MB / 1.015 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005296/1.017, allocations: 3.769 MB / 1.018 GB, free: 0.7539 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/1.017, allocations: 0 / 1.018 GB, free: 0.7539 MB / 0.7325 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006237/1.023, allocations: 4.166 MB / 1.022 GB, free: 12.56 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/1.023, allocations: 4 kB / 1.022 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.581e-05/1.023, allocations: 8.656 kB / 1.022 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.926e-05/1.024, allocations: 20 kB / 1.022 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002799/1.026, allocations: 0.6982 MB / 1.023 GB, free: 11.83 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.617e-05/1.026, allocations: 20 kB / 1.023 GB, free: 11.81 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002269/1.029, allocations: 270.8 kB / 1.023 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002523/1.029, allocations: 123.9 kB / 1.023 GB, free: 11.42 MB / 0.7481 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.001333/1.03, allocations: 0.7938 MB / 1.024 GB, free: 10.62 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005759/1.031, allocations: 296.5 kB / 1.024 GB, free: 10.32 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006775/1.038, allocations: 4.413 MB / 1.029 GB, free: 5.871 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.53e-05/1.038, allocations: 36 kB / 1.029 GB, free: 5.836 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.324e-05/1.038, allocations: 0 / 1.029 GB, free: 5.836 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005148/1.043, allocations: 3.784 MB / 1.033 GB, free: 1.984 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2591/1.302, allocations: 8.625 MB / 1.041 GB, free: 320.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.359e-05/1.302, allocations: 2.594 kB / 1.041 GB, free: 320.8 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003347/1.305, allocations: 0.7316 MB / 1.042 GB, free: 320.7 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.718e-05/1.305, allocations: 15 kB / 1.042 GB, free: 320.7 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002063/1.306, allocations: 84.05 kB / 1.042 GB, free: 320.7 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.065e-05/1.306, allocations: 18.95 kB / 1.042 GB, free: 320.7 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/1.306, allocations: 9.297 kB / 1.042 GB, free: 320.7 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007855/1.313, allocations: 6.827 MB / 1.048 GB, free: 317.9 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001758/1.315, allocations: 0.7993 MB / 1.049 GB, free: 317.7 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003921/1.316, allocations: 72.55 kB / 1.049 GB, free: 317.6 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001749/1.317, allocations: 88.8 kB / 1.049 GB, free: 317.6 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003612/1.318, allocations: 234 kB / 1.05 GB, free: 317.5 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00019/1.318, allocations: 110.6 kB / 1.05 GB, free: 317.5 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001278/1.319, allocations: 1.159 MB / 1.051 GB, free: 317 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/1.319, allocations: 0 / 1.051 GB, free: 317 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001957/1.321, allocations: 1.235 MB / 1.052 GB, free: 316.9 MB / 0.7481 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.0007326/1.322, allocations: 469.7 kB / 1.052 GB, free: 316.7 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.004702/1.327, allocations: 3.948 MB / 1.056 GB, free: 315.4 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/1.327, allocations: 2.266 kB / 1.056 GB, free: 315.4 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.002254/1.329, allocations: 2.156 MB / 1.058 GB, free: 314.5 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005356/1.334, allocations: 1.612 MB / 1.06 GB, free: 313.7 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008708/1.343, allocations: 7.632 MB / 1.067 GB, free: 306.6 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001198/1.344, allocations: 2.213 MB / 1.07 GB, free: 304.4 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.003285/1.348, allocations: 1.193 MB / 1.071 GB, free: 303.2 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008474/1.348, allocations: 267.4 kB / 1.071 GB, free: 302.9 MB / 0.7481 GB Notification: Performance of SimCode: time 8.22e-07/1.348, allocations: 4 kB / 1.071 GB, free: 302.9 MB / 0.7481 GB Notification: Performance of Templates: time 0.07024/1.419, allocations: 62.03 MB / 1.132 GB, free: 241.5 MB / 0.7481 GB make -j1 -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.makefile (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.sim & ./IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)