Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.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.ReverseBuoyancy,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy",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.001122/0.001122, 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.001224/0.001224, allocations: 193.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.209/1.209, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.4/2.4, allocations: 437.1 MB / 0.7104 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001536, allocations: 59.89 kB / 0.8693 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6407/0.6423, allocations: 151.6 MB / 1.017 GB, free: 2.43 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.8691/1.511, allocations: 314.2 MB / 1.324 GB, free: 1.668 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02322/1.535, allocations: 18.44 MB / 1.342 GB, free: 1.363 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007629/1.542, allocations: 89.28 kB / 1.342 GB, free: 1.363 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.008364/1.551, allocations: 2.147 MB / 1.344 GB, free: 1.312 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01766/1.569, allocations: 7.31 MB / 1.352 GB, free: 0.9375 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008431/1.577, allocations: 3.212 MB / 1.355 GB, free: 0.832 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01111/1.588, allocations: 9.102 MB / 1.364 GB, free: 0.668 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005265/1.593, allocations: 3.107 MB / 1.367 GB, free: 16.21 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006728/1.6, allocations: 3.297 MB / 1.37 GB, free: 15.26 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00651/1.607, allocations: 3.231 MB / 1.373 GB, free: 14.32 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001593/1.608, allocations: 403.7 kB / 1.373 GB, free: 14.32 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01552/1.624, allocations: 6.995 MB / 1.38 GB, free: 13.01 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.003159/1.627, allocations: 1.692 MB / 1.382 GB, free: 12.29 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.006121/1.633, allocations: 2.305 MB / 1.384 GB, free: 10.87 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01726/1.65, allocations: 8.13 MB / 1.392 GB, free: 6.25 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/1.65, allocations: 0 / 1.392 GB, free: 6.25 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.743e-06/1.65, allocations: 3.938 kB / 1.392 GB, free: 6.246 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.393e-05/1.651, allocations: 0 / 1.392 GB, free: 6.246 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: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.01165/1.662, allocations: 4.988 MB / 1.397 GB, free: 3.016 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/1.662, allocations: 11.59 kB / 1.397 GB, free: 3.016 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005181/1.663, allocations: 458.5 kB / 1.397 GB, free: 2.676 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006097/1.669, allocations: 1.009 MB / 1.398 GB, free: 2.207 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003717/1.673, allocations: 2.166 MB / 1.4 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001577/1.673, allocations: 247.2 kB / 1.401 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004457/1.673, allocations: 323 kB / 1.401 GB, free: 0.5898 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006615/1.68, allocations: 4.236 MB / 1.405 GB, free: 12.73 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.725e-05/1.68, allocations: 15.09 kB / 1.405 GB, free: 12.72 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002969/1.68, allocations: 131.3 kB / 1.405 GB, free: 12.59 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001593/1.68, allocations: 174.4 kB / 1.405 GB, free: 12.42 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007495/1.688, allocations: 4.773 MB / 1.41 GB, free: 7.656 MB / 1.029 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.02175/1.71, allocations: 14.53 MB / 1.424 GB, free: 8.441 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006631/1.716, allocations: 4.551 MB / 1.429 GB, free: 3.906 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003759/1.72, allocations: 2.455 MB / 1.431 GB, free: 1.449 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001675/1.722, allocations: 1.613 MB / 1.433 GB, free: 15.52 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.264e-05/1.722, allocations: 85.52 kB / 1.433 GB, free: 15.42 MB / 1.061 GB Notification: Performance of pre-optimization done (n=392): time 5.14e-06/1.722, allocations: 0 / 1.433 GB, free: 15.42 MB / 1.061 GB Notification: Performance of matching and sorting (n=392): time 0.009057/1.731, allocations: 5.531 MB / 1.438 GB, free: 9.871 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.241e-05/1.731, allocations: 98.48 kB / 1.438 GB, free: 9.762 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002515/1.734, allocations: 1.684 MB / 1.44 GB, free: 8.035 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0002268/1.734, allocations: 93.7 kB / 1.44 GB, free: 7.938 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007502/1.735, allocations: 1.135 MB / 1.441 GB, free: 6.793 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.001075/1.736, allocations: 1.314 MB / 1.442 GB, free: 5.488 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008486/1.737, allocations: 0.5507 MB / 1.443 GB, free: 4.93 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 8.597e-05/1.737, allocations: 305.1 kB / 1.443 GB, free: 4.629 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002401/1.739, allocations: 1.56 MB / 1.445 GB, free: 3.066 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002674/1.742, allocations: 1.923 MB / 1.447 GB, free: 1.078 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005419/1.747, allocations: 3.76 MB / 1.45 GB, free: 13.25 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.237e-05/1.747, allocations: 3.938 kB / 1.45 GB, free: 13.25 MB / 1.076 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006612/1.754, allocations: 4.181 MB / 1.454 GB, free: 9.07 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.417e-05/1.754, allocations: 8.656 kB / 1.454 GB, free: 9.062 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.825e-05/1.754, allocations: 7.984 kB / 1.454 GB, free: 9.055 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.562e-05/1.754, allocations: 24 kB / 1.454 GB, free: 9.031 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002859/1.757, allocations: 0.6912 MB / 1.455 GB, free: 8.379 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.194e-05/1.757, allocations: 23.47 kB / 1.455 GB, free: 8.359 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002749/1.76, allocations: 253.1 kB / 1.455 GB, free: 8.109 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002597/1.76, allocations: 120 kB / 1.455 GB, free: 7.992 MB / 1.076 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.001468/1.761, allocations: 0.8067 MB / 1.456 GB, free: 7.219 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008026/1.762, allocations: 288.5 kB / 1.457 GB, free: 6.934 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007334/1.77, allocations: 4.437 MB / 1.461 GB, free: 2.461 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.793e-05/1.77, allocations: 36 kB / 1.461 GB, free: 2.426 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-05/1.77, allocations: 0 / 1.461 GB, free: 2.426 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005383/1.775, allocations: 3.799 MB / 1.465 GB, free: 14.56 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01352/1.788, allocations: 8.631 MB / 1.473 GB, free: 5.879 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.006e-05/1.789, allocations: 320 / 1.473 GB, free: 5.879 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003106/1.792, allocations: 0.7325 MB / 1.474 GB, free: 5.184 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.187e-05/1.792, allocations: 12 kB / 1.474 GB, free: 5.172 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002673/1.792, allocations: 83.98 kB / 1.474 GB, free: 5.09 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-05/1.792, allocations: 19.98 kB / 1.474 GB, free: 5.07 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/1.792, allocations: 7.094 kB / 1.474 GB, free: 5.066 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009395/1.801, allocations: 6.561 MB / 1.48 GB, free: 14.42 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001658/1.803, allocations: 0.7972 MB / 1.481 GB, free: 13.6 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006261/1.804, allocations: 72 kB / 1.481 GB, free: 13.53 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00229/1.806, allocations: 96.22 kB / 1.481 GB, free: 13.44 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000419/1.806, allocations: 230.7 kB / 1.481 GB, free: 13.21 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002379/1.807, allocations: 118.7 kB / 1.482 GB, free: 13.1 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001751/1.808, allocations: 1.157 MB / 1.483 GB, free: 11.92 MB / 1.107 GB Notification: Performance of sort global known variables: time 3.81e-07/1.808, allocations: 3.938 kB / 1.483 GB, free: 11.91 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.003034/1.812, allocations: 1.232 MB / 1.484 GB, free: 10.68 MB / 1.107 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.01033/1.822, allocations: 7.484 MB / 1.491 GB, free: 3.164 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.01972/1.842, allocations: 9.829 MB / 1.501 GB, free: 9.41 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 6.702e-06/1.842, allocations: 0 / 1.501 GB, free: 9.41 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.003171/1.845, allocations: 2.154 MB / 1.503 GB, free: 7.336 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007725/1.853, allocations: 1.603 MB / 1.504 GB, free: 5.77 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04119/1.894, allocations: 28.83 MB / 1.533 GB, free: 7.434 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002335/1.896, allocations: 2.216 MB / 1.535 GB, free: 5.184 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.004307/1.9, allocations: 1.208 MB / 1.536 GB, free: 3.969 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002109/1.903, allocations: 1.39 MB / 1.537 GB, free: 2.578 MB / 1.154 GB Notification: Performance of SimCode: time 1.193e-06/1.903, allocations: 0 / 1.537 GB, free: 2.578 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1312/2.034, allocations: 84.8 MB / 1.62 GB, free: 14.76 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/13.12, allocations: 9.844 kB / 1.62 GB, free: 14.75 MB / 1.248 GB (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.mat --tempDir=temp_Buildings_10_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.fmu > Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)