Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_9_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.0008099/0.000814, allocations: 98.27 kB / 15.36 MB, free: 0.7305 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.0008965/0.0008966, allocations: 173.4 kB / 16.27 MB, free: 6.664 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.482/1.482, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.561/2.561, allocations: 390.9 MB / 0.6664 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000405/0.0004049, allocations: 8.234 kB / 0.8161 GB, free: 13.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9018/0.9022, allocations: 142.4 MB / 0.9552 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.3046/1.207, allocations: 288.9 MB / 1.237 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.7385/1.945, allocations: 17.06 MB / 1.254 GB, free: 2.871 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005499/1.951, allocations: 67.69 kB / 1.254 GB, free: 2.871 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.007147/1.958, allocations: 1.649 MB / 1.256 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.02031/1.979, allocations: 6.07 MB / 1.262 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.009193/1.988, allocations: 2.672 MB / 1.264 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01845/2.006, allocations: 11.19 MB / 1.275 GB, free: 2.625 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005419/2.012, allocations: 2.127 MB / 1.277 GB, free: 18.37 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01007/2.022, allocations: 2.352 MB / 1.279 GB, free: 18.36 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009426/2.031, allocations: 2.73 MB / 1.282 GB, free: 18.34 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001719/2.033, allocations: 154.4 kB / 1.282 GB, free: 18.34 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02048/2.054, allocations: 7.152 MB / 1.289 GB, free: 18.28 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.003513/2.057, allocations: 1.155 MB / 1.29 GB, free: 18.28 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.005857/2.063, allocations: 1.697 MB / 1.292 GB, free: 18.25 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01768/2.081, allocations: 7.069 MB / 1.299 GB, free: 17.88 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.685e-06/2.081, allocations: 0 / 1.299 GB, free: 17.88 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.006e-06/2.081, allocations: 4.656 kB / 1.299 GB, free: 17.88 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001348/2.081, allocations: 4 kB / 1.299 GB, free: 17.87 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.01012/2.091, allocations: 3.553 MB / 1.302 GB, free: 16.28 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/2.091, allocations: 8.156 kB / 1.302 GB, free: 16.28 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008077/2.092, allocations: 368.8 kB / 1.303 GB, free: 16.23 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006346/2.098, allocations: 0.9135 MB / 1.304 GB, free: 16.05 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003459/2.102, allocations: 1.845 MB / 1.306 GB, free: 15.53 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001497/2.102, allocations: 195 kB / 1.306 GB, free: 15.52 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003942/2.102, allocations: 262.5 kB / 1.306 GB, free: 15.52 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005275/2.108, allocations: 3.335 MB / 1.309 GB, free: 15.23 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.86e-05/2.108, allocations: 3.312 kB / 1.309 GB, free: 15.23 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002395/2.108, allocations: 107.4 kB / 1.309 GB, free: 15.23 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001329/2.108, allocations: 142.5 kB / 1.309 GB, free: 15.21 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005708/2.114, allocations: 3.499 MB / 1.313 GB, free: 15.18 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.01539/2.129, allocations: 12.12 MB / 1.325 GB, free: 8.828 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004094/2.133, allocations: 3.506 MB / 1.328 GB, free: 7.93 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002392/2.136, allocations: 1.799 MB / 1.33 GB, free: 7.668 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00144/2.137, allocations: 1.503 MB / 1.331 GB, free: 6.012 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.11e-05/2.137, allocations: 65.88 kB / 1.331 GB, free: 5.969 MB / 1.014 GB Notification: Performance of pre-optimization done (n=278): time 4.449e-06/2.137, allocations: 0 / 1.331 GB, free: 5.969 MB / 1.014 GB Notification: Performance of matching and sorting (n=278): time 0.005781/2.143, allocations: 3.89 MB / 1.335 GB, free: 5.289 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.941e-05/2.143, allocations: 81.16 kB / 1.335 GB, free: 5.223 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001736/2.145, allocations: 1.376 MB / 1.337 GB, free: 4.844 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001794/2.145, allocations: 73.61 kB / 1.337 GB, free: 4.812 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006225/2.146, allocations: 0.9848 MB / 1.338 GB, free: 4.32 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008327/2.147, allocations: 0.9438 MB / 1.339 GB, free: 3.621 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002438/2.147, allocations: 205.5 kB / 1.339 GB, free: 3.57 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.925e-05/2.147, allocations: 301.1 kB / 1.339 GB, free: 3.273 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001524/2.148, allocations: 1.097 MB / 1.34 GB, free: 3.113 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001704/2.15, allocations: 1.36 MB / 1.341 GB, free: 2.742 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003393/2.154, allocations: 2.646 MB / 1.344 GB, free: 2.293 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/2.154, allocations: 2.531 kB / 1.344 GB, free: 2.293 MB / 1.014 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.004351/2.158, allocations: 2.969 MB / 1.347 GB, free: 1.781 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.549e-05/2.158, allocations: 8.188 kB / 1.347 GB, free: 1.777 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.472e-05/2.158, allocations: 5.781 kB / 1.347 GB, free: 1.777 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.499e-05/2.158, allocations: 18.03 kB / 1.347 GB, free: 1.777 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002007/2.16, allocations: 0.5163 MB / 1.347 GB, free: 1.715 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.392e-05/2.16, allocations: 22.2 kB / 1.348 GB, free: 1.711 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002834/2.163, allocations: 374.7 kB / 1.348 GB, free: 1.531 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001433/2.163, allocations: 82.86 kB / 1.348 GB, free: 1.527 MB / 1.014 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.001227/2.164, allocations: 0.6478 MB / 1.349 GB, free: 1.348 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004477/2.165, allocations: 230.9 kB / 1.349 GB, free: 1.23 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004544/2.169, allocations: 3.123 MB / 1.352 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-05/2.169, allocations: 25.75 kB / 1.352 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/2.169, allocations: 4 kB / 1.352 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003323/2.173, allocations: 2.658 MB / 1.354 GB, free: 80 kB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008903/2.182, allocations: 6.214 MB / 1.361 GB, free: 14.42 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/2.182, allocations: 0 / 1.361 GB, free: 14.42 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002358/2.184, allocations: 0.5418 MB / 1.361 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.757e-05/2.184, allocations: 6.656 kB / 1.361 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001511/2.184, allocations: 61.92 kB / 1.361 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.217e-05/2.184, allocations: 11.47 kB / 1.361 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/2.184, allocations: 0 / 1.361 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006697/2.191, allocations: 4.571 MB / 1.366 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002392/2.193, allocations: 0.617 MB / 1.366 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008874/2.194, allocations: 49.38 kB / 1.366 GB, free: 13.1 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003367/2.198, allocations: 219.1 kB / 1.366 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004041/2.198, allocations: 163.1 kB / 1.367 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001995/2.198, allocations: 85.03 kB / 1.367 GB, free: 12.72 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001821/2.2, allocations: 0.9449 MB / 1.368 GB, free: 12.03 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.653e-06/2.2, allocations: 0 / 1.368 GB, free: 12.03 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.00422/2.204, allocations: 0.98 MB / 1.369 GB, free: 11.13 MB / 1.029 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.00924/2.214, allocations: 5.409 MB / 1.374 GB, free: 7.266 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.005764/2.219, allocations: 2.765 MB / 1.377 GB, free: 5.051 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.044e-05/2.219, allocations: 0 / 1.377 GB, free: 5.051 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.002879/2.222, allocations: 1.51 MB / 1.378 GB, free: 3.59 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008468/2.231, allocations: 1.288 MB / 1.379 GB, free: 2.32 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0493/2.28, allocations: 22.69 MB / 1.401 GB, free: 10.47 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00208/2.282, allocations: 1.895 MB / 1.403 GB, free: 8.539 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.004228/2.287, allocations: 0.8513 MB / 1.404 GB, free: 7.684 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002536/2.289, allocations: 1.093 MB / 1.405 GB, free: 6.59 MB / 1.061 GB Notification: Performance of SimCode: time 1.172e-06/2.289, allocations: 0 / 1.405 GB, free: 6.59 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1123/2.402, allocations: 64.74 MB / 1.468 GB, free: 6.707 MB / 1.123 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001984/2.402, allocations: 204.7 kB / 1.469 GB, free: 6.453 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.062/6.464, allocations: 0 / 1.469 GB, free: 6.453 MB / 1.123 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)