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.001093/0.001093, allocations: 101.8 kB / 16.27 MB, free: 5.965 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.001042/0.001042, allocations: 188.7 kB / 17.2 MB, free: 5.59 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.329/1.329, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8355/0.8355, allocations: 135.1 MB / 426.2 MB, free: 4.152 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 64.14 kB / 0.506 GB, free: 8.371 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3335/0.335, allocations: 80.91 MB / 0.585 GB, free: 25.48 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.6054/0.9404, allocations: 314.1 MB / 0.8918 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02828/0.9687, allocations: 18.43 MB / 0.9098 GB, free: 1.18 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004244/0.973, allocations: 91.56 kB / 0.9099 GB, free: 1.09 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.006172/0.9792, allocations: 2.148 MB / 0.9119 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01878/0.9981, allocations: 7.3 MB / 0.9191 GB, free: 7.594 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.008626/1.007, allocations: 3.205 MB / 0.9222 GB, free: 4.395 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01142/1.018, allocations: 9.113 MB / 0.9311 GB, free: 11.26 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004668/1.023, allocations: 3.115 MB / 0.9341 GB, free: 8.082 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006316/1.029, allocations: 3.306 MB / 0.9374 GB, free: 4.766 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005934/1.035, allocations: 3.229 MB / 0.9405 GB, free: 1.539 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0009618/1.036, allocations: 404 kB / 0.9409 GB, free: 1.145 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01419/1.05, allocations: 6.995 MB / 0.9477 GB, free: 10.13 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.002442/1.053, allocations: 1.687 MB / 0.9494 GB, free: 8.441 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.003497/1.056, allocations: 2.31 MB / 0.9517 GB, free: 6.121 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01471/1.071, allocations: 8.127 MB / 0.9596 GB, free: 13.97 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/1.071, allocations: 0 / 0.9596 GB, free: 13.97 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.403e-06/1.071, allocations: 4 kB / 0.9596 GB, free: 13.97 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001189/1.071, allocations: 0 / 0.9596 GB, free: 13.97 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.0128/1.084, allocations: 4.993 MB / 0.9645 GB, free: 8.906 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/1.084, allocations: 9.109 kB / 0.9645 GB, free: 8.898 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00659/1.091, allocations: 1.014 MB / 0.9655 GB, free: 7.879 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004033/1.095, allocations: 2.162 MB / 0.9676 GB, free: 5.664 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001648/1.095, allocations: 246.4 kB / 0.9678 GB, free: 5.422 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005638/1.096, allocations: 323.9 kB / 0.9681 GB, free: 5.105 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007076/1.103, allocations: 4.238 MB / 0.9723 GB, free: 0.7852 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.964e-05/1.103, allocations: 7.906 kB / 0.9723 GB, free: 0.7773 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003359/1.103, allocations: 140 kB / 0.9724 GB, free: 0.6406 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001552/1.103, allocations: 166.3 kB / 0.9726 GB, free: 488 kB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007939/1.111, allocations: 4.78 MB / 0.9772 GB, free: 11.68 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.01901/1.13, allocations: 14.49 MB / 0.9914 GB, free: 12.23 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00573/1.136, allocations: 4.546 MB / 0.9958 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003384/1.139, allocations: 2.452 MB / 0.9982 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00161/1.141, allocations: 1.604 MB / 0.9998 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.994e-05/1.141, allocations: 79.47 kB / 0.9999 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=392): time 5.56e-06/1.141, allocations: 0 / 0.9999 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of matching and sorting (n=392): time 0.00906/1.15, allocations: 5.531 MB / 1.005 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.591e-05/1.15, allocations: 98.42 kB / 1.005 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002402/1.153, allocations: 1.676 MB / 1.007 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002783/1.153, allocations: 97.7 kB / 1.007 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007701/1.154, allocations: 1.132 MB / 1.008 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001118/1.155, allocations: 1.324 MB / 1.009 GB, free: 9.23 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008419/1.156, allocations: 0.5546 MB / 1.01 GB, free: 8.668 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.713e-05/1.156, allocations: 305.1 kB / 1.01 GB, free: 8.367 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002408/1.158, allocations: 1.564 MB / 1.012 GB, free: 6.801 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002723/1.161, allocations: 1.939 MB / 1.014 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005484/1.166, allocations: 3.765 MB / 1.017 GB, free: 0.9297 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.025e-05/1.166, allocations: 4 kB / 1.017 GB, free: 0.9258 MB / 0.7325 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006821/1.173, allocations: 4.166 MB / 1.021 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.593e-05/1.173, allocations: 8 kB / 1.021 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.755e-05/1.173, allocations: 4 kB / 1.021 GB, free: 12.72 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.18e-05/1.173, allocations: 20 kB / 1.022 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00302/1.176, allocations: 0.6944 MB / 1.022 GB, free: 12.01 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.796e-05/1.176, allocations: 27.92 kB / 1.022 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002829/1.179, allocations: 265.8 kB / 1.022 GB, free: 11.72 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002406/1.18, allocations: 117.5 kB / 1.023 GB, free: 11.61 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.001471/1.181, allocations: 0.8015 MB / 1.023 GB, free: 10.79 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006984/1.182, allocations: 292.5 kB / 1.024 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007164/1.189, allocations: 4.425 MB / 1.028 GB, free: 6.039 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.637e-05/1.189, allocations: 36 kB / 1.028 GB, free: 6.004 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/1.189, allocations: 0 / 1.028 GB, free: 6.004 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005351/1.194, allocations: 3.788 MB / 1.032 GB, free: 2.148 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2843/1.479, allocations: 8.62 MB / 1.04 GB, free: 320.7 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-05/1.479, allocations: 2.812 kB / 1.04 GB, free: 320.7 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003486/1.482, allocations: 0.739 MB / 1.041 GB, free: 320.6 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.46e-05/1.482, allocations: 15.62 kB / 1.041 GB, free: 320.6 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001995/1.482, allocations: 84.02 kB / 1.041 GB, free: 320.6 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.997e-05/1.482, allocations: 18.94 kB / 1.041 GB, free: 320.6 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/1.482, allocations: 2.406 kB / 1.041 GB, free: 320.6 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008359/1.491, allocations: 6.826 MB / 1.048 GB, free: 317.9 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00142/1.492, allocations: 0.79 MB / 1.048 GB, free: 317.6 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003921/1.493, allocations: 75.06 kB / 1.048 GB, free: 317.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001917/1.495, allocations: 87.27 kB / 1.049 GB, free: 317.5 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003736/1.495, allocations: 235.7 kB / 1.049 GB, free: 317.4 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00019/1.495, allocations: 118.1 kB / 1.049 GB, free: 317.4 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.00135/1.496, allocations: 1.154 MB / 1.05 GB, free: 317 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/1.496, allocations: 0 / 1.05 GB, free: 317 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002133/1.499, allocations: 1.236 MB / 1.051 GB, free: 316.8 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.0007673/1.499, allocations: 466.1 kB / 1.052 GB, free: 316.6 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.01818/1.518, allocations: 9.837 MB / 1.061 GB, free: 311.5 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 7.223e-06/1.518, allocations: 4 kB / 1.061 GB, free: 311.5 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.002372/1.52, allocations: 2.156 MB / 1.063 GB, free: 309.4 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006515/1.527, allocations: 1.61 MB / 1.065 GB, free: 308 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009607/1.536, allocations: 7.884 MB / 1.073 GB, free: 300.7 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001272/1.537, allocations: 2.204 MB / 1.075 GB, free: 298.5 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001401/1.539, allocations: 311.4 kB / 1.075 GB, free: 298.2 MB / 0.7481 GB Notification: Performance of SimCode: time 6.81e-07/1.539, allocations: 4 kB / 1.075 GB, free: 298.2 MB / 0.7481 GB Notification: Performance of Templates: time 0.06094/1.6, allocations: 54.77 MB / 1.129 GB, free: 243.6 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)