Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_latest_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.001527/0.001527, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002005/0.002005, allocations: 192.8 kB / 16.25 MB, free: 6.637 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.97/1.97, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.936/2.936, allocations: 461.9 MB / 0.7343 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 65.25 kB / 0.8987 GB, free: 37.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4089/0.4103, allocations: 157.4 MB / 1.052 GB, free: 8.707 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 1.325/1.735, allocations: 291.7 MB / 1.337 GB, free: 1.488 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02683/1.762, allocations: 16.94 MB / 1.354 GB, free: 1.008 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005691/1.768, allocations: 71.97 kB / 1.354 GB, free: 1.008 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005893/1.773, allocations: 1.699 MB / 1.356 GB, free: 0.9609 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.02215/1.796, allocations: 6.062 MB / 1.361 GB, free: 0.6289 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01089/1.807, allocations: 2.708 MB / 1.364 GB, free: 0.5391 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01555/1.822, allocations: 7.697 MB / 1.372 GB, free: 412 kB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006673/1.829, allocations: 2.54 MB / 1.374 GB, free: 15.55 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009092/1.838, allocations: 2.808 MB / 1.377 GB, free: 14.74 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009094/1.847, allocations: 2.887 MB / 1.38 GB, free: 13.93 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.002059/1.849, allocations: 328.6 kB / 1.38 GB, free: 13.93 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01911/1.868, allocations: 6.428 MB / 1.386 GB, free: 12.21 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.004356/1.873, allocations: 1.341 MB / 1.388 GB, free: 11.31 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.008587/1.881, allocations: 1.882 MB / 1.389 GB, free: 10.14 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.02458/1.906, allocations: 7.288 MB / 1.397 GB, free: 6.004 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.276e-06/1.906, allocations: 0 / 1.397 GB, free: 6.004 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.585e-06/1.906, allocations: 0 / 1.397 GB, free: 6.004 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002769/1.906, allocations: 0 / 1.397 GB, free: 6.004 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.01732/1.924, allocations: 4.122 MB / 1.401 GB, free: 3.258 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.546e-05/1.924, allocations: 10.91 kB / 1.401 GB, free: 3.258 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001622/1.925, allocations: 368.7 kB / 1.401 GB, free: 2.984 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00826/1.934, allocations: 0.9214 MB / 1.402 GB, free: 2.559 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006342/1.94, allocations: 1.834 MB / 1.404 GB, free: 1.27 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002639/1.94, allocations: 192.9 kB / 1.404 GB, free: 1.184 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001311/1.942, allocations: 265.5 kB / 1.404 GB, free: 1.094 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0107/1.952, allocations: 3.334 MB / 1.407 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001699/1.953, allocations: 10.38 kB / 1.407 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009422/1.954, allocations: 111.9 kB / 1.407 GB, free: 15.03 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002623/1.954, allocations: 139.2 kB / 1.408 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008906/1.963, allocations: 3.496 MB / 1.411 GB, free: 11.96 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.02317/1.986, allocations: 12.09 MB / 1.423 GB, free: 15.08 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005553/1.992, allocations: 3.504 MB / 1.426 GB, free: 11.49 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00303/1.995, allocations: 1.817 MB / 1.428 GB, free: 9.676 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001578/1.996, allocations: 1.496 MB / 1.429 GB, free: 7.871 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.811e-05/1.996, allocations: 64.75 kB / 1.429 GB, free: 7.797 MB / 1.045 GB Notification: Performance of pre-optimization done (n=278): time 5.21e-06/1.996, allocations: 0 / 1.429 GB, free: 7.797 MB / 1.045 GB Notification: Performance of matching and sorting (n=278): time 0.007632/2.004, allocations: 3.885 MB / 1.433 GB, free: 3.863 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.766e-05/2.004, allocations: 77.59 kB / 1.433 GB, free: 3.773 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002633/2.007, allocations: 1.387 MB / 1.435 GB, free: 2.379 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0002971/2.007, allocations: 77.7 kB / 1.435 GB, free: 2.297 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007514/2.008, allocations: 0.9804 MB / 1.436 GB, free: 1.305 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.001134/2.009, allocations: 0.9448 MB / 1.437 GB, free: 376 kB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008896/2.01, allocations: 401.7 kB / 1.437 GB, free: 15.96 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001264/2.01, allocations: 313 kB / 1.437 GB, free: 15.66 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002048/2.012, allocations: 1.094 MB / 1.438 GB, free: 14.56 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002353/2.014, allocations: 1.362 MB / 1.44 GB, free: 13.13 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004613/2.019, allocations: 2.646 MB / 1.442 GB, free: 10.39 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.216e-05/2.019, allocations: 0 / 1.442 GB, free: 10.39 MB / 1.061 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.00644/2.025, allocations: 2.974 MB / 1.445 GB, free: 7.375 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.478e-05/2.026, allocations: 9.719 kB / 1.445 GB, free: 7.367 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.6e-05/2.026, allocations: 4 kB / 1.445 GB, free: 7.363 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.8e-05/2.026, allocations: 16 kB / 1.445 GB, free: 7.348 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002361/2.028, allocations: 0.5076 MB / 1.446 GB, free: 6.84 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-05/2.028, allocations: 20 kB / 1.446 GB, free: 6.82 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004194/2.032, allocations: 377.7 kB / 1.446 GB, free: 6.449 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002767/2.033, allocations: 87.92 kB / 1.446 GB, free: 6.363 MB / 1.061 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.001913/2.035, allocations: 0.6455 MB / 1.447 GB, free: 5.707 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001231/2.036, allocations: 233.3 kB / 1.447 GB, free: 5.477 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00635/2.042, allocations: 3.112 MB / 1.45 GB, free: 2.309 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.542e-05/2.042, allocations: 27.98 kB / 1.45 GB, free: 2.281 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.36e-05/2.042, allocations: 0 / 1.45 GB, free: 2.281 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00427/2.047, allocations: 2.658 MB / 1.453 GB, free: 15.55 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01376/2.06, allocations: 6.222 MB / 1.459 GB, free: 9.293 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/2.06, allocations: 0 / 1.459 GB, free: 9.293 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002686/2.063, allocations: 0.5423 MB / 1.459 GB, free: 8.75 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.071e-05/2.063, allocations: 8 kB / 1.459 GB, free: 8.742 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002839/2.063, allocations: 67.97 kB / 1.459 GB, free: 8.676 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.697e-05/2.063, allocations: 11.94 kB / 1.459 GB, free: 8.664 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/2.063, allocations: 0 / 1.459 GB, free: 8.664 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008537/2.072, allocations: 4.573 MB / 1.464 GB, free: 4.012 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00266/2.075, allocations: 0.6032 MB / 1.464 GB, free: 3.387 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001012/2.076, allocations: 63.86 kB / 1.465 GB, free: 3.324 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003517/2.079, allocations: 227.4 kB / 1.465 GB, free: 3.102 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004365/2.08, allocations: 162 kB / 1.465 GB, free: 2.941 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002471/2.08, allocations: 83.97 kB / 1.465 GB, free: 2.859 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002382/2.082, allocations: 0.9462 MB / 1.466 GB, free: 1.918 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.3e-07/2.082, allocations: 0 / 1.466 GB, free: 1.918 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.004692/2.087, allocations: 0.9745 MB / 1.467 GB, free: 0.9414 MB / 1.076 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.009865/2.097, allocations: 5.393 MB / 1.472 GB, free: 11.47 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.01413/2.111, allocations: 5.532 MB / 1.478 GB, free: 5.91 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 8.756e-06/2.111, allocations: 0 / 1.478 GB, free: 5.91 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.002858/2.114, allocations: 1.512 MB / 1.479 GB, free: 4.395 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008098/2.122, allocations: 1.364 MB / 1.48 GB, free: 3.066 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04579/2.168, allocations: 22.38 MB / 1.502 GB, free: 11.4 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002564/2.171, allocations: 1.899 MB / 1.504 GB, free: 9.469 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.004209/2.175, allocations: 0.8397 MB / 1.505 GB, free: 8.625 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002313/2.177, allocations: 1.093 MB / 1.506 GB, free: 7.531 MB / 1.123 GB Notification: Performance of SimCode: time 1.453e-06/2.177, allocations: 4 kB / 1.506 GB, free: 7.527 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1124/2.29, allocations: 67.24 MB / 1.572 GB, free: 4.996 MB / 1.186 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001996/2.29, allocations: 211.9 kB / 1.572 GB, free: 4.742 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.364/6.654, allocations: 1.375 kB / 1.572 GB, free: 4.742 MB / 1.186 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)