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.009306/0.009306, allocations: 102 kB / 15.73 MB, free: 6.035 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.001777/0.001778, allocations: 187.9 kB / 16.67 MB, free: 5.969 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.506/1.506, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7855/0.7855, allocations: 132.2 MB / 422.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001695/0.001696, allocations: 66.67 kB / 0.5813 GB, free: 0.875 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1847/0.1864, allocations: 80.2 MB / 0.6597 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.7351/0.9215, allocations: 314.1 MB / 0.9664 GB, free: 6.242 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.0264/0.948, allocations: 18.43 MB / 0.9844 GB, free: 3.777 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004144/0.9522, allocations: 87.56 kB / 0.9845 GB, free: 3.691 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.00536/0.9575, allocations: 2.254 MB / 0.9867 GB, free: 1.426 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.01908/0.9767, allocations: 7.521 MB / 0.9941 GB, free: 9.875 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.008959/0.9856, allocations: 3.26 MB / 0.9973 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01123/0.9969, allocations: 9.109 MB / 1.006 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004533/1.001, allocations: 3.115 MB / 1.009 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005856/1.007, allocations: 3.399 MB / 1.013 GB, free: 6.914 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005368/1.013, allocations: 3.226 MB / 1.016 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.001063/1.014, allocations: 404 kB / 1.016 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01297/1.027, allocations: 7.038 MB / 1.023 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.002263/1.029, allocations: 1.683 MB / 1.025 GB, free: 10.55 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.004066/1.033, allocations: 2.31 MB / 1.027 GB, free: 8.23 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.01555/1.049, allocations: 8.197 MB / 1.035 GB, free: 12 kB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/1.049, allocations: 0 / 1.035 GB, free: 12 kB / 0.7481 GB Notification: Performance of FrontEnd: time 1.813e-06/1.049, allocations: 3.938 kB / 1.035 GB, free: 8 kB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.000169/1.049, allocations: 0 / 1.035 GB, free: 8 kB / 0.7481 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.01326/1.062, allocations: 4.993 MB / 1.04 GB, free: 10.95 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.223e-05/1.062, allocations: 12.03 kB / 1.04 GB, free: 10.93 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006796/1.069, allocations: 1.01 MB / 1.041 GB, free: 9.918 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004709/1.074, allocations: 2.255 MB / 1.043 GB, free: 7.609 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001636/1.074, allocations: 242.4 kB / 1.043 GB, free: 7.371 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005327/1.075, allocations: 332 kB / 1.043 GB, free: 7.047 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006872/1.081, allocations: 4.228 MB / 1.048 GB, free: 2.734 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.01e-05/1.081, allocations: 15.83 kB / 1.048 GB, free: 2.719 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002864/1.082, allocations: 132 kB / 1.048 GB, free: 2.59 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001626/1.082, allocations: 170.4 kB / 1.048 GB, free: 2.422 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007782/1.09, allocations: 4.768 MB / 1.053 GB, free: 13.64 MB / 0.7794 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.02022/1.11, allocations: 14.41 MB / 1.067 GB, free: 14.27 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005896/1.116, allocations: 4.538 MB / 1.071 GB, free: 9.723 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003427/1.119, allocations: 2.459 MB / 1.073 GB, free: 7.262 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001739/1.121, allocations: 1.612 MB / 1.075 GB, free: 5.316 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.902e-05/1.121, allocations: 85.56 kB / 1.075 GB, free: 5.223 MB / 0.795 GB Notification: Performance of pre-optimization done (n=392): time 6.362e-06/1.121, allocations: 0 / 1.075 GB, free: 5.223 MB / 0.795 GB Notification: Performance of matching and sorting (n=392): time 0.009236/1.13, allocations: 5.524 MB / 1.08 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.102e-05/1.131, allocations: 94.48 kB / 1.081 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002321/1.133, allocations: 1.685 MB / 1.082 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0002627/1.133, allocations: 97.7 kB / 1.082 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008349/1.134, allocations: 1.132 MB / 1.083 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.001229/1.135, allocations: 1.316 MB / 1.085 GB, free: 11.26 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008781/1.136, allocations: 0.5546 MB / 1.085 GB, free: 10.7 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001039/1.136, allocations: 301.1 kB / 1.086 GB, free: 10.4 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002389/1.139, allocations: 1.56 MB / 1.087 GB, free: 8.84 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002791/1.141, allocations: 1.938 MB / 1.089 GB, free: 6.82 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005717/1.147, allocations: 3.766 MB / 1.093 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.385e-05/1.147, allocations: 8 kB / 1.093 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007051/1.154, allocations: 4.166 MB / 1.097 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.894e-05/1.154, allocations: 16.06 kB / 1.097 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.028e-05/1.154, allocations: 4.859 kB / 1.097 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.898e-05/1.154, allocations: 20 kB / 1.097 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003079/1.157, allocations: 0.6943 MB / 1.097 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.392e-05/1.158, allocations: 27.92 kB / 1.097 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002618/1.16, allocations: 253.1 kB / 1.098 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002751/1.16, allocations: 124 kB / 1.098 GB, free: 13.64 MB / 0.8262 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.001625/1.162, allocations: 0.7938 MB / 1.099 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006832/1.163, allocations: 292.5 kB / 1.099 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007101/1.17, allocations: 4.421 MB / 1.103 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.267e-05/1.17, allocations: 36 kB / 1.103 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.11e-05/1.17, allocations: 0 / 1.103 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005652/1.176, allocations: 3.796 MB / 1.107 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0148/1.19, allocations: 8.621 MB / 1.115 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.498e-05/1.19, allocations: 4 kB / 1.115 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003281/1.194, allocations: 0.7334 MB / 1.116 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.828e-05/1.194, allocations: 16 kB / 1.116 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002458/1.194, allocations: 88.02 kB / 1.116 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.986e-05/1.194, allocations: 16 kB / 1.116 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/1.194, allocations: 4 kB / 1.116 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01001/1.204, allocations: 6.822 MB / 1.123 GB, free: 3.629 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001773/1.206, allocations: 0.7933 MB / 1.124 GB, free: 2.812 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004224/1.206, allocations: 79.92 kB / 1.124 GB, free: 2.734 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001821/1.208, allocations: 89.2 kB / 1.124 GB, free: 2.648 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004248/1.209, allocations: 238.6 kB / 1.124 GB, free: 2.414 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002299/1.209, allocations: 119.9 kB / 1.124 GB, free: 2.297 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001531/1.21, allocations: 1.153 MB / 1.125 GB, free: 1.121 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.7e-07/1.21, allocations: 4 kB / 1.125 GB, free: 1.117 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.002676/1.213, allocations: 1.225 MB / 1.126 GB, free: 15.89 MB / 0.8575 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.0009193/1.214, allocations: 477.9 kB / 1.127 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.006289/1.22, allocations: 3.947 MB / 1.131 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/1.22, allocations: 1.312 kB / 1.131 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.003126/1.223, allocations: 2.153 MB / 1.133 GB, free: 9.312 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00732/1.231, allocations: 1.61 MB / 1.134 GB, free: 7.781 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01338/1.244, allocations: 7.629 MB / 1.142 GB, free: 84 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.5481/1.792, allocations: 2.199 MB / 1.144 GB, free: 131.8 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.004883/1.797, allocations: 1.197 MB / 1.145 GB, free: 131.7 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001208/1.799, allocations: 273.7 kB / 1.145 GB, free: 131.7 MB / 0.8575 GB Notification: Performance of SimCode: time 8.71e-07/1.799, allocations: 4.312 kB / 1.145 GB, free: 131.7 MB / 0.8575 GB Notification: Performance of Templates: time 0.1048/1.903, allocations: 62.79 MB / 1.207 GB, free: 112.4 MB / 0.8575 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)