Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Airflow.Multizone.Examples.ReverseBuoyancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ReverseBuoyancy") translateModel(Annex60.Airflow.Multizone.Examples.ReverseBuoyancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.001043/0.001044, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001175/0.001175, allocations: 190.9 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.31/1.31, allocations: 205.1 MB / 222.1 MB, free: 4.727 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3511/0.3511, allocations: 54.93 MB / 324.4 MB, free: 164 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 63.89 kB / 394.8 MB, free: 12.16 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1096, allocations: 59.59 MB / 454.4 MB, free: 0.5117 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.7074/0.817, allocations: 310.6 MB / 0.7471 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02382/0.8409, allocations: 18.29 MB / 0.765 GB, free: 8.164 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004807/0.8458, allocations: 84.03 kB / 0.7651 GB, free: 8.109 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.005852/0.8517, allocations: 1.96 MB / 0.767 GB, free: 6.746 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.02083/0.8725, allocations: 6.845 MB / 0.7737 GB, free: 2.043 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.008468/0.881, allocations: 3.137 MB / 0.7767 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01235/0.8934, allocations: 9.592 MB / 0.7861 GB, free: 6.773 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005267/0.8987, allocations: 3.152 MB / 0.7892 GB, free: 3.629 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007052/0.9058, allocations: 3.678 MB / 0.7928 GB, free: 152 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006586/0.9124, allocations: 3.539 MB / 0.7962 GB, free: 12.88 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001377/0.9138, allocations: 420 kB / 0.7966 GB, free: 12.47 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01268/0.9265, allocations: 6.845 MB / 0.8033 GB, free: 6.504 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.002566/0.9291, allocations: 1.683 MB / 0.8049 GB, free: 4.84 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.004443/0.9336, allocations: 2.296 MB / 0.8072 GB, free: 2.555 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01513/0.9487, allocations: 8.555 MB / 0.8155 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.9488, allocations: 0 / 0.8155 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.443e-06/0.9488, allocations: 0 / 0.8155 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001335/0.9489, allocations: 0 / 0.8155 GB, free: 10.45 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 830 * Number of variables: 830 Notification: Performance of Generate backend data structure: time 0.01472/0.9636, allocations: 4.954 MB / 0.8204 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.9637, allocations: 8.031 kB / 0.8204 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00643/0.9701, allocations: 0.9521 MB / 0.8213 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004039/0.9742, allocations: 2.048 MB / 0.8233 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001844/0.9744, allocations: 242.1 kB / 0.8236 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007/0.9751, allocations: 332.9 kB / 0.8239 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006911/0.9821, allocations: 4.221 MB / 0.828 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.802e-05/0.9822, allocations: 11.84 kB / 0.828 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003279/0.9825, allocations: 133.4 kB / 0.8281 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001552/0.9827, allocations: 174.3 kB / 0.8283 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007282/0.9899, allocations: 4.631 MB / 0.8328 GB, free: 8.645 MB / 0.5762 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.01926/1.009, allocations: 14.03 MB / 0.8465 GB, free: 9.82 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006152/1.015, allocations: 4.105 MB / 0.8505 GB, free: 5.723 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003326/1.019, allocations: 2.391 MB / 0.8529 GB, free: 3.324 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001302/1.02, allocations: 1.342 MB / 0.8542 GB, free: 1.719 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.352e-05/1.02, allocations: 77.5 kB / 0.8542 GB, free: 1.633 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=373): time 6.462e-06/1.02, allocations: 3.984 kB / 0.8542 GB, free: 1.629 MB / 0.5919 GB Notification: Performance of matching and sorting (n=373): time 0.008578/1.029, allocations: 5.348 MB / 0.8595 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.071e-05/1.029, allocations: 120 kB / 0.8596 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002721/1.032, allocations: 1.555 MB / 0.8611 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0003395/1.032, allocations: 89.7 kB / 0.8612 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007215/1.033, allocations: 1.107 MB / 0.8623 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.00108/1.034, allocations: 1.247 MB / 0.8635 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009643/1.035, allocations: 0.5385 MB / 0.864 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.315e-05/1.035, allocations: 301.1 kB / 0.8643 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002357/1.037, allocations: 1.522 MB / 0.8658 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002668/1.04, allocations: 1.881 MB / 0.8676 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00536/1.045, allocations: 3.645 MB / 0.8712 GB, free: 12 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.1e-05/1.045, allocations: 4 kB / 0.8712 GB, free: 8 kB / 0.6075 GB Notification: Performance of matching and sorting (n=412) (initialization): time 0.226/1.271, allocations: 4.034 MB / 0.8751 GB, free: 258.4 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.285e-05/1.271, allocations: 8.406 kB / 0.8751 GB, free: 258.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.657e-05/1.271, allocations: 5.75 kB / 0.8751 GB, free: 258.4 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.074e-05/1.271, allocations: 17.47 kB / 0.8752 GB, free: 258.4 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002787/1.274, allocations: 0.6682 MB / 0.8758 GB, free: 258.4 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.929e-05/1.274, allocations: 22.45 kB / 0.8758 GB, free: 258.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002801/1.277, allocations: 425.5 kB / 0.8762 GB, free: 258.4 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002042/1.277, allocations: 111.3 kB / 0.8763 GB, free: 258.4 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (412): * Single equations (assignments): 412 * 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.001333/1.279, allocations: 0.7709 MB / 0.8771 GB, free: 258.2 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005162/1.279, allocations: 277.9 kB / 0.8774 GB, free: 258.2 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005942/1.285, allocations: 4.423 MB / 0.8817 GB, free: 257.3 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.146e-05/1.285, allocations: 38.41 kB / 0.8817 GB, free: 257.3 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/1.285, allocations: 3.328 kB / 0.8817 GB, free: 257.3 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004234/1.289, allocations: 3.76 MB / 0.8854 GB, free: 255.7 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01107/1.301, allocations: 8.539 MB / 0.8937 GB, free: 252.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.048e-05/1.301, allocations: 3.156 kB / 0.8937 GB, free: 252.1 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003268/1.304, allocations: 0.7324 MB / 0.8944 GB, free: 252.1 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.049e-05/1.304, allocations: 14.94 kB / 0.8945 GB, free: 252.1 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002584/1.304, allocations: 88.48 kB / 0.8945 GB, free: 252.1 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.252e-05/1.304, allocations: 16.94 kB / 0.8946 GB, free: 252.1 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/1.304, allocations: 7.125 kB / 0.8946 GB, free: 252.1 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01073/1.315, allocations: 6.769 MB / 0.9012 GB, free: 249.2 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002505/1.317, allocations: 0.7951 MB / 0.902 GB, free: 248.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004584/1.318, allocations: 72.66 kB / 0.902 GB, free: 248.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002795/1.321, allocations: 279.7 kB / 0.9023 GB, free: 248.6 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004517/1.321, allocations: 233.9 kB / 0.9025 GB, free: 248.5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002422/1.321, allocations: 120.5 kB / 0.9026 GB, free: 248.5 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.00138/1.323, allocations: 1.06 MB / 0.9037 GB, free: 248.1 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2e-07/1.323, allocations: 0 / 0.9037 GB, free: 248.1 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002696/1.326, allocations: 1.22 MB / 0.9049 GB, free: 247.9 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (393): * Single equations (assignments): 393 * 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.0008305/1.326, allocations: 462.7 kB / 0.9053 GB, free: 247.7 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0193/1.346, allocations: 9.337 MB / 0.9144 GB, free: 246.4 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 8.597e-06/1.346, allocations: 0.5625 kB / 0.9144 GB, free: 246.4 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002562/1.348, allocations: 2.146 MB / 0.9165 GB, free: 245.7 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006617/1.355, allocations: 1.648 MB / 0.9181 GB, free: 245.4 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.011/1.366, allocations: 9.084 MB / 0.927 GB, free: 240 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001921/1.368, allocations: 2.171 MB / 0.9291 GB, free: 238.3 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.005848/1.374, allocations: 1.145 MB / 0.9302 GB, free: 237.5 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001574/1.375, allocations: 274.5 kB / 0.9305 GB, free: 237.2 MB / 0.6075 GB Notification: Performance of SimCode: time 1.022e-06/1.375, allocations: 3.938 kB / 0.9305 GB, free: 237.2 MB / 0.6075 GB Notification: Performance of Templates: time 0.08382/1.459, allocations: 64.02 MB / 0.993 GB, free: 177.3 MB / 0.6075 GB make -j1 -f Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ReverseBuoyancy.makefile (rm -f Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ReverseBuoyancy.sim & ./Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ReverseBuoyancy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)