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.01101/0.01101, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.002073/0.002074, allocations: 197.2 kB / 16.68 MB, free: 5.93 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 / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7932/0.7932, allocations: 135.1 MB / 425.7 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 66.67 kB / 0.5856 GB, free: 21.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1745/0.1757, allocations: 80.93 MB / 0.6646 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.7118/0.8875, allocations: 314.1 MB / 0.9714 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.03017/0.9177, allocations: 18.42 MB / 0.9894 GB, free: 2.258 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005683/0.9235, allocations: 87.56 kB / 0.9895 GB, free: 2.172 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.006135/0.9296, allocations: 2.25 MB / 0.9917 GB, free: 15.91 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0221/0.9518, allocations: 7.522 MB / 0.999 GB, free: 8.359 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.009636/0.9615, allocations: 3.263 MB / 1.002 GB, free: 5.102 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01363/0.9751, allocations: 9.108 MB / 1.011 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006094/0.9812, allocations: 3.114 MB / 1.014 GB, free: 8.797 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007857/0.9891, allocations: 3.403 MB / 1.017 GB, free: 5.383 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006942/0.9961, allocations: 3.23 MB / 1.021 GB, free: 2.156 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.001747/0.9979, allocations: 404 kB / 1.021 GB, free: 1.762 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01667/1.015, allocations: 7.034 MB / 1.028 GB, free: 10.71 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.003186/1.018, allocations: 1.683 MB / 1.03 GB, free: 9.023 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.006533/1.024, allocations: 2.31 MB / 1.032 GB, free: 6.703 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.01886/1.043, allocations: 8.189 MB / 1.04 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/1.043, allocations: 8 kB / 1.04 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.944e-06/1.043, allocations: 0 / 1.04 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0002359/1.043, allocations: 0 / 1.04 GB, free: 14.48 MB / 0.8106 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.01607/1.06, allocations: 4.993 MB / 1.045 GB, free: 9.422 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/1.06, allocations: 13.05 kB / 1.045 GB, free: 9.41 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007612/1.067, allocations: 1.014 MB / 1.046 GB, free: 8.391 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005429/1.073, allocations: 2.236 MB / 1.048 GB, free: 6.102 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002406/1.073, allocations: 254.4 kB / 1.048 GB, free: 5.852 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00101/1.074, allocations: 327.9 kB / 1.048 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009201/1.083, allocations: 4.234 MB / 1.053 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001034/1.083, allocations: 3.906 kB / 1.053 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005472/1.084, allocations: 139.9 kB / 1.053 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001855/1.084, allocations: 174.4 kB / 1.053 GB, free: 0.9023 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3862/1.47, allocations: 4.765 MB / 1.057 GB, free: 308.4 MB / 0.8106 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.02419/1.495, allocations: 14.4 MB / 1.072 GB, free: 299.4 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006993/1.502, allocations: 4.552 MB / 1.076 GB, free: 297.4 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003622/1.505, allocations: 2.457 MB / 1.078 GB, free: 296.5 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001431/1.507, allocations: 1.605 MB / 1.08 GB, free: 294.8 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.098e-05/1.507, allocations: 80.55 kB / 1.08 GB, free: 294.7 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=392): time 5.56e-06/1.507, allocations: 1.641 kB / 1.08 GB, free: 294.7 MB / 0.8106 GB Notification: Performance of matching and sorting (n=392): time 0.009171/1.516, allocations: 5.532 MB / 1.085 GB, free: 292.6 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.861e-05/1.516, allocations: 98.09 kB / 1.086 GB, free: 292.6 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002269/1.518, allocations: 1.68 MB / 1.087 GB, free: 291.6 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0002326/1.519, allocations: 97.7 kB / 1.087 GB, free: 291.6 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006984/1.519, allocations: 1.141 MB / 1.088 GB, free: 290.6 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009778/1.52, allocations: 1.321 MB / 1.09 GB, free: 289.4 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008078/1.521, allocations: 0.5509 MB / 1.09 GB, free: 289.1 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 6.122e-05/1.521, allocations: 301.1 kB / 1.091 GB, free: 288.8 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001985/1.523, allocations: 1.561 MB / 1.092 GB, free: 288 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002139/1.525, allocations: 1.943 MB / 1.094 GB, free: 286.9 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004535/1.53, allocations: 3.766 MB / 1.098 GB, free: 284.9 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.025e-05/1.53, allocations: 0 / 1.098 GB, free: 284.9 MB / 0.8106 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006029/1.536, allocations: 4.17 MB / 1.102 GB, free: 282.8 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.463e-05/1.536, allocations: 6.844 kB / 1.102 GB, free: 282.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.846e-05/1.536, allocations: 9.5 kB / 1.102 GB, free: 282.8 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.008e-05/1.536, allocations: 19.75 kB / 1.102 GB, free: 282.8 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002791/1.539, allocations: 0.6924 MB / 1.102 GB, free: 282.7 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.984e-05/1.539, allocations: 28.28 kB / 1.102 GB, free: 282.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002723/1.542, allocations: 260.8 kB / 1.103 GB, free: 282.5 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002244/1.542, allocations: 115.5 kB / 1.103 GB, free: 282.4 MB / 0.8106 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.001652/1.543, allocations: 0.8046 MB / 1.104 GB, free: 281.9 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004878/1.544, allocations: 290 kB / 1.104 GB, free: 281.7 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006067/1.55, allocations: 4.419 MB / 1.108 GB, free: 277.9 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.946e-05/1.55, allocations: 36 kB / 1.108 GB, free: 277.9 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.198e-05/1.55, allocations: 8.484 kB / 1.108 GB, free: 277.9 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004407/1.554, allocations: 3.78 MB / 1.112 GB, free: 274 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01149/1.566, allocations: 8.621 MB / 1.12 GB, free: 265.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.12e-05/1.566, allocations: 4 kB / 1.12 GB, free: 265.4 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002895/1.569, allocations: 0.7295 MB / 1.121 GB, free: 264.6 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.98e-05/1.569, allocations: 16 kB / 1.121 GB, free: 264.6 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002081/1.569, allocations: 83.97 kB / 1.121 GB, free: 264.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.587e-05/1.569, allocations: 15.94 kB / 1.121 GB, free: 264.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/1.569, allocations: 4 kB / 1.121 GB, free: 264.5 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007882/1.577, allocations: 6.842 MB / 1.128 GB, free: 257.6 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001684/1.579, allocations: 0.7894 MB / 1.129 GB, free: 256.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006525/1.579, allocations: 72 kB / 1.129 GB, free: 256.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002176/1.582, allocations: 85.66 kB / 1.129 GB, free: 256.6 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003681/1.582, allocations: 234.5 kB / 1.129 GB, free: 256.4 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002339/1.582, allocations: 116 kB / 1.129 GB, free: 256.3 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001664/1.584, allocations: 1.156 MB / 1.13 GB, free: 255.1 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/1.584, allocations: 0 / 1.13 GB, free: 255.1 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.002824/1.587, allocations: 1.235 MB / 1.131 GB, free: 253.9 MB / 0.8106 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.0009325/1.588, allocations: 465.5 kB / 1.132 GB, free: 253.5 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.00547/1.593, allocations: 3.953 MB / 1.136 GB, free: 249.5 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/1.593, allocations: 4 kB / 1.136 GB, free: 249.5 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.002543/1.596, allocations: 2.155 MB / 1.138 GB, free: 247.4 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006635/1.602, allocations: 1.592 MB / 1.139 GB, free: 245.9 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01192/1.614, allocations: 7.643 MB / 1.147 GB, free: 238.4 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002778/1.617, allocations: 2.209 MB / 1.149 GB, free: 236.1 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.004846/1.622, allocations: 1.2 MB / 1.15 GB, free: 234.9 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001661/1.624, allocations: 267.4 kB / 1.15 GB, free: 234.7 MB / 0.8106 GB Notification: Performance of SimCode: time 8.51e-07/1.624, allocations: 0 / 1.15 GB, free: 234.7 MB / 0.8106 GB Notification: Performance of Templates: time 0.08781/1.712, allocations: 62.8 MB / 1.212 GB, free: 172.4 MB / 0.8106 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)