Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.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.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") translateModel(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007105/0.007105, allocations: 101.6 kB / 15.73 MB, free: 5.98 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.001415/0.001416, allocations: 190.5 kB / 16.67 MB, free: 5.918 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.534/1.534, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7963/0.7963, allocations: 132.2 MB / 422.7 MB, free: 1.672 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 62.72 kB / 0.5814 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1858/0.187, allocations: 80.2 MB / 0.6597 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.8618/1.049, allocations: 295.1 MB / 0.9479 GB, free: 8.859 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.03186/1.081, allocations: 17 MB / 0.9645 GB, free: 8.293 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006673/1.088, allocations: 75.62 kB / 0.9645 GB, free: 8.219 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.006471/1.094, allocations: 1.974 MB / 0.9665 GB, free: 6.234 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.02305/1.117, allocations: 6.626 MB / 0.9729 GB, free: 15.58 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.01037/1.128, allocations: 2.972 MB / 0.9758 GB, free: 12.61 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01382/1.141, allocations: 7.705 MB / 0.9834 GB, free: 4.883 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005964/1.147, allocations: 2.609 MB / 0.9859 GB, free: 2.223 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008004/1.155, allocations: 2.862 MB / 0.9887 GB, free: 15.35 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006694/1.162, allocations: 2.696 MB / 0.9913 GB, free: 12.66 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001481/1.164, allocations: 332 kB / 0.9916 GB, free: 12.33 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01596/1.18, allocations: 6.192 MB / 0.9977 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.002824/1.182, allocations: 1.329 MB / 0.999 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.005542/1.188, allocations: 1.883 MB / 1.001 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01878/1.207, allocations: 6.888 MB / 1.008 GB, free: 12 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 1.05e-05/1.207, allocations: 11.88 kB / 1.008 GB, free: 11.99 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.266e-06/1.207, allocations: 0 / 1.008 GB, free: 11.99 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001593/1.207, allocations: 0 / 1.008 GB, free: 11.99 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 669 * Number of variables: 669 Notification: Performance of Generate backend data structure: time 0.01337/1.22, allocations: 4.125 MB / 1.012 GB, free: 7.797 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/1.221, allocations: 8.031 kB / 1.012 GB, free: 7.789 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006644/1.227, allocations: 0.9132 MB / 1.012 GB, free: 6.871 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005781/1.233, allocations: 1.936 MB / 1.014 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002153/1.233, allocations: 197.1 kB / 1.015 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009375/1.234, allocations: 260 kB / 1.015 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008412/1.243, allocations: 3.321 MB / 1.018 GB, free: 1.008 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001188/1.243, allocations: 11.84 kB / 1.018 GB, free: 0.9961 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004863/1.243, allocations: 108 kB / 1.018 GB, free: 0.8906 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002373/1.244, allocations: 137 kB / 1.018 GB, free: 0.7539 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007183/1.251, allocations: 3.498 MB / 1.022 GB, free: 13.24 MB / 0.7481 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.02013/1.271, allocations: 12.11 MB / 1.034 GB, free: 232 kB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005378/1.276, allocations: 3.491 MB / 1.037 GB, free: 12.66 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003254/1.28, allocations: 1.845 MB / 1.039 GB, free: 10.8 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001872/1.281, allocations: 1.493 MB / 1.04 GB, free: 8.996 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.709e-05/1.282, allocations: 64.75 kB / 1.04 GB, free: 8.922 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=278): time 5.34e-06/1.282, allocations: 0 / 1.04 GB, free: 8.922 MB / 0.7637 GB Notification: Performance of matching and sorting (n=278): time 0.007658/1.289, allocations: 3.873 MB / 1.044 GB, free: 4.996 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.398e-05/1.289, allocations: 89.58 kB / 1.044 GB, free: 4.895 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003031/1.292, allocations: 1.379 MB / 1.045 GB, free: 3.508 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0003339/1.293, allocations: 73.7 kB / 1.046 GB, free: 3.43 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009942/1.294, allocations: 0.9882 MB / 1.047 GB, free: 2.43 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.001456/1.295, allocations: 0.9432 MB / 1.047 GB, free: 1.473 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001021/1.296, allocations: 404.9 kB / 1.048 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001518/1.296, allocations: 309.1 kB / 1.048 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002146/1.299, allocations: 1.094 MB / 1.049 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002195/1.301, allocations: 1.389 MB / 1.051 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004268/1.305, allocations: 2.638 MB / 1.053 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.296e-05/1.305, allocations: 4 kB / 1.053 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005547/1.311, allocations: 2.962 MB / 1.056 GB, free: 8.457 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.762e-05/1.311, allocations: 15.92 kB / 1.056 GB, free: 8.441 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.825e-05/1.311, allocations: 4 kB / 1.056 GB, free: 8.438 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.027e-05/1.311, allocations: 16 kB / 1.056 GB, free: 8.422 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002328/1.313, allocations: 0.5116 MB / 1.057 GB, free: 7.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.858e-05/1.313, allocations: 16.62 kB / 1.057 GB, free: 7.895 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003154/1.316, allocations: 178 kB / 1.057 GB, free: 7.719 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002518/1.317, allocations: 91.92 kB / 1.057 GB, free: 7.629 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (311): * Single equations (assignments): 311 * 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.002063/1.319, allocations: 0.6462 MB / 1.057 GB, free: 6.973 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001278/1.32, allocations: 229.3 kB / 1.058 GB, free: 6.746 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006196/1.326, allocations: 3.096 MB / 1.061 GB, free: 3.598 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.717e-05/1.326, allocations: 24 kB / 1.061 GB, free: 3.574 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.466e-05/1.326, allocations: 8 kB / 1.061 GB, free: 3.566 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00413/1.33, allocations: 2.645 MB / 1.063 GB, free: 0.8516 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01143/1.342, allocations: 6.201 MB / 1.069 GB, free: 10.55 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.376e-06/1.342, allocations: 0 / 1.069 GB, free: 10.55 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002566/1.345, allocations: 0.554 MB / 1.07 GB, free: 9.992 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.355e-05/1.345, allocations: 15.94 kB / 1.07 GB, free: 9.977 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002039/1.345, allocations: 55.98 kB / 1.07 GB, free: 9.922 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-05/1.345, allocations: 11.98 kB / 1.07 GB, free: 9.91 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/1.345, allocations: 0 / 1.07 GB, free: 9.91 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007623/1.352, allocations: 4.804 MB / 1.075 GB, free: 5.02 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001599/1.354, allocations: 0.611 MB / 1.075 GB, free: 4.387 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006088/1.355, allocations: 55.94 kB / 1.075 GB, free: 4.332 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002113/1.357, allocations: 65.28 kB / 1.075 GB, free: 4.27 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000359/1.357, allocations: 162 kB / 1.076 GB, free: 4.109 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002177/1.357, allocations: 79.97 kB / 1.076 GB, free: 4.031 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002044/1.359, allocations: 0.9423 MB / 1.077 GB, free: 3.094 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.71e-07/1.359, allocations: 0 / 1.077 GB, free: 3.094 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.003294/1.363, allocations: 0.9862 MB / 1.078 GB, free: 2.105 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.U,volOut.dynBal.m,volOut.dynBal.mXi[1],oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,oriEasTop.mExc,volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mXi[1],volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mXi[1]) * 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 (278): * Single equations (assignments): 278 * 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.001044/1.364, allocations: 381.1 kB / 1.078 GB, free: 1.73 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.005485/1.369, allocations: 2.778 MB / 1.081 GB, free: 14.92 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/1.369, allocations: 0 / 1.081 GB, free: 14.92 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.00238/1.372, allocations: 1.515 MB / 1.082 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007531/1.379, allocations: 1.346 MB / 1.083 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01177/1.391, allocations: 5.986 MB / 1.089 GB, free: 6.086 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002441/1.394, allocations: 1.895 MB / 1.091 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.003527/1.397, allocations: 0.8319 MB / 1.092 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001033/1.398, allocations: 211.4 kB / 1.092 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of SimCode: time 1.022e-06/1.398, allocations: 0 / 1.092 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of Templates: time 0.08788/1.486, allocations: 50.38 MB / 1.141 GB, free: 1.332 MB / 0.8575 GB make -j1 -f IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & ./IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)