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.001122/0.001123, allocations: 113.2 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.001049/0.001049, allocations: 196 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.364/1.364, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8774/0.8774, allocations: 135.1 MB / 426.3 MB, free: 4.141 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001329, allocations: 63.91 kB / 0.5068 GB, free: 7.672 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4206/0.4219, allocations: 80.9 MB / 0.5858 GB, free: 25.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.6868/1.109, allocations: 314.1 MB / 0.8925 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.03165/1.14, allocations: 18.43 MB / 0.9105 GB, free: 0.9844 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005692/1.146, allocations: 87.56 kB / 0.9106 GB, free: 0.8984 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.00686/1.153, allocations: 2.152 MB / 0.9127 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.02228/1.176, allocations: 7.296 MB / 0.9198 GB, free: 7.41 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.009025/1.185, allocations: 3.227 MB / 0.923 GB, free: 4.188 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01587/1.2, allocations: 9.111 MB / 0.9319 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005524/1.206, allocations: 3.115 MB / 0.9349 GB, free: 7.871 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008973/1.215, allocations: 3.313 MB / 0.9382 GB, free: 4.547 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008234/1.223, allocations: 3.24 MB / 0.9413 GB, free: 1.312 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001455/1.225, allocations: 404 kB / 0.9417 GB, free: 0.918 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01853/1.243, allocations: 6.995 MB / 0.9486 GB, free: 9.906 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.002883/1.246, allocations: 1.683 MB / 0.9502 GB, free: 8.219 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.004532/1.251, allocations: 2.303 MB / 0.9524 GB, free: 5.906 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01826/1.269, allocations: 8.193 MB / 0.9604 GB, free: 13.69 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 8.707e-06/1.269, allocations: 0 / 0.9604 GB, free: 13.69 MB / 0.6856 GB Notification: Performance of FrontEnd: time 3.456e-06/1.269, allocations: 3.938 kB / 0.9604 GB, free: 13.69 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001823/1.269, allocations: 7.938 kB / 0.9605 GB, free: 13.68 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.01482/1.284, allocations: 4.993 MB / 0.9653 GB, free: 8.617 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/1.284, allocations: 13.11 kB / 0.9653 GB, free: 8.605 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006849/1.291, allocations: 1.006 MB / 0.9663 GB, free: 7.594 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005227/1.296, allocations: 2.24 MB / 0.9685 GB, free: 5.301 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001989/1.297, allocations: 246.4 kB / 0.9687 GB, free: 5.059 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006881/1.297, allocations: 331.9 kB / 0.9691 GB, free: 4.734 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007299/1.305, allocations: 4.235 MB / 0.9732 GB, free: 424 kB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.699e-05/1.305, allocations: 7.906 kB / 0.9732 GB, free: 416 kB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003298/1.305, allocations: 132 kB / 0.9733 GB, free: 284 kB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001899/1.305, allocations: 174.3 kB / 0.9735 GB, free: 108 kB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008134/1.313, allocations: 4.772 MB / 0.9782 GB, free: 11.32 MB / 0.7012 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.02035/1.334, allocations: 14.4 MB / 0.9922 GB, free: 11.95 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005874/1.34, allocations: 4.537 MB / 0.9967 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003416/1.343, allocations: 2.448 MB / 0.999 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00176/1.345, allocations: 1.612 MB / 1.001 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.239e-05/1.345, allocations: 75.47 kB / 1.001 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=392): time 5.33e-06/1.345, allocations: 3.938 kB / 1.001 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of matching and sorting (n=392): time 0.009185/1.354, allocations: 5.531 MB / 1.006 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.615e-05/1.354, allocations: 94.48 kB / 1.006 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002389/1.357, allocations: 1.684 MB / 1.008 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002511/1.357, allocations: 93.7 kB / 1.008 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008281/1.358, allocations: 1.136 MB / 1.009 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001169/1.359, allocations: 1.324 MB / 1.01 GB, free: 8.949 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008262/1.36, allocations: 0.5507 MB / 1.011 GB, free: 8.391 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.956e-05/1.36, allocations: 305.1 kB / 1.011 GB, free: 8.09 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002324/1.362, allocations: 1.56 MB / 1.013 GB, free: 6.527 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002676/1.365, allocations: 1.947 MB / 1.015 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005315/1.37, allocations: 3.754 MB / 1.018 GB, free: 0.6602 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.155e-05/1.37, allocations: 8.062 kB / 1.018 GB, free: 0.6523 MB / 0.7325 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007155/1.377, allocations: 4.17 MB / 1.022 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.442e-05/1.377, allocations: 14.59 kB / 1.022 GB, free: 12.44 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.923e-05/1.378, allocations: 4 kB / 1.022 GB, free: 12.44 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.794e-05/1.378, allocations: 20 kB / 1.022 GB, free: 12.42 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002961/1.381, allocations: 0.6904 MB / 1.023 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.689e-05/1.381, allocations: 23.98 kB / 1.023 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002844/1.383, allocations: 261 kB / 1.023 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002455/1.384, allocations: 127.9 kB / 1.023 GB, free: 11.32 MB / 0.7481 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.001607/1.385, allocations: 0.7937 MB / 1.024 GB, free: 10.52 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006375/1.386, allocations: 288.5 kB / 1.024 GB, free: 10.23 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006947/1.393, allocations: 4.413 MB / 1.029 GB, free: 5.777 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.611e-05/1.393, allocations: 36 kB / 1.029 GB, free: 5.742 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.171e-05/1.393, allocations: 4 kB / 1.029 GB, free: 5.738 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00519/1.398, allocations: 3.784 MB / 1.033 GB, free: 1.883 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3759/1.774, allocations: 8.622 MB / 1.041 GB, free: 320.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.655e-05/1.774, allocations: 3.469 kB / 1.041 GB, free: 320.8 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003776/1.778, allocations: 0.7345 MB / 1.042 GB, free: 320.7 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.738e-05/1.778, allocations: 15.56 kB / 1.042 GB, free: 320.7 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003191/1.778, allocations: 86.95 kB / 1.042 GB, free: 320.7 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.263e-05/1.778, allocations: 14.72 kB / 1.042 GB, free: 320.7 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.72e-06/1.778, allocations: 2.656 kB / 1.042 GB, free: 320.7 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009598/1.788, allocations: 6.835 MB / 1.048 GB, free: 317.9 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002295/1.79, allocations: 0.7926 MB / 1.049 GB, free: 317.7 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005457/1.791, allocations: 72.84 kB / 1.049 GB, free: 317.6 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001979/1.793, allocations: 92.28 kB / 1.049 GB, free: 317.6 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004147/1.793, allocations: 235.4 kB / 1.05 GB, free: 317.5 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002243/1.794, allocations: 116.5 kB / 1.05 GB, free: 317.5 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001647/1.795, allocations: 1.159 MB / 1.051 GB, free: 317 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.71e-07/1.795, allocations: 0.5312 kB / 1.051 GB, free: 317 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.003057/1.798, allocations: 1.235 MB / 1.052 GB, free: 316.9 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.00097/1.799, allocations: 470.7 kB / 1.053 GB, free: 316.7 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.005423/1.805, allocations: 3.953 MB / 1.056 GB, free: 315.4 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/1.805, allocations: 0 / 1.056 GB, free: 315.4 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.002468/1.807, allocations: 2.158 MB / 1.058 GB, free: 314.6 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005875/1.813, allocations: 1.599 MB / 1.06 GB, free: 313.5 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01113/1.824, allocations: 7.627 MB / 1.067 GB, free: 306.4 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001372/1.826, allocations: 2.205 MB / 1.07 GB, free: 304.2 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.003969/1.83, allocations: 1.202 MB / 1.071 GB, free: 302.9 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009928/1.831, allocations: 267.4 kB / 1.071 GB, free: 302.7 MB / 0.7481 GB Notification: Performance of SimCode: time 1.312e-06/1.831, allocations: 0 / 1.071 GB, free: 302.7 MB / 0.7481 GB Notification: Performance of Templates: time 0.08163/1.912, allocations: 62.04 MB / 1.132 GB, free: 241.2 MB / 0.7481 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)