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.001553/0.001553, allocations: 110.7 kB / 16.37 MB, free: 6.004 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.001334/0.001334, allocations: 195.8 kB / 17.31 MB, free: 5.613 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.302/1.302, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7727/0.7727, allocations: 132.2 MB / 423.4 MB, free: 6.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001258, allocations: 63.89 kB / 0.5032 GB, free: 10.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3797/0.3809, allocations: 80.18 MB / 0.5815 GB, free: 27.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.7345/1.116, allocations: 314.2 MB / 0.8883 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02712/1.143, allocations: 18.42 MB / 0.9063 GB, free: 6.574 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004562/1.147, allocations: 90 kB / 0.9064 GB, free: 6.516 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.005835/1.153, allocations: 2.145 MB / 0.9084 GB, free: 4.383 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01883/1.172, allocations: 7.308 MB / 0.9156 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.008735/1.181, allocations: 3.224 MB / 0.9187 GB, free: 9.82 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01283/1.194, allocations: 9.098 MB / 0.9276 GB, free: 0.6914 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004772/1.198, allocations: 3.121 MB / 0.9307 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009184/1.208, allocations: 3.321 MB / 0.9339 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007683/1.215, allocations: 3.239 MB / 0.9371 GB, free: 6.945 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001624/1.217, allocations: 404 kB / 0.9375 GB, free: 6.551 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01904/1.236, allocations: 6.991 MB / 0.9443 GB, free: 15.54 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.003153/1.239, allocations: 1.691 MB / 0.9459 GB, free: 13.85 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.005153/1.244, allocations: 2.303 MB / 0.9482 GB, free: 11.54 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01753/1.262, allocations: 8.185 MB / 0.9562 GB, free: 3.328 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/1.262, allocations: 4 kB / 0.9562 GB, free: 3.324 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.645e-06/1.262, allocations: 3.938 kB / 0.9562 GB, free: 3.32 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001847/1.262, allocations: 4 kB / 0.9562 GB, free: 3.316 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.01507/1.277, allocations: 4.993 MB / 0.9611 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/1.277, allocations: 8.031 kB / 0.9611 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006886/1.284, allocations: 1.002 MB / 0.9621 GB, free: 13.24 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005023/1.289, allocations: 2.255 MB / 0.9643 GB, free: 10.93 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001734/1.29, allocations: 250.4 kB / 0.9645 GB, free: 10.68 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005424/1.29, allocations: 323.9 kB / 0.9648 GB, free: 10.37 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007099/1.297, allocations: 4.232 MB / 0.9689 GB, free: 6.051 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.899e-05/1.297, allocations: 7.906 kB / 0.9689 GB, free: 6.043 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003105/1.298, allocations: 136 kB / 0.9691 GB, free: 5.91 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001752/1.298, allocations: 166.4 kB / 0.9692 GB, free: 5.746 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007363/1.305, allocations: 4.776 MB / 0.9739 GB, free: 0.9609 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.02036/1.326, allocations: 14.41 MB / 0.988 GB, free: 1.582 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006092/1.332, allocations: 4.545 MB / 0.9924 GB, free: 13.03 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003353/1.335, allocations: 2.444 MB / 0.9948 GB, free: 10.58 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00164/1.337, allocations: 1.612 MB / 0.9964 GB, free: 8.637 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.343e-05/1.337, allocations: 75.47 kB / 0.9964 GB, free: 8.555 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=392): time 5.12e-06/1.337, allocations: 0 / 0.9964 GB, free: 8.555 MB / 0.7169 GB Notification: Performance of matching and sorting (n=392): time 0.008799/1.346, allocations: 5.531 MB / 1.002 GB, free: 3 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.536e-05/1.346, allocations: 94.42 kB / 1.002 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002234/1.348, allocations: 1.688 MB / 1.004 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002318/1.348, allocations: 93.7 kB / 1.004 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007894/1.349, allocations: 1.132 MB / 1.005 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.00106/1.35, allocations: 1.324 MB / 1.006 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008225/1.351, allocations: 0.5546 MB / 1.007 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.936e-05/1.351, allocations: 305.1 kB / 1.007 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002319/1.353, allocations: 1.56 MB / 1.008 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002641/1.356, allocations: 1.935 MB / 1.01 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005434/1.361, allocations: 3.766 MB / 1.014 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/1.361, allocations: 0 / 1.014 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006584/1.368, allocations: 4.166 MB / 1.018 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.841e-05/1.368, allocations: 8.062 kB / 1.018 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.555e-05/1.368, allocations: 8 kB / 1.018 GB, free: 2.074 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.497e-05/1.368, allocations: 23.98 kB / 1.018 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002981/1.371, allocations: 0.6982 MB / 1.019 GB, free: 1.352 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.486e-05/1.371, allocations: 16 kB / 1.019 GB, free: 1.336 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002661/1.374, allocations: 270.6 kB / 1.019 GB, free: 1.07 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000253/1.374, allocations: 120 kB / 1.019 GB, free: 0.9531 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.001459/1.376, allocations: 0.8015 MB / 1.02 GB, free: 144 kB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006397/1.376, allocations: 292.6 kB / 1.02 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006747/1.383, allocations: 4.417 MB / 1.025 GB, free: 11.4 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.784e-05/1.383, allocations: 36 kB / 1.025 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.357e-06/1.383, allocations: 3.938 kB / 1.025 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005238/1.388, allocations: 3.78 MB / 1.028 GB, free: 7.512 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3425/1.731, allocations: 8.627 MB / 1.037 GB, free: 323.6 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-05/1.731, allocations: 2.797 kB / 1.037 GB, free: 323.6 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004143/1.735, allocations: 0.7337 MB / 1.037 GB, free: 323.6 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.054e-05/1.735, allocations: 15.56 kB / 1.037 GB, free: 323.6 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003693/1.735, allocations: 85.31 kB / 1.038 GB, free: 323.6 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.104e-05/1.736, allocations: 19.72 kB / 1.038 GB, free: 323.6 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/1.736, allocations: 3.906 kB / 1.038 GB, free: 323.6 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01185/1.747, allocations: 6.835 MB / 1.044 GB, free: 321.1 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00282/1.75, allocations: 0.7936 MB / 1.045 GB, free: 320.9 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000816/1.751, allocations: 71.67 kB / 1.045 GB, free: 320.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002113/1.753, allocations: 87.25 kB / 1.045 GB, free: 320.8 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004599/1.754, allocations: 237 kB / 1.045 GB, free: 320.7 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002813/1.754, allocations: 114 kB / 1.045 GB, free: 320.7 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001616/1.756, allocations: 1.157 MB / 1.047 GB, free: 320.2 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.9e-07/1.756, allocations: 0 / 1.047 GB, free: 320.2 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002856/1.758, allocations: 1.233 MB / 1.048 GB, free: 320.1 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.0009713/1.759, allocations: 450.8 kB / 1.048 GB, free: 319.9 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.005353/1.765, allocations: 3.956 MB / 1.052 GB, free: 318.6 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/1.765, allocations: 1.422 kB / 1.052 GB, free: 318.6 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.002655/1.768, allocations: 2.157 MB / 1.054 GB, free: 317.8 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006516/1.774, allocations: 1.607 MB / 1.056 GB, free: 317.4 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01068/1.785, allocations: 7.632 MB / 1.063 GB, free: 313.8 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001551/1.786, allocations: 2.21 MB / 1.065 GB, free: 312.4 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.003972/1.79, allocations: 1.197 MB / 1.067 GB, free: 311.5 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009731/1.791, allocations: 271.4 kB / 1.067 GB, free: 311.2 MB / 0.7481 GB Notification: Performance of SimCode: time 1.162e-06/1.791, allocations: 0 / 1.067 GB, free: 311.2 MB / 0.7481 GB Notification: Performance of Templates: time 0.08314/1.874, allocations: 62.05 MB / 1.127 GB, free: 249.9 MB / 0.7481 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)