Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 198.8 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.238/1.238, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.408/2.408, allocations: 437.1 MB / 0.7104 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 59.91 kB / 0.8693 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6375/0.639, allocations: 151.6 MB / 1.017 GB, free: 2.422 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.8694/1.508, allocations: 295.1 MB / 1.306 GB, free: 1.867 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02133/1.53, allocations: 17.02 MB / 1.322 GB, free: 1.719 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004158/1.534, allocations: 78.97 kB / 1.322 GB, free: 1.719 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004795/1.539, allocations: 1.894 MB / 1.324 GB, free: 1.676 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01588/1.555, allocations: 6.432 MB / 1.33 GB, free: 1.387 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008404/1.563, allocations: 2.927 MB / 1.333 GB, free: 1.289 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01268/1.576, allocations: 7.713 MB / 1.341 GB, free: 1.25 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003784/1.58, allocations: 2.591 MB / 1.343 GB, free: 16.88 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005826/1.585, allocations: 2.76 MB / 1.346 GB, free: 16.76 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004979/1.59, allocations: 2.706 MB / 1.349 GB, free: 16.41 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0005264/1.591, allocations: 328.7 kB / 1.349 GB, free: 16.41 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01245/1.603, allocations: 6.164 MB / 1.355 GB, free: 16.35 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.002269/1.606, allocations: 1.331 MB / 1.356 GB, free: 16.22 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.003779/1.61, allocations: 1.886 MB / 1.358 GB, free: 15.75 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01436/1.624, allocations: 6.838 MB / 1.365 GB, free: 14.54 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/1.624, allocations: 0 / 1.365 GB, free: 14.54 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.914e-06/1.624, allocations: 0 / 1.365 GB, free: 14.54 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001261/1.624, allocations: 0 / 1.365 GB, free: 14.54 MB / 1.014 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.01171/1.636, allocations: 4.129 MB / 1.369 GB, free: 12.35 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/1.636, allocations: 11 kB / 1.369 GB, free: 12.35 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004864/1.636, allocations: 372.1 kB / 1.369 GB, free: 12.14 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006121/1.642, allocations: 0.9162 MB / 1.37 GB, free: 11.78 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003297/1.646, allocations: 1.844 MB / 1.372 GB, free: 10.55 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001168/1.646, allocations: 191.4 kB / 1.372 GB, free: 10.46 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003625/1.646, allocations: 265.7 kB / 1.372 GB, free: 10.37 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00514/1.651, allocations: 3.334 MB / 1.376 GB, free: 8.398 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.68e-05/1.651, allocations: 7.219 kB / 1.376 GB, free: 8.395 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002457/1.652, allocations: 104.2 kB / 1.376 GB, free: 8.316 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001283/1.652, allocations: 147.4 kB / 1.376 GB, free: 8.281 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00535/1.657, allocations: 3.495 MB / 1.379 GB, free: 6.586 MB / 1.014 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.01611/1.673, allocations: 12.23 MB / 1.391 GB, free: 12.51 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004728/1.678, allocations: 3.516 MB / 1.395 GB, free: 10.36 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002745/1.681, allocations: 1.822 MB / 1.396 GB, free: 8.828 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001458/1.682, allocations: 1.488 MB / 1.398 GB, free: 7.031 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.037e-05/1.682, allocations: 64.75 kB / 1.398 GB, free: 6.957 MB / 1.029 GB Notification: Performance of pre-optimization done (n=278): time 4.168e-06/1.682, allocations: 3.188 kB / 1.398 GB, free: 6.957 MB / 1.029 GB Notification: Performance of matching and sorting (n=278): time 0.006934/1.689, allocations: 3.877 MB / 1.402 GB, free: 3.031 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.217e-05/1.69, allocations: 89.59 kB / 1.402 GB, free: 2.93 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002338/1.692, allocations: 1.376 MB / 1.403 GB, free: 1.547 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0002071/1.692, allocations: 77.7 kB / 1.403 GB, free: 1.465 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006694/1.693, allocations: 0.9797 MB / 1.404 GB, free: 488 kB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009721/1.694, allocations: 0.9486 MB / 1.405 GB, free: 15.53 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000684/1.694, allocations: 405 kB / 1.406 GB, free: 15.13 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 9.688e-05/1.695, allocations: 309.1 kB / 1.406 GB, free: 14.82 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001723/1.696, allocations: 1.09 MB / 1.407 GB, free: 13.73 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001928/1.698, allocations: 1.358 MB / 1.408 GB, free: 12.31 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003903/1.702, allocations: 2.65 MB / 1.411 GB, free: 9.582 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.256e-05/1.702, allocations: 0 / 1.411 GB, free: 9.582 MB / 1.045 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.004972/1.707, allocations: 2.981 MB / 1.414 GB, free: 6.582 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/1.707, allocations: 4 kB / 1.414 GB, free: 6.578 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.694e-05/1.707, allocations: 7.984 kB / 1.414 GB, free: 6.57 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.345e-05/1.707, allocations: 16 kB / 1.414 GB, free: 6.555 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002149/1.709, allocations: 0.5103 MB / 1.414 GB, free: 6.074 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.782e-05/1.709, allocations: 18.62 kB / 1.414 GB, free: 6.059 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002277/1.712, allocations: 186.2 kB / 1.414 GB, free: 5.875 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001824/1.712, allocations: 83.98 kB / 1.414 GB, free: 5.793 MB / 1.045 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.001233/1.713, allocations: 0.6455 MB / 1.415 GB, free: 5.168 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006701/1.714, allocations: 233.2 kB / 1.415 GB, free: 4.938 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005056/1.719, allocations: 3.112 MB / 1.418 GB, free: 1.766 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.05e-05/1.719, allocations: 28 kB / 1.418 GB, free: 1.738 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/1.719, allocations: 0 / 1.418 GB, free: 1.738 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003718/1.723, allocations: 2.656 MB / 1.421 GB, free: 15.01 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009965/1.733, allocations: 6.214 MB / 1.427 GB, free: 8.762 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.802e-06/1.733, allocations: 0 / 1.427 GB, free: 8.762 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002479/1.735, allocations: 0.5449 MB / 1.428 GB, free: 8.242 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.101e-05/1.735, allocations: 12 kB / 1.428 GB, free: 8.23 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002038/1.735, allocations: 59.92 kB / 1.428 GB, free: 8.172 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.006e-05/1.735, allocations: 8 kB / 1.428 GB, free: 8.164 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/1.735, allocations: 4 kB / 1.428 GB, free: 8.16 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006881/1.742, allocations: 4.573 MB / 1.432 GB, free: 3.508 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001507/1.744, allocations: 0.6071 MB / 1.433 GB, free: 2.879 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005944/1.744, allocations: 54.56 kB / 1.433 GB, free: 2.828 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002015/1.747, allocations: 71.95 kB / 1.433 GB, free: 2.758 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003268/1.747, allocations: 165.9 kB / 1.433 GB, free: 2.594 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001956/1.747, allocations: 83.97 kB / 1.433 GB, free: 2.512 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001637/1.749, allocations: 0.9462 MB / 1.434 GB, free: 1.57 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.91e-07/1.749, allocations: 0 / 1.434 GB, free: 1.57 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.002726/1.751, allocations: 0.9823 MB / 1.435 GB, free: 0.5859 MB / 1.061 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.007683/1.759, allocations: 5.391 MB / 1.44 GB, free: 11.15 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.01183/1.771, allocations: 5.536 MB / 1.446 GB, free: 5.648 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/1.771, allocations: 0 / 1.446 GB, free: 5.648 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.002421/1.773, allocations: 1.506 MB / 1.447 GB, free: 4.191 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007254/1.781, allocations: 1.352 MB / 1.448 GB, free: 2.875 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03528/1.816, allocations: 21.3 MB / 1.469 GB, free: 12.34 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00197/1.818, allocations: 1.899 MB / 1.471 GB, free: 10.41 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.003744/1.822, allocations: 0.8475 MB / 1.472 GB, free: 9.559 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001931/1.824, allocations: 1.085 MB / 1.473 GB, free: 8.473 MB / 1.107 GB Notification: Performance of SimCode: time 9.62e-07/1.824, allocations: 0 / 1.473 GB, free: 8.473 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1185/1.942, allocations: 67.68 MB / 1.539 GB, free: 5.605 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/12.99, allocations: 21.25 kB / 1.539 GB, free: 5.594 MB / 1.17 GB (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat --tempDir=temp_Buildings_10_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)