Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy") translateModel(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.041/2.041, allocations: 391.2 MB / 407 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 191.4 kB / 499.1 MB, free: 4.691 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 222.9 MB / 0.7948 GB, free: 15.84 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 107.6 kB / 0.9329 GB, free: 7.098 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001012/0.001013, allocations: 54 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.2398, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.7861/1.026, allocations: 312 MB / 1.523 GB, free: 0.5273 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.02273/1.049, allocations: 18.69 MB / 1.541 GB, free: 14.75 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004143/1.053, allocations: 80.53 kB / 1.541 GB, free: 14.74 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.005334/1.058, allocations: 1.872 MB / 1.543 GB, free: 14.38 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.01818/1.076, allocations: 6.905 MB / 1.55 GB, free: 12.89 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.008224/1.085, allocations: 2.929 MB / 1.553 GB, free: 11.85 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.01376/1.098, allocations: 13.17 MB / 1.565 GB, free: 7.168 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004353/1.103, allocations: 2.654 MB / 1.568 GB, free: 5.605 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006069/1.109, allocations: 2.91 MB / 1.571 GB, free: 4.434 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006729/1.116, allocations: 3.362 MB / 1.574 GB, free: 2.82 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.001085/1.117, allocations: 228.4 kB / 1.574 GB, free: 2.82 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01536/1.132, allocations: 8.134 MB / 1.582 GB, free: 12.08 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.002478/1.135, allocations: 1.512 MB / 1.584 GB, free: 10.59 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.005182/1.14, allocations: 2.122 MB / 1.586 GB, free: 8.477 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.01737/1.157, allocations: 8.483 MB / 1.594 GB, free: 480 kB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/1.157, allocations: 0 / 1.594 GB, free: 480 kB / 0.948 GB Notification: Performance of FrontEnd: time 7.52e-07/1.157, allocations: 3.938 kB / 1.594 GB, free: 476 kB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002325/1.157, allocations: 0 / 1.594 GB, free: 476 kB / 0.948 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.01501/1.172, allocations: 4.993 MB / 1.599 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/1.173, allocations: 11.98 kB / 1.599 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006383/1.179, allocations: 1.009 MB / 1.6 GB, free: 10.42 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004932/1.184, allocations: 2.163 MB / 1.602 GB, free: 8.242 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002139/1.184, allocations: 249.1 kB / 1.602 GB, free: 8.004 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008842/1.185, allocations: 330.3 kB / 1.603 GB, free: 7.684 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007892/1.193, allocations: 4.237 MB / 1.607 GB, free: 3.375 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-05/1.193, allocations: 4 kB / 1.607 GB, free: 3.371 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003799/1.193, allocations: 130.8 kB / 1.607 GB, free: 3.246 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001651/1.194, allocations: 174.4 kB / 1.607 GB, free: 3.074 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007982/1.202, allocations: 4.783 MB / 1.612 GB, free: 14.28 MB / 0.9792 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.01999/1.222, allocations: 14.36 MB / 1.626 GB, free: 15.11 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00595/1.228, allocations: 4.569 MB / 1.63 GB, free: 10.54 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003337/1.231, allocations: 2.452 MB / 1.633 GB, free: 8.086 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001735/1.233, allocations: 1.608 MB / 1.634 GB, free: 6.16 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.706e-05/1.233, allocations: 88.11 kB / 1.634 GB, free: 6.066 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=392): time 6.241e-06/1.233, allocations: 0 / 1.634 GB, free: 6.066 MB / 0.9948 GB Notification: Performance of matching and sorting (n=392): time 0.009464/1.242, allocations: 5.531 MB / 1.64 GB, free: 0.5117 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.905e-05/1.242, allocations: 94.48 kB / 1.64 GB, free: 416 kB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002827/1.245, allocations: 1.676 MB / 1.641 GB, free: 14.69 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0002201/1.245, allocations: 97.7 kB / 1.642 GB, free: 14.59 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008513/1.246, allocations: 1.136 MB / 1.643 GB, free: 13.44 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.001203/1.247, allocations: 1.315 MB / 1.644 GB, free: 12.13 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008751/1.248, allocations: 0.5508 MB / 1.644 GB, free: 11.57 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001084/1.248, allocations: 305.1 kB / 1.645 GB, free: 11.27 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002375/1.251, allocations: 1.564 MB / 1.646 GB, free: 9.707 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002695/1.253, allocations: 1.916 MB / 1.648 GB, free: 7.723 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005475/1.259, allocations: 3.77 MB / 1.652 GB, free: 3.867 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.041e-05/1.259, allocations: 0 / 1.652 GB, free: 3.867 MB / 1.01 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006917/1.266, allocations: 4.178 MB / 1.656 GB, free: 15.66 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 3.127e-05/1.266, allocations: 8 kB / 1.656 GB, free: 15.66 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.615e-05/1.266, allocations: 4 kB / 1.656 GB, free: 15.65 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.582e-05/1.266, allocations: 20.66 kB / 1.656 GB, free: 15.63 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002898/1.269, allocations: 0.6982 MB / 1.657 GB, free: 14.93 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.796e-05/1.269, allocations: 27.88 kB / 1.657 GB, free: 14.91 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003493/1.273, allocations: 476.8 kB / 1.657 GB, free: 14.44 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002884/1.273, allocations: 120 kB / 1.657 GB, free: 14.32 MB / 1.026 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.001516/1.274, allocations: 0.7905 MB / 1.658 GB, free: 13.52 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008335/1.275, allocations: 296.5 kB / 1.658 GB, free: 13.23 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007621/1.283, allocations: 4.434 MB / 1.663 GB, free: 8.758 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-05/1.283, allocations: 36 kB / 1.663 GB, free: 8.723 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-05/1.283, allocations: 7.984 kB / 1.663 GB, free: 8.715 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00529/1.288, allocations: 3.796 MB / 1.666 GB, free: 4.848 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01472/1.303, allocations: 8.64 MB / 1.675 GB, free: 12.14 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-05/1.303, allocations: 8 kB / 1.675 GB, free: 12.14 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003104/1.306, allocations: 0.722 MB / 1.675 GB, free: 11.41 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.106e-05/1.306, allocations: 16 kB / 1.675 GB, free: 11.4 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002599/1.306, allocations: 83.98 kB / 1.676 GB, free: 11.32 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.56e-05/1.306, allocations: 19.98 kB / 1.676 GB, free: 11.3 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/1.306, allocations: 0 / 1.676 GB, free: 11.3 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2225/1.529, allocations: 57.96 MB / 1.732 GB, free: 1.004 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002928/1.532, allocations: 0.8048 MB / 1.733 GB, free: 180 kB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001002/1.533, allocations: 72 kB / 1.733 GB, free: 108 kB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003393/1.536, allocations: 272.2 kB / 1.733 GB, free: 15.84 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008483/1.537, allocations: 226.7 kB / 1.734 GB, free: 15.62 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000556/1.538, allocations: 112 kB / 1.734 GB, free: 15.51 MB / 1.104 GB Notification: Performance of sorting global known variables: time 0.00217/1.54, allocations: 1.161 MB / 1.735 GB, free: 14.32 MB / 1.104 GB Notification: Performance of sort global known variables: time 1.713e-06/1.54, allocations: 0 / 1.735 GB, free: 14.32 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.00968/1.55, allocations: 1.982 MB / 1.737 GB, free: 12.34 MB / 1.104 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 20 (volBotEas.dynBal.medium.Xi[1],volBotEas.dynBal.U,volBotEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volBotWes.dynBal.medium.Xi[1],volBotWes.dynBal.U,volBotWes.dynBal.m,oriEasTop.mExc,volTopEas.dynBal.medium.Xi[1],volTopEas.dynBal.U,volTopEas.dynBal.m,volTopWes.dynBal.medium.Xi[1],volTopWes.dynBal.U,volTopWes.dynBal.m,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.00175/1.551, allocations: 0.5021 MB / 1.737 GB, free: 11.86 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.008219/1.56, allocations: 3.929 MB / 1.741 GB, free: 7.918 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 1.535e-05/1.56, allocations: 7.938 kB / 1.741 GB, free: 7.91 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.004349/1.564, allocations: 2.152 MB / 1.743 GB, free: 5.758 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009655/1.574, allocations: 1.529 MB / 1.745 GB, free: 4.246 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01965/1.593, allocations: 11.24 MB / 1.756 GB, free: 8.926 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003031/1.597, allocations: 2.312 MB / 1.758 GB, free: 6.578 MB / 1.12 GB Notification: Performance of simCode: alias equations: time 0.007843/1.604, allocations: 1.427 MB / 1.759 GB, free: 5.145 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003167/1.608, allocations: 323.4 kB / 1.76 GB, free: 4.828 MB / 1.12 GB Notification: Performance of SimCode: time 3.626e-06/1.608, allocations: 0 / 1.76 GB, free: 4.828 MB / 1.12 GB Notification: Performance of Templates: time 0.1328/1.74, allocations: 86.05 MB / 1.844 GB, free: 15.48 MB / 1.214 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)