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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0008797/0.0008798, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.005291/0.005291, allocations: 172.8 kB / 16.26 MB, free: 6.613 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: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.392/2.392, allocations: 462.6 MB / 0.7364 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002939/0.0002939, allocations: 17.62 kB / 0.9029 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.245/0.2453, allocations: 159.6 MB / 1.059 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.7424/0.9877, allocations: 288.9 MB / 1.341 GB, free: 1.234 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0178/1.006, allocations: 17.05 MB / 1.358 GB, free: 0.8281 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002501/1.008, allocations: 68.69 kB / 1.358 GB, free: 0.8281 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003235/1.011, allocations: 1.645 MB / 1.359 GB, free: 0.7852 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01216/1.023, allocations: 6.077 MB / 1.365 GB, free: 464 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005528/1.029, allocations: 2.673 MB / 1.368 GB, free: 368 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008857/1.038, allocations: 11.2 MB / 1.379 GB, free: 120 kB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002405/1.04, allocations: 2.131 MB / 1.381 GB, free: 15.32 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003255/1.044, allocations: 2.343 MB / 1.383 GB, free: 14.95 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003553/1.047, allocations: 2.726 MB / 1.386 GB, free: 13.81 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002556/1.047, allocations: 156.2 kB / 1.386 GB, free: 13.81 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01134/1.059, allocations: 7.153 MB / 1.393 GB, free: 10.48 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001118/1.06, allocations: 1.156 MB / 1.394 GB, free: 9.754 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001806/1.062, allocations: 1.695 MB / 1.396 GB, free: 8.754 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00891/1.071, allocations: 7.082 MB / 1.403 GB, free: 4.785 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/1.071, allocations: 0 / 1.403 GB, free: 4.785 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.423e-06/1.071, allocations: 3.531 kB / 1.403 GB, free: 4.785 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.584e-05/1.071, allocations: 4 kB / 1.403 GB, free: 4.781 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.007678/1.078, allocations: 3.551 MB / 1.406 GB, free: 2.395 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/1.078, allocations: 13.62 kB / 1.406 GB, free: 2.391 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004017/1.079, allocations: 371.6 kB / 1.406 GB, free: 2.117 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005241/1.084, allocations: 0.9159 MB / 1.407 GB, free: 1.695 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002431/1.086, allocations: 1.845 MB / 1.409 GB, free: 408 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001032/1.087, allocations: 195.1 kB / 1.409 GB, free: 320 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000328/1.087, allocations: 258.6 kB / 1.41 GB, free: 232 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004463/1.091, allocations: 3.34 MB / 1.413 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.682e-05/1.091, allocations: 0 / 1.413 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002412/1.092, allocations: 107.2 kB / 1.413 GB, free: 14.17 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001099/1.092, allocations: 141.7 kB / 1.413 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005025/1.097, allocations: 3.493 MB / 1.416 GB, free: 10.95 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.01245/1.109, allocations: 12.12 MB / 1.428 GB, free: 14.05 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004162/1.113, allocations: 3.499 MB / 1.432 GB, free: 10.47 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002467/1.116, allocations: 1.797 MB / 1.433 GB, free: 8.668 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001366/1.117, allocations: 1.504 MB / 1.435 GB, free: 6.855 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.654e-05/1.117, allocations: 60.75 kB / 1.435 GB, free: 6.785 MB / 1.045 GB Notification: Performance of pre-optimization done (n=278): time 3.777e-06/1.117, allocations: 0 / 1.435 GB, free: 6.785 MB / 1.045 GB Notification: Performance of matching and sorting (n=278): time 0.005809/1.123, allocations: 3.889 MB / 1.439 GB, free: 2.848 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.038e-05/1.123, allocations: 77.59 kB / 1.439 GB, free: 2.758 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00159/1.125, allocations: 1.387 MB / 1.44 GB, free: 1.363 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001521/1.125, allocations: 73.7 kB / 1.44 GB, free: 1.285 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006198/1.126, allocations: 0.9879 MB / 1.441 GB, free: 296 kB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007077/1.126, allocations: 0.9418 MB / 1.442 GB, free: 15.35 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002511/1.127, allocations: 194.6 kB / 1.442 GB, free: 15.16 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 9.394e-05/1.127, allocations: 317 kB / 1.443 GB, free: 14.84 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001614/1.128, allocations: 1.09 MB / 1.444 GB, free: 13.75 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001784/1.13, allocations: 1.36 MB / 1.445 GB, free: 12.32 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003645/1.134, allocations: 2.646 MB / 1.448 GB, free: 9.586 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/1.134, allocations: 4 kB / 1.448 GB, free: 9.582 MB / 1.061 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.004205/1.138, allocations: 2.974 MB / 1.451 GB, free: 6.562 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/1.138, allocations: 11.94 kB / 1.451 GB, free: 6.551 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/1.138, allocations: 4 kB / 1.451 GB, free: 6.547 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/1.138, allocations: 16 kB / 1.451 GB, free: 6.531 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001987/1.14, allocations: 0.5076 MB / 1.451 GB, free: 6.023 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.279e-05/1.14, allocations: 20 kB / 1.451 GB, free: 6.004 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002401/1.143, allocations: 381.6 kB / 1.451 GB, free: 5.629 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001415/1.143, allocations: 83.98 kB / 1.452 GB, free: 5.547 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.0009796/1.144, allocations: 0.6533 MB / 1.452 GB, free: 4.883 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003221/1.144, allocations: 229.3 kB / 1.452 GB, free: 4.656 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004722/1.149, allocations: 3.116 MB / 1.455 GB, free: 1.484 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.34e-05/1.149, allocations: 24 kB / 1.455 GB, free: 1.461 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/1.149, allocations: 0 / 1.455 GB, free: 1.461 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003647/1.152, allocations: 2.661 MB / 1.458 GB, free: 14.73 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008664/1.161, allocations: 6.218 MB / 1.464 GB, free: 8.469 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.201e-06/1.161, allocations: 0 / 1.464 GB, free: 8.469 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002306/1.163, allocations: 0.5423 MB / 1.465 GB, free: 7.926 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-05/1.163, allocations: 8 kB / 1.465 GB, free: 7.918 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001427/1.164, allocations: 67.91 kB / 1.465 GB, free: 7.852 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.828e-06/1.164, allocations: 8 kB / 1.465 GB, free: 7.844 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/1.164, allocations: 0 / 1.465 GB, free: 7.844 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006031/1.17, allocations: 4.565 MB / 1.469 GB, free: 3.199 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001078/1.171, allocations: 0.6071 MB / 1.47 GB, free: 2.57 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002645/1.171, allocations: 55.92 kB / 1.47 GB, free: 2.516 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001858/1.173, allocations: 224.2 kB / 1.47 GB, free: 2.297 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002921/1.173, allocations: 165.9 kB / 1.47 GB, free: 2.133 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001446/1.173, allocations: 83.97 kB / 1.47 GB, free: 2.051 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001143/1.174, allocations: 0.9461 MB / 1.471 GB, free: 1.109 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.6e-07/1.174, allocations: 0 / 1.471 GB, free: 1.109 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001867/1.176, allocations: 0.9862 MB / 1.472 GB, free: 124 kB / 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.006707/1.183, allocations: 5.401 MB / 1.477 GB, free: 10.64 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.003836/1.187, allocations: 2.762 MB / 1.48 GB, free: 7.848 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/1.187, allocations: 5.125 kB / 1.48 GB, free: 7.844 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001864/1.189, allocations: 1.511 MB / 1.482 GB, free: 6.328 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005286/1.194, allocations: 1.284 MB / 1.483 GB, free: 5.059 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02905/1.223, allocations: 22.67 MB / 1.505 GB, free: 13.09 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00136/1.225, allocations: 1.895 MB / 1.507 GB, free: 11.16 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.002736/1.227, allocations: 0.8514 MB / 1.508 GB, free: 10.3 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001394/1.229, allocations: 1.089 MB / 1.509 GB, free: 9.215 MB / 1.123 GB Notification: Performance of SimCode: time 8.01e-07/1.229, allocations: 0 / 1.509 GB, free: 9.215 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1686/1.397, allocations: 64.74 MB / 1.572 GB, free: 9.184 MB / 1.186 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002159/1.398, allocations: 218.2 kB / 1.572 GB, free: 8.922 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.319/4.717, allocations: 0 / 1.572 GB, free: 8.922 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)