Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.854/2.854, allocations: 287.3 MB / 302.3 MB, free: 8.367 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001507/0.001507, allocations: 183 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.183/2.183, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001152/0.001152, allocations: 78.94 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005097/0.0005099, allocations: 13.91 kB / 0.8657 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2106/0.2112, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 1.065/1.276, allocations: 239.3 MB / 1.212 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.03927/1.316, allocations: 16.97 MB / 1.229 GB, free: 9.074 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003975/1.32, allocations: 55.62 kB / 1.229 GB, free: 9.02 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.008037/1.328, allocations: 1.653 MB / 1.23 GB, free: 7.359 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.02084/1.349, allocations: 4.805 MB / 1.235 GB, free: 2.543 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.01002/1.359, allocations: 2.236 MB / 1.237 GB, free: 332 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.01165/1.37, allocations: 4.349 MB / 1.241 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004938/1.375, allocations: 1.911 MB / 1.243 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007473/1.383, allocations: 2.267 MB / 1.245 GB, free: 7.762 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004911/1.388, allocations: 1.705 MB / 1.247 GB, free: 6.051 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.00124/1.389, allocations: 160 kB / 1.247 GB, free: 5.895 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0112/1.4, allocations: 2.438 MB / 1.25 GB, free: 3.453 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.002576/1.403, allocations: 1.044 MB / 1.251 GB, free: 2.406 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.002134/1.405, allocations: 0.6641 MB / 1.251 GB, free: 1.734 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.01064/1.416, allocations: 4.072 MB / 1.255 GB, free: 13.65 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/1.416, allocations: 0 / 1.255 GB, free: 13.65 MB / 0.7917 GB Notification: Performance of FrontEnd: time 5.811e-06/1.416, allocations: 0 / 1.255 GB, free: 13.65 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0001939/1.416, allocations: 3.938 kB / 1.255 GB, free: 13.65 MB / 0.7917 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.01666/1.433, allocations: 3.458 MB / 1.259 GB, free: 10.12 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/1.433, allocations: 12.02 kB / 1.259 GB, free: 10.11 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001353/1.434, allocations: 371 kB / 1.259 GB, free: 9.742 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009778/1.444, allocations: 0.9212 MB / 1.26 GB, free: 8.816 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006135/1.45, allocations: 1.757 MB / 1.262 GB, free: 7.004 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002728/1.45, allocations: 193.1 kB / 1.262 GB, free: 6.812 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00095/1.451, allocations: 271.9 kB / 1.262 GB, free: 6.547 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01048/1.462, allocations: 3.284 MB / 1.265 GB, free: 3.16 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001113/1.462, allocations: 11.91 kB / 1.265 GB, free: 3.148 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004446/1.462, allocations: 108 kB / 1.265 GB, free: 3.043 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002535/1.463, allocations: 141 kB / 1.266 GB, free: 2.902 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01222/1.475, allocations: 3.474 MB / 1.269 GB, free: 15.41 MB / 0.8073 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.02914/1.504, allocations: 12.06 MB / 1.281 GB, free: 2.449 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008859/1.513, allocations: 3.504 MB / 1.284 GB, free: 14.86 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00247/1.516, allocations: 1.501 MB / 1.286 GB, free: 13.04 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.558e-05/1.516, allocations: 64.75 kB / 1.286 GB, free: 12.97 MB / 0.823 GB Notification: Performance of pre-optimization done (n=278): time 5.51e-06/1.516, allocations: 0 / 1.286 GB, free: 12.97 MB / 0.823 GB Notification: Performance of matching and sorting (n=278): time 0.01245/1.528, allocations: 3.842 MB / 1.289 GB, free: 9.078 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.034e-05/1.528, allocations: 81.59 kB / 1.289 GB, free: 8.984 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003084/1.531, allocations: 1.347 MB / 1.291 GB, free: 7.629 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0005645/1.532, allocations: 81.7 kB / 1.291 GB, free: 7.543 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001155/1.533, allocations: 0.9763 MB / 1.292 GB, free: 6.555 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001644/1.535, allocations: 0.9393 MB / 1.293 GB, free: 5.602 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002259/1.535, allocations: 51.94 kB / 1.293 GB, free: 5.551 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002954/1.535, allocations: 402.9 kB / 1.293 GB, free: 5.152 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003346/1.539, allocations: 1.075 MB / 1.294 GB, free: 4.074 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003802/1.543, allocations: 1.354 MB / 1.296 GB, free: 2.641 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005356/1.548, allocations: 1.278 MB / 1.297 GB, free: 1.344 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.879e-05/1.548, allocations: 0 / 1.297 GB, free: 1.344 MB / 0.823 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.009027/1.557, allocations: 2.943 MB / 1.3 GB, free: 14.36 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.651e-05/1.557, allocations: 7.984 kB / 1.3 GB, free: 14.35 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.24e-05/1.557, allocations: 4 kB / 1.3 GB, free: 14.34 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.117e-05/1.557, allocations: 16 kB / 1.3 GB, free: 14.33 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004578/1.562, allocations: 0.5071 MB / 1.3 GB, free: 13.82 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.299e-05/1.562, allocations: 16 kB / 1.3 GB, free: 13.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004765/1.567, allocations: 343.5 kB / 1.301 GB, free: 13.47 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000428/1.567, allocations: 80 kB / 1.301 GB, free: 13.39 MB / 0.8386 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001976/1.569, allocations: 0.6494 MB / 1.301 GB, free: 12.73 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008214/1.57, allocations: 225.3 kB / 1.301 GB, free: 12.51 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009145/1.579, allocations: 3.088 MB / 1.304 GB, free: 9.363 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.514e-05/1.579, allocations: 24 kB / 1.305 GB, free: 9.34 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.381e-05/1.579, allocations: 3.953 kB / 1.305 GB, free: 9.336 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007603/1.587, allocations: 2.622 MB / 1.307 GB, free: 6.641 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01814/1.605, allocations: 6.166 MB / 1.313 GB, free: 376 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.256e-05/1.605, allocations: 3.938 kB / 1.313 GB, free: 372 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005323/1.61, allocations: 0.5423 MB / 1.314 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.334e-05/1.611, allocations: 8 kB / 1.314 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003694/1.611, allocations: 67.97 kB / 1.314 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.012e-05/1.611, allocations: 8 kB / 1.314 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.611, allocations: 0 / 1.314 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01291/1.624, allocations: 4.753 MB / 1.318 GB, free: 10.91 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002504/1.626, allocations: 0.6109 MB / 1.319 GB, free: 10.27 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007135/1.627, allocations: 48 kB / 1.319 GB, free: 10.23 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004289/1.631, allocations: 224.4 kB / 1.319 GB, free: 10.01 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005787/1.632, allocations: 165.9 kB / 1.319 GB, free: 9.844 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003151/1.632, allocations: 83.97 kB / 1.319 GB, free: 9.762 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.002139/1.635, allocations: 0.9259 MB / 1.32 GB, free: 8.84 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.11e-07/1.635, allocations: 0 / 1.32 GB, free: 8.84 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003988/1.639, allocations: 0.9784 MB / 1.321 GB, free: 7.859 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.U,volOut.dynBal.m,volOut.dynBal.mXi[1],oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,oriEasTop.mExc,volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mXi[1],volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mXi[1]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01405/1.653, allocations: 5.575 MB / 1.327 GB, free: 2.191 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.007375/1.66, allocations: 2.744 MB / 1.329 GB, free: 15.42 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.002e-06/1.66, allocations: 0 / 1.329 GB, free: 15.42 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.003776/1.664, allocations: 1.492 MB / 1.331 GB, free: 13.92 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01001/1.674, allocations: 1.251 MB / 1.332 GB, free: 12.68 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02275/1.697, allocations: 11.7 MB / 1.344 GB, free: 0.6602 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004106/1.701, allocations: 1.949 MB / 1.345 GB, free: 14.67 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.009102/1.71, allocations: 0.8356 MB / 1.346 GB, free: 13.83 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004856/1.715, allocations: 1.081 MB / 1.347 GB, free: 12.75 MB / 0.8855 GB Notification: Performance of SimCode: time 2.786e-06/1.715, allocations: 0 / 1.347 GB, free: 12.75 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1936/1.909, allocations: 66.46 MB / 1.412 GB, free: 10.8 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000298/1.909, allocations: 196.9 kB / 1.412 GB, free: 10.55 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.123/7.032, allocations: 0 / 1.412 GB, free: 10.55 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)