Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.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/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") translateModel(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009292/0.0009292, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001013/0.001013, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.731/1.731, allocations: 205.4 MB / 222.1 MB, free: 5.891 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6405/0.6405, allocations: 95.62 MB / 366 MB, free: 10.43 MB / 302.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: Buildings requested package Modelica of version 3.2.1. 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.0007046/0.0007048, allocations: 20 kB / 446.9 MB, free: 9.422 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4366/0.4373, allocations: 70.33 MB / 0.5051 GB, free: 16.67 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.6138/1.051, allocations: 195.2 MB / 0.6957 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02296/1.074, allocations: 15.2 MB / 0.7105 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005264/1.08, allocations: 94.88 kB / 0.7106 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004965/1.085, allocations: 0.9075 MB / 0.7115 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01293/1.097, allocations: 2.799 MB / 0.7143 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007244/1.105, allocations: 1.554 MB / 0.7158 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01272/1.117, allocations: 7.338 MB / 0.7229 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004085/1.122, allocations: 1.605 MB / 0.7245 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006407/1.128, allocations: 2.047 MB / 0.7265 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005964/1.134, allocations: 2.378 MB / 0.7288 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.001022/1.135, allocations: 116 kB / 0.7289 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006846/1.142, allocations: 1.623 MB / 0.7305 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001206/1.143, allocations: 0.5432 MB / 0.7311 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001582/1.145, allocations: 493.6 kB / 0.7315 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.005627/1.15, allocations: 2.722 MB / 0.7342 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.996e-06/1.151, allocations: 0 / 0.7342 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.855e-06/1.151, allocations: 0 / 0.7342 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.638e-05/1.151, allocations: 4 kB / 0.7342 GB, free: 2.273 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.006225/1.157, allocations: 2.496 MB / 0.7366 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.241e-05/1.157, allocations: 11.98 kB / 0.7366 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009048/1.158, allocations: 265.1 kB / 0.7369 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002906/1.161, allocations: 1.433 MB / 0.7383 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001003/1.161, allocations: 145.4 kB / 0.7384 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002517/1.161, allocations: 192.8 kB / 0.7386 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003733/1.165, allocations: 2.176 MB / 0.7407 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.862e-05/1.165, allocations: 4 kB / 0.7407 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001768/1.165, allocations: 76.48 kB / 0.7408 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.913e-05/1.165, allocations: 48 kB / 0.7409 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003715/1.169, allocations: 2.136 MB / 0.7429 GB, free: 11.08 MB / 0.5137 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.01182/1.181, allocations: 8.271 MB / 0.751 GB, free: 2.23 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003295/1.184, allocations: 2.23 MB / 0.7532 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002089/1.186, allocations: 1.33 MB / 0.7545 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002957/1.189, allocations: 3.282 MB / 0.7577 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.065e-05/1.189, allocations: 60.56 kB / 0.7578 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=215): time 4.418e-06/1.189, allocations: 4 kB / 0.7578 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of matching and sorting (n=235): time 0.018/1.207, allocations: 7.364 MB / 0.765 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.412e-05/1.207, allocations: 77.41 kB / 0.765 GB, free: 3 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001766/1.209, allocations: 1.102 MB / 0.7661 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002125/1.209, allocations: 67.67 kB / 0.7662 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005952/1.21, allocations: 0.7332 MB / 0.7669 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007571/1.211, allocations: 0.7891 MB / 0.7677 GB, free: 284 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/1.211, allocations: 40 kB / 0.7677 GB, free: 244 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002094/1.211, allocations: 390.1 kB / 0.7681 GB, free: 15.85 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001411/1.213, allocations: 0.824 MB / 0.7689 GB, free: 15.02 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001574/1.214, allocations: 1.08 MB / 0.7699 GB, free: 13.86 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001616/1.216, allocations: 0.986 MB / 0.7709 GB, free: 12.88 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.875e-06/1.216, allocations: 4 kB / 0.7709 GB, free: 12.87 MB / 0.545 GB Notification: Performance of matching and sorting (n=268) (initialization): time 0.004682/1.22, allocations: 2.76 MB / 0.7736 GB, free: 10.02 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.587e-05/1.22, allocations: 8 kB / 0.7736 GB, free: 10.01 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/1.221, allocations: 4 kB / 0.7736 GB, free: 10 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002795/1.221, allocations: 95.39 kB / 0.7737 GB, free: 9.898 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00203/1.223, allocations: 495.4 kB / 0.7742 GB, free: 9.414 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004213/1.227, allocations: 5.229 MB / 0.7793 GB, free: 3.652 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002444/1.23, allocations: 191.7 kB / 0.7795 GB, free: 3.465 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004057/1.23, allocations: 79.97 kB / 0.7795 GB, free: 3.387 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (264): * Single equations (assignments): 260 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001422/1.231, allocations: 457.3 kB / 0.78 GB, free: 2.93 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006552/1.232, allocations: 187.7 kB / 0.7801 GB, free: 2.746 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006686/1.239, allocations: 3.209 MB / 0.7833 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.672e-05/1.239, allocations: 35.98 kB / 0.7833 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.795e-05/1.239, allocations: 7.938 kB / 0.7833 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.673e-05/1.239, allocations: 11.95 kB / 0.7833 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01075/1.25, allocations: 5.492 MB / 0.7887 GB, free: 9.625 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.575e-05/1.25, allocations: 0 / 0.7887 GB, free: 9.625 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002143/1.252, allocations: 467.4 kB / 0.7891 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003006/1.252, allocations: 101.2 kB / 0.7892 GB, free: 9.059 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002422/1.252, allocations: 67.97 kB / 0.7893 GB, free: 8.992 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004267/1.257, allocations: 5.222 MB / 0.7944 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/1.257, allocations: 0 / 0.7944 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008464/1.265, allocations: 4.322 MB / 0.7986 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00177/1.267, allocations: 0.5179 MB / 0.7991 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006889/1.268, allocations: 48 kB / 0.7992 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002168/1.27, allocations: 155.6 kB / 0.7993 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004238/1.27, allocations: 161.8 kB / 0.7995 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002926/1.271, allocations: 87.89 kB / 0.7996 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001864/1.273, allocations: 0.7429 MB / 0.8003 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.42e-07/1.273, allocations: 0 / 0.8003 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003613/1.276, allocations: 0.8202 MB / 0.8011 GB, free: 12.2 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 14 (volEas.dynBal.medium.p,volEas.dynBal.medium.T,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.p,volOut.dynBal.medium.T,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,oriEasTop.mExc,volTop.dynBal.medium.p,volTop.dynBal.medium.T,volWes.dynBal.medium.p,volWes.dynBal.medium.T) * 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 (257): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001832/1.278, allocations: 0.6395 MB / 0.8017 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00522/1.283, allocations: 2.734 MB / 0.8044 GB, free: 8.746 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/1.283, allocations: 0 / 0.8044 GB, free: 8.746 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002879/1.286, allocations: 1.748 MB / 0.8061 GB, free: 6.941 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005551/1.292, allocations: 0.9461 MB / 0.807 GB, free: 6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01211/1.304, allocations: 5.865 MB / 0.8127 GB, free: 100 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001679/1.306, allocations: 1.535 MB / 0.8142 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.003683/1.309, allocations: 0.6211 MB / 0.8148 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009936/1.31, allocations: 207.3 kB / 0.815 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of SimCode: time 8.41e-07/1.31, allocations: 0 / 0.815 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of Templates: time 0.08113/1.392, allocations: 42.17 MB / 0.8562 GB, free: 3.898 MB / 0.6231 GB make -j1 -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & ./Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) Environment - environmentSimulation: