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.001299/0.001299, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.00151/0.001509, allocations: 196.4 kB / 16.14 MB, free: 6.734 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.443/1.443, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7926/0.7926, allocations: 132.2 MB / 422.2 MB, free: 1.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 55.81 kB / 0.5011 GB, free: 9.203 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1843/0.1855, allocations: 80.2 MB / 0.5794 GB, free: 9.227 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy): time 1.115/1.3, allocations: 312 MB / 0.8841 GB, free: 1.332 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.03465/1.335, allocations: 18.64 MB / 0.9023 GB, free: 1.141 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0064/1.342, allocations: 75.94 kB / 0.9024 GB, free: 1.141 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.007965/1.35, allocations: 1.88 MB / 0.9042 GB, free: 1.094 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.02306/1.373, allocations: 6.893 MB / 0.9109 GB, free: 0.7578 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.009234/1.382, allocations: 2.923 MB / 0.9138 GB, free: 0.668 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.02017/1.402, allocations: 13.11 MB / 0.9266 GB, free: 0.6484 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005882/1.408, allocations: 2.668 MB / 0.9292 GB, free: 16.24 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008876/1.417, allocations: 2.894 MB / 0.932 GB, free: 16.23 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009251/1.426, allocations: 3.365 MB / 0.9353 GB, free: 16.16 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001973/1.428, allocations: 228.7 kB / 0.9355 GB, free: 16.16 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0223/1.451, allocations: 8.128 MB / 0.9435 GB, free: 15.76 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.004251/1.455, allocations: 1.523 MB / 0.9449 GB, free: 15.15 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.006421/1.461, allocations: 2.12 MB / 0.947 GB, free: 14.42 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.02099/1.482, allocations: 8.486 MB / 0.9553 GB, free: 11.05 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/1.482, allocations: 0 / 0.9553 GB, free: 11.05 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.513e-06/1.482, allocations: 0 / 0.9553 GB, free: 11.05 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001849/1.483, allocations: 0 / 0.9553 GB, free: 11.05 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.01487/1.497, allocations: 5.009 MB / 0.9602 GB, free: 8.441 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/1.497, allocations: 8.75 kB / 0.9602 GB, free: 8.441 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007118/1.505, allocations: 1.006 MB / 0.9612 GB, free: 8.027 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004717/1.509, allocations: 2.16 MB / 0.9633 GB, free: 6.977 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001722/1.51, allocations: 247.2 kB / 0.9635 GB, free: 6.84 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006461/1.51, allocations: 324.9 kB / 0.9638 GB, free: 6.625 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007387/1.518, allocations: 4.232 MB / 0.968 GB, free: 3.641 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.681e-05/1.518, allocations: 10.44 kB / 0.968 GB, free: 3.633 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003117/1.518, allocations: 143 kB / 0.9681 GB, free: 3.598 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001672/1.518, allocations: 168.4 kB / 0.9683 GB, free: 3.441 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007984/1.526, allocations: 4.774 MB / 0.9729 GB, free: 68 kB / 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.02215/1.548, allocations: 14.35 MB / 0.987 GB, free: 1.617 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006274/1.555, allocations: 4.534 MB / 0.9914 GB, free: 13.13 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003669/1.558, allocations: 2.448 MB / 0.9938 GB, free: 10.68 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001793/1.56, allocations: 1.609 MB / 0.9953 GB, free: 8.758 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.49e-05/1.56, allocations: 77.64 kB / 0.9954 GB, free: 8.672 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=392): time 5.279e-06/1.56, allocations: 0 / 0.9954 GB, free: 8.672 MB / 0.7169 GB Notification: Performance of matching and sorting (n=392): time 0.01125/1.572, allocations: 5.531 MB / 1.001 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.395e-05/1.572, allocations: 97.02 kB / 1.001 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00255/1.574, allocations: 1.682 MB / 1.003 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0003808/1.575, allocations: 97.7 kB / 1.003 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008226/1.575, allocations: 1.129 MB / 1.004 GB, free: 48 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001364/1.577, allocations: 1.325 MB / 1.005 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009074/1.578, allocations: 0.5508 MB / 1.006 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001051/1.578, allocations: 301.1 kB / 1.006 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002555/1.58, allocations: 1.56 MB / 1.007 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002863/1.583, allocations: 1.943 MB / 1.009 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005836/1.589, allocations: 3.77 MB / 1.013 GB, free: 6.461 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-05/1.589, allocations: 4 kB / 1.013 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007102/1.596, allocations: 4.165 MB / 1.017 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.595e-05/1.596, allocations: 11.98 kB / 1.017 GB, free: 2.281 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.295e-05/1.596, allocations: 7.938 kB / 1.017 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.126e-05/1.596, allocations: 27.88 kB / 1.017 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003163/1.6, allocations: 0.6994 MB / 1.018 GB, free: 1.59 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.596e-05/1.6, allocations: 20 kB / 1.018 GB, free: 1.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003638/1.603, allocations: 436.5 kB / 1.018 GB, free: 1.145 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002731/1.604, allocations: 112 kB / 1.018 GB, free: 1.035 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.001686/1.605, allocations: 0.7987 MB / 1.019 GB, free: 276 kB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009259/1.606, allocations: 288.6 kB / 1.019 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007128/1.613, allocations: 4.421 MB / 1.024 GB, free: 11.53 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.782e-05/1.613, allocations: 39.94 kB / 1.024 GB, free: 11.49 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.098e-05/1.613, allocations: 0 / 1.024 GB, free: 11.49 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005478/1.619, allocations: 3.787 MB / 1.027 GB, free: 7.641 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01573/1.635, allocations: 8.627 MB / 1.036 GB, free: 14.96 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.338e-05/1.635, allocations: 4 kB / 1.036 GB, free: 14.96 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003553/1.638, allocations: 0.7283 MB / 1.037 GB, free: 14.27 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.554e-05/1.638, allocations: 16.16 kB / 1.037 GB, free: 14.25 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002673/1.639, allocations: 83.98 kB / 1.037 GB, free: 14.17 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.002e-05/1.639, allocations: 18.62 kB / 1.037 GB, free: 14.16 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/1.639, allocations: 4 kB / 1.037 GB, free: 14.15 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01019/1.649, allocations: 6.832 MB / 1.043 GB, free: 7.23 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002158/1.651, allocations: 0.7933 MB / 1.044 GB, free: 6.414 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005475/1.652, allocations: 75.98 kB / 1.044 GB, free: 6.34 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002803/1.654, allocations: 263.5 kB / 1.044 GB, free: 6.082 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004669/1.655, allocations: 238.6 kB / 1.045 GB, free: 5.848 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002393/1.655, allocations: 118.5 kB / 1.045 GB, free: 5.734 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001752/1.657, allocations: 1.157 MB / 1.046 GB, free: 4.555 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.3e-07/1.657, allocations: 0 / 1.046 GB, free: 4.555 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.003531/1.66, allocations: 1.228 MB / 1.047 GB, free: 3.324 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.001042/1.661, allocations: 464.1 kB / 1.048 GB, free: 2.938 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.006494/1.668, allocations: 3.928 MB / 1.051 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.021e-05/1.668, allocations: 4 kB / 1.051 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.003227/1.671, allocations: 2.146 MB / 1.054 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007906/1.679, allocations: 1.538 MB / 1.055 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01436/1.694, allocations: 9.145 MB / 1.064 GB, free: 2.297 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001891/1.695, allocations: 2.201 MB / 1.066 GB, free: 60 kB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.00481/1.7, allocations: 1.212 MB / 1.067 GB, free: 14.84 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00102/1.701, allocations: 271.4 kB / 1.068 GB, free: 14.57 MB / 0.795 GB Notification: Performance of SimCode: time 6.91e-07/1.701, allocations: 0 / 1.068 GB, free: 14.57 MB / 0.795 GB Notification: Performance of Templates: time 0.09276/1.794, allocations: 59.34 MB / 1.125 GB, free: 4.094 MB / 0.8419 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)