Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_11_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.004595/0.004595, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001295/0.001295, allocations: 197.3 kB / 16.67 MB, free: 5.969 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.266/1.266, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 37.28/37.28, allocations: 469.8 MB / 0.7425 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001738/0.001738, allocations: 71.83 kB / 1.065 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8292/0.831, allocations: 159.1 MB / 1.22 GB, free: 2.039 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.312/1.143, allocations: 295.1 MB / 1.508 GB, free: 9.836 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.02344/1.166, allocations: 17.01 MB / 1.525 GB, free: 8.789 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00299/1.17, allocations: 83.56 kB / 1.525 GB, free: 8.707 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.004468/1.174, allocations: 1.892 MB / 1.527 GB, free: 6.805 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.01484/1.189, allocations: 6.431 MB / 1.533 GB, free: 356 kB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.007162/1.196, allocations: 2.94 MB / 1.536 GB, free: 13.41 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.00995/1.206, allocations: 7.707 MB / 1.544 GB, free: 5.676 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00352/1.21, allocations: 2.591 MB / 1.546 GB, free: 3.02 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004813/1.214, allocations: 2.764 MB / 1.549 GB, free: 252 kB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.08946/1.304, allocations: 2.722 MB / 1.551 GB, free: 13.53 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.0008245/1.305, allocations: 328 kB / 1.552 GB, free: 13.21 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01201/1.317, allocations: 6.165 MB / 1.558 GB, free: 7.027 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.001771/1.319, allocations: 1.336 MB / 1.559 GB, free: 5.688 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.002652/1.321, allocations: 1.886 MB / 1.561 GB, free: 3.793 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.6223/1.943, allocations: 6.901 MB / 1.568 GB, free: 24.99 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/1.944, allocations: 0.5938 kB / 1.568 GB, free: 24.99 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.533e-06/1.944, allocations: 0 / 1.568 GB, free: 24.99 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0001658/1.944, allocations: 0.5 kB / 1.568 GB, free: 24.99 MB / 1.279 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.0116/1.955, allocations: 4.234 MB / 1.572 GB, free: 23.25 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/1.955, allocations: 9.5 kB / 1.572 GB, free: 23.25 MB / 1.279 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005152/1.956, allocations: 371.2 kB / 1.572 GB, free: 23.2 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006019/1.962, allocations: 0.9271 MB / 1.573 GB, free: 23.02 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004596/1.967, allocations: 1.931 MB / 1.575 GB, free: 22.49 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001365/1.967, allocations: 193.6 kB / 1.575 GB, free: 22.48 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005884/1.967, allocations: 263.2 kB / 1.575 GB, free: 22.48 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006519/1.974, allocations: 3.336 MB / 1.579 GB, free: 22.19 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-05/1.974, allocations: 9.609 kB / 1.579 GB, free: 22.19 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002828/1.974, allocations: 108.3 kB / 1.579 GB, free: 22.19 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001431/1.974, allocations: 136 kB / 1.579 GB, free: 22.18 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005892/1.98, allocations: 3.497 MB / 1.582 GB, free: 22.15 MB / 1.279 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.01398/1.994, allocations: 12.17 MB / 1.594 GB, free: 16.2 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003622/1.998, allocations: 3.516 MB / 1.598 GB, free: 15.62 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002342/2, allocations: 1.846 MB / 1.599 GB, free: 15.59 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001125/2.001, allocations: 1.49 MB / 1.601 GB, free: 13.99 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.92e-05/2.001, allocations: 71.19 kB / 1.601 GB, free: 13.95 MB / 1.279 GB Notification: Performance of pre-optimization done (n=278): time 5.26e-06/2.001, allocations: 0.9062 kB / 1.601 GB, free: 13.95 MB / 1.279 GB Notification: Performance of matching and sorting (n=278): time 0.006255/2.008, allocations: 3.896 MB / 1.605 GB, free: 13.68 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/2.008, allocations: 81.22 kB / 1.605 GB, free: 13.62 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001906/2.01, allocations: 1.379 MB / 1.606 GB, free: 13.45 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0002134/2.01, allocations: 73.23 kB / 1.606 GB, free: 13.42 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004815/2.01, allocations: 1.007 MB / 1.607 GB, free: 13.02 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007046/2.011, allocations: 0.9894 MB / 1.608 GB, free: 12.36 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005652/2.012, allocations: 404.3 kB / 1.609 GB, free: 12.34 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 3.753e-05/2.012, allocations: 304.4 kB / 1.609 GB, free: 12.04 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001569/2.013, allocations: 1.093 MB / 1.61 GB, free: 12.03 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001864/2.015, allocations: 1.358 MB / 1.611 GB, free: 11.85 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003302/2.019, allocations: 2.646 MB / 1.614 GB, free: 11.62 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.795e-06/2.019, allocations: 5.438 kB / 1.614 GB, free: 11.62 MB / 1.279 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.004269/2.023, allocations: 2.994 MB / 1.617 GB, free: 11.37 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/2.023, allocations: 5.031 kB / 1.617 GB, free: 11.37 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/2.023, allocations: 8.578 kB / 1.617 GB, free: 11.37 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.748e-05/2.023, allocations: 13.5 kB / 1.617 GB, free: 11.37 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001909/2.025, allocations: 0.5137 MB / 1.617 GB, free: 11.37 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.374e-05/2.025, allocations: 16.78 kB / 1.617 GB, free: 11.37 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002395/2.027, allocations: 191.2 kB / 1.618 GB, free: 11.26 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001538/2.027, allocations: 84.42 kB / 1.618 GB, free: 11.26 MB / 1.279 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.001149/2.029, allocations: 0.6371 MB / 1.618 GB, free: 11.15 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005419/2.029, allocations: 246.5 kB / 1.618 GB, free: 11.02 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00423/2.033, allocations: 3.109 MB / 1.621 GB, free: 10.85 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.562e-05/2.033, allocations: 26.81 kB / 1.622 GB, free: 10.85 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/2.033, allocations: 0.8125 kB / 1.622 GB, free: 10.85 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003135/2.037, allocations: 2.665 MB / 1.624 GB, free: 10.6 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008361/2.045, allocations: 6.209 MB / 1.63 GB, free: 10.09 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.086e-06/2.045, allocations: 0 / 1.63 GB, free: 10.09 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002274/2.047, allocations: 0.5429 MB / 1.631 GB, free: 10.09 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.576e-05/2.047, allocations: 15.36 kB / 1.631 GB, free: 10.09 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001631/2.047, allocations: 59.67 kB / 1.631 GB, free: 10.09 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.058e-05/2.047, allocations: 10.59 kB / 1.631 GB, free: 10.09 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.552e-06/2.047, allocations: 0 / 1.631 GB, free: 10.09 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005837/2.053, allocations: 4.589 MB / 1.635 GB, free: 9.672 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001397/2.055, allocations: 0.626 MB / 1.636 GB, free: 9.414 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003327/2.055, allocations: 52.75 kB / 1.636 GB, free: 9.414 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001523/2.057, allocations: 63.97 kB / 1.636 GB, free: 9.414 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003035/2.057, allocations: 169.4 kB / 1.636 GB, free: 9.41 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001502/2.057, allocations: 81.84 kB / 1.636 GB, free: 9.41 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001096/2.058, allocations: 0.9424 MB / 1.637 GB, free: 9.301 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.5e-07/2.058, allocations: 0 / 1.637 GB, free: 9.301 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.00206/2.06, allocations: 0.9919 MB / 1.638 GB, free: 9.18 MB / 1.279 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.005986/2.066, allocations: 5.397 MB / 1.643 GB, free: 8.238 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.003526/2.07, allocations: 2.77 MB / 1.646 GB, free: 8.164 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/2.07, allocations: 3.219 kB / 1.646 GB, free: 8.164 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.001623/2.071, allocations: 1.506 MB / 1.648 GB, free: 8.148 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005589/2.077, allocations: 1.355 MB / 1.649 GB, free: 7.98 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02261/2.1, allocations: 19.53 MB / 1.668 GB, free: 19.71 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001247/2.101, allocations: 1.894 MB / 1.67 GB, free: 18.94 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.002482/2.103, allocations: 0.8429 MB / 1.671 GB, free: 18.77 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001247/2.105, allocations: 1.094 MB / 1.672 GB, free: 18.77 MB / 1.295 GB Notification: Performance of SimCode: time 4.81e-07/2.105, allocations: 0 / 1.672 GB, free: 18.77 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.244/4.349, allocations: 68.25 MB / 1.738 GB, free: 15.48 MB / 1.342 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.34/18.69, allocations: 15.86 kB / 1.738 GB, free: 15.47 MB / 1.342 GB (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat --tempDir=temp_Buildings_11_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)