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.001187/0.001187, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001777/0.001777, allocations: 190.2 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 13.54/13.54, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 38.84/38.84, allocations: 469.8 MB / 0.7421 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001674/0.001674, allocations: 65.58 kB / 0.9082 GB, free: 34.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.2991, allocations: 159.1 MB / 1.064 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.9204/1.22, allocations: 291.7 MB / 1.348 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01973/1.239, allocations: 16.95 MB / 1.365 GB, free: 2.488 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004061/1.243, allocations: 71.03 kB / 1.365 GB, free: 2.488 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003898/1.247, allocations: 1.703 MB / 1.367 GB, free: 2.109 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01309/1.26, allocations: 6.052 MB / 1.373 GB, free: 0.7969 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006886/1.267, allocations: 2.723 MB / 1.375 GB, free: 15.88 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.008569/1.276, allocations: 7.701 MB / 1.383 GB, free: 13.56 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003357/1.279, allocations: 2.541 MB / 1.385 GB, free: 12.46 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005211/1.284, allocations: 2.812 MB / 1.388 GB, free: 11.39 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00533/1.29, allocations: 2.876 MB / 1.391 GB, free: 10.34 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0007993/1.291, allocations: 326.9 kB / 1.391 GB, free: 10.34 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01116/1.302, allocations: 6.433 MB / 1.397 GB, free: 7.594 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.002093/1.304, allocations: 1.338 MB / 1.399 GB, free: 6.688 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.004004/1.308, allocations: 1.884 MB / 1.401 GB, free: 5.523 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01078/1.319, allocations: 7.285 MB / 1.408 GB, free: 1.387 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/1.319, allocations: 0 / 1.408 GB, free: 1.387 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.016e-06/1.319, allocations: 2.938 kB / 1.408 GB, free: 1.387 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.018e-05/1.319, allocations: 3.938 kB / 1.408 GB, free: 1.383 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.008422/1.327, allocations: 4.128 MB / 1.412 GB, free: 14.63 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/1.327, allocations: 8.375 kB / 1.412 GB, free: 14.63 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004215/1.328, allocations: 377.1 kB / 1.412 GB, free: 14.35 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005535/1.333, allocations: 0.9164 MB / 1.413 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002583/1.336, allocations: 1.838 MB / 1.415 GB, free: 12.64 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001117/1.336, allocations: 194.3 kB / 1.415 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003061/1.336, allocations: 257.9 kB / 1.415 GB, free: 12.46 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005006/1.341, allocations: 3.337 MB / 1.419 GB, free: 9.133 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.381e-05/1.341, allocations: 11.89 kB / 1.419 GB, free: 9.121 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002381/1.342, allocations: 111.4 kB / 1.419 GB, free: 9.016 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001348/1.342, allocations: 133.1 kB / 1.419 GB, free: 8.883 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005392/1.347, allocations: 3.502 MB / 1.422 GB, free: 5.367 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.01417/1.361, allocations: 12.08 MB / 1.434 GB, free: 8.508 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004392/1.366, allocations: 3.509 MB / 1.437 GB, free: 4.922 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002557/1.368, allocations: 1.813 MB / 1.439 GB, free: 3.109 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001478/1.37, allocations: 1.49 MB / 1.441 GB, free: 1.312 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.929e-05/1.37, allocations: 60.75 kB / 1.441 GB, free: 1.242 MB / 1.045 GB Notification: Performance of pre-optimization done (n=278): time 3.797e-06/1.37, allocations: 4 kB / 1.441 GB, free: 1.238 MB / 1.045 GB Notification: Performance of matching and sorting (n=278): time 0.006111/1.376, allocations: 3.885 MB / 1.444 GB, free: 13.3 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.113e-05/1.376, allocations: 81.53 kB / 1.445 GB, free: 13.21 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001648/1.378, allocations: 1.387 MB / 1.446 GB, free: 11.82 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001548/1.378, allocations: 73.7 kB / 1.446 GB, free: 11.74 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007129/1.379, allocations: 0.9804 MB / 1.447 GB, free: 10.75 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007821/1.379, allocations: 0.9499 MB / 1.448 GB, free: 9.805 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006055/1.38, allocations: 404.9 kB / 1.448 GB, free: 9.402 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001056/1.38, allocations: 309.1 kB / 1.449 GB, free: 9.098 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00167/1.382, allocations: 1.098 MB / 1.45 GB, free: 7.996 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001888/1.384, allocations: 1.355 MB / 1.451 GB, free: 6.574 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003757/1.387, allocations: 2.642 MB / 1.454 GB, free: 3.84 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/1.387, allocations: 4 kB / 1.454 GB, free: 3.836 MB / 1.061 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.00447/1.392, allocations: 2.974 MB / 1.456 GB, free: 0.8164 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/1.392, allocations: 8 kB / 1.456 GB, free: 0.8086 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/1.392, allocations: 4 kB / 1.456 GB, free: 0.8047 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.685e-05/1.392, allocations: 16 kB / 1.456 GB, free: 0.7891 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002068/1.394, allocations: 0.5154 MB / 1.457 GB, free: 280 kB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.259e-05/1.394, allocations: 18.11 kB / 1.457 GB, free: 264 kB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002321/1.396, allocations: 377.8 kB / 1.457 GB, free: 15.88 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001555/1.397, allocations: 83.98 kB / 1.457 GB, free: 15.8 MB / 1.076 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.0009804/1.398, allocations: 0.6494 MB / 1.458 GB, free: 15.14 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003623/1.398, allocations: 229.3 kB / 1.458 GB, free: 14.91 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004817/1.403, allocations: 3.116 MB / 1.461 GB, free: 11.74 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.147e-05/1.403, allocations: 27.94 kB / 1.461 GB, free: 11.71 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/1.403, allocations: 0 / 1.461 GB, free: 11.71 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003752/1.407, allocations: 2.661 MB / 1.464 GB, free: 8.98 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008863/1.415, allocations: 6.212 MB / 1.47 GB, free: 2.73 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/1.415, allocations: 0 / 1.47 GB, free: 2.73 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002417/1.418, allocations: 0.5462 MB / 1.471 GB, free: 2.184 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.224e-05/1.418, allocations: 8 kB / 1.471 GB, free: 2.176 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001514/1.418, allocations: 67.92 kB / 1.471 GB, free: 2.113 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.114e-05/1.418, allocations: 8 kB / 1.471 GB, free: 2.105 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/1.418, allocations: 0 / 1.471 GB, free: 2.105 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006331/1.424, allocations: 4.573 MB / 1.475 GB, free: 13.45 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009605/1.425, allocations: 0.611 MB / 1.476 GB, free: 12.82 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003042/1.426, allocations: 52 kB / 1.476 GB, free: 12.77 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001864/1.428, allocations: 225.9 kB / 1.476 GB, free: 12.55 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003152/1.428, allocations: 165.9 kB / 1.476 GB, free: 12.39 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001618/1.428, allocations: 79.98 kB / 1.476 GB, free: 12.31 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001164/1.429, allocations: 0.95 MB / 1.477 GB, free: 11.36 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.31e-07/1.429, allocations: 0 / 1.477 GB, free: 11.36 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001819/1.431, allocations: 0.9823 MB / 1.478 GB, free: 10.38 MB / 1.092 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.007093/1.438, allocations: 5.393 MB / 1.483 GB, free: 4.906 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.01096/1.449, allocations: 5.538 MB / 1.489 GB, free: 15.34 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/1.449, allocations: 1.125 kB / 1.489 GB, free: 15.34 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001995/1.451, allocations: 1.507 MB / 1.49 GB, free: 13.83 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004849/1.456, allocations: 1.356 MB / 1.492 GB, free: 12.5 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03077/1.487, allocations: 22.38 MB / 1.513 GB, free: 4.824 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001527/1.488, allocations: 1.899 MB / 1.515 GB, free: 2.891 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.00267/1.491, allocations: 0.8475 MB / 1.516 GB, free: 2.039 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001489/1.492, allocations: 1.089 MB / 1.517 GB, free: 0.9492 MB / 1.123 GB Notification: Performance of SimCode: time 3.11e-07/1.492, allocations: 0 / 1.517 GB, free: 0.9492 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2968/1.789, allocations: 67.23 MB / 1.583 GB, free: 14.48 MB / 1.201 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002491/1.79, allocations: 210.1 kB / 1.583 GB, free: 14.23 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.789/5.578, allocations: 0 / 1.583 GB, free: 14.23 MB / 1.201 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)