Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.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.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") translateModel(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.042/2.042, allocations: 391.2 MB / 407 MB, free: 10.88 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.001191/0.001191, allocations: 189.8 kB / 499.1 MB, free: 4.676 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.35/1.35, allocations: 222.9 MB / 0.7948 GB, free: 15.79 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.001059/0.001059, allocations: 111.7 kB / 0.9329 GB, free: 7.062 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001118/0.001118, allocations: 53.94 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2499/0.251, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.8138/1.065, allocations: 293 MB / 1.504 GB, free: 1.102 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.02466/1.09, allocations: 17.24 MB / 1.521 GB, free: 0.5352 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004305/1.094, allocations: 72.28 kB / 1.521 GB, free: 0.5352 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.005138/1.099, allocations: 1.648 MB / 1.523 GB, free: 0.4922 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.01698/1.116, allocations: 6.072 MB / 1.529 GB, free: 168 kB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.008649/1.125, allocations: 2.684 MB / 1.531 GB, free: 15.9 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0153/1.14, allocations: 11.23 MB / 1.542 GB, free: 13.6 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004667/1.145, allocations: 2.203 MB / 1.544 GB, free: 12.73 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009032/1.154, allocations: 2.44 MB / 1.547 GB, free: 11.88 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008615/1.163, allocations: 2.822 MB / 1.549 GB, free: 10.65 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.001294/1.164, allocations: 182.5 kB / 1.55 GB, free: 10.65 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01563/1.18, allocations: 7.176 MB / 1.557 GB, free: 7.945 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.002651/1.182, allocations: 1.194 MB / 1.558 GB, free: 7.195 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.005511/1.188, allocations: 1.733 MB / 1.56 GB, free: 6.195 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.01544/1.203, allocations: 7.163 MB / 1.567 GB, free: 1.879 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/1.203, allocations: 4 kB / 1.567 GB, free: 1.875 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.273e-06/1.203, allocations: 0 / 1.567 GB, free: 1.875 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001998/1.203, allocations: 0 / 1.567 GB, free: 1.875 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 669 * Number of variables: 669 Notification: Performance of Generate backend data structure: time 0.01174/1.215, allocations: 4.13 MB / 1.571 GB, free: 13.72 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/1.215, allocations: 11.98 kB / 1.571 GB, free: 13.71 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005992/1.221, allocations: 0.9162 MB / 1.571 GB, free: 12.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0039/1.225, allocations: 1.836 MB / 1.573 GB, free: 11 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001635/1.225, allocations: 197.6 kB / 1.573 GB, free: 10.82 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005791/1.226, allocations: 263.4 kB / 1.574 GB, free: 10.56 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006133/1.232, allocations: 3.335 MB / 1.577 GB, free: 7.137 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.076e-05/1.232, allocations: 6.984 kB / 1.577 GB, free: 7.133 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002888/1.232, allocations: 109.5 kB / 1.577 GB, free: 7.031 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001408/1.233, allocations: 141 kB / 1.577 GB, free: 6.891 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006174/1.239, allocations: 3.503 MB / 1.581 GB, free: 3.387 MB / 0.948 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.01777/1.257, allocations: 12.08 MB / 1.592 GB, free: 6.648 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004721/1.261, allocations: 3.522 MB / 1.596 GB, free: 3.062 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002733/1.264, allocations: 1.821 MB / 1.598 GB, free: 1.234 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001461/1.266, allocations: 1.49 MB / 1.599 GB, free: 15.44 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.171e-05/1.266, allocations: 64.75 kB / 1.599 GB, free: 15.36 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=278): time 5.129e-06/1.266, allocations: 0 / 1.599 GB, free: 15.36 MB / 0.9792 GB Notification: Performance of matching and sorting (n=278): time 0.006804/1.273, allocations: 3.887 MB / 1.603 GB, free: 11.43 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.35e-05/1.273, allocations: 81.59 kB / 1.603 GB, free: 11.34 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00233/1.275, allocations: 1.376 MB / 1.604 GB, free: 9.953 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0001847/1.275, allocations: 77.7 kB / 1.604 GB, free: 9.871 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.000732/1.276, allocations: 0.9785 MB / 1.605 GB, free: 8.883 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008946/1.277, allocations: 0.9541 MB / 1.606 GB, free: 7.938 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006654/1.277, allocations: 409 kB / 1.607 GB, free: 7.531 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 9.56e-05/1.278, allocations: 301.1 kB / 1.607 GB, free: 7.234 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001741/1.279, allocations: 1.094 MB / 1.608 GB, free: 6.137 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001926/1.281, allocations: 1.357 MB / 1.609 GB, free: 4.715 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003826/1.285, allocations: 2.647 MB / 1.612 GB, free: 1.992 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/1.285, allocations: 0 / 1.612 GB, free: 1.992 MB / 0.9792 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.004941/1.29, allocations: 2.975 MB / 1.615 GB, free: 15 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/1.29, allocations: 11.72 kB / 1.615 GB, free: 14.99 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.654e-05/1.29, allocations: 7.984 kB / 1.615 GB, free: 14.98 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.435e-05/1.29, allocations: 16.56 kB / 1.615 GB, free: 14.96 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002032/1.292, allocations: 0.5087 MB / 1.615 GB, free: 14.48 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.051e-05/1.292, allocations: 18.47 kB / 1.615 GB, free: 14.47 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002731/1.295, allocations: 377.7 kB / 1.616 GB, free: 14.1 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000193/1.295, allocations: 84 kB / 1.616 GB, free: 14.02 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (311): * Single equations (assignments): 311 * 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.00119/1.296, allocations: 0.6476 MB / 1.617 GB, free: 13.38 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005854/1.297, allocations: 233.3 kB / 1.617 GB, free: 13.15 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005121/1.302, allocations: 3.116 MB / 1.62 GB, free: 9.973 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.905e-05/1.302, allocations: 24 kB / 1.62 GB, free: 9.949 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/1.302, allocations: 7.938 kB / 1.62 GB, free: 9.941 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003755/1.306, allocations: 2.661 MB / 1.622 GB, free: 7.211 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01048/1.316, allocations: 6.217 MB / 1.628 GB, free: 0.957 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.317e-06/1.316, allocations: 3.938 kB / 1.628 GB, free: 0.9531 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002386/1.319, allocations: 0.5423 MB / 1.629 GB, free: 420 kB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.772e-05/1.319, allocations: 8 kB / 1.629 GB, free: 412 kB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001967/1.319, allocations: 59.98 kB / 1.629 GB, free: 352 kB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.313e-05/1.319, allocations: 8 kB / 1.629 GB, free: 344 kB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/1.319, allocations: 3.938 kB / 1.629 GB, free: 340 kB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1246/1.444, allocations: 35.85 MB / 1.664 GB, free: 12.23 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001873/1.446, allocations: 0.6187 MB / 1.665 GB, free: 11.59 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006376/1.446, allocations: 48 kB / 1.665 GB, free: 11.54 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002418/1.449, allocations: 225.5 kB / 1.665 GB, free: 11.32 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004556/1.449, allocations: 158 kB / 1.665 GB, free: 11.17 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002653/1.449, allocations: 83.97 kB / 1.665 GB, free: 11.09 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.001621/1.451, allocations: 0.9423 MB / 1.666 GB, free: 10.15 MB / 1.042 GB Notification: Performance of sort global known variables: time 1.383e-06/1.451, allocations: 0 / 1.666 GB, free: 10.15 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.006595/1.458, allocations: 1.564 MB / 1.668 GB, free: 8.582 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,oriEasTop.mExc,volTop.dynBal.medium.Xi[1],volTop.dynBal.U,volTop.dynBal.m,volWes.dynBal.medium.Xi[1],volWes.dynBal.U,volWes.dynBal.m) * 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 (278): * Single equations (assignments): 278 * 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.0009913/1.459, allocations: 423.8 kB / 1.668 GB, free: 8.176 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.00464/1.463, allocations: 2.759 MB / 1.671 GB, free: 5.387 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/1.463, allocations: 0 / 1.671 GB, free: 5.387 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.002329/1.466, allocations: 1.511 MB / 1.672 GB, free: 3.871 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006905/1.473, allocations: 1.295 MB / 1.673 GB, free: 2.586 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01424/1.487, allocations: 8.698 MB / 1.682 GB, free: 9.836 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002358/1.489, allocations: 1.97 MB / 1.684 GB, free: 7.832 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.004886/1.494, allocations: 0.9724 MB / 1.685 GB, free: 6.855 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001618/1.496, allocations: 231.4 kB / 1.685 GB, free: 6.629 MB / 1.057 GB Notification: Performance of SimCode: time 1.773e-06/1.496, allocations: 0 / 1.685 GB, free: 6.629 MB / 1.057 GB Notification: Performance of Templates: time 0.1015/1.597, allocations: 64.5 MB / 1.748 GB, free: 6.676 MB / 1.12 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)