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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.006076/0.006076, allocations: 102.1 kB / 15.73 MB, free: 6.043 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.001441/0.001441, allocations: 188.1 kB / 16.67 MB, free: 5.977 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.286/1.286, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.238/2.238, allocations: 390.3 MB / 0.6648 GB, free: 228 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 62.69 kB / 0.9504 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.3072, allocations: 140.4 MB / 1.087 GB, free: 2 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 1.009/1.317, allocations: 295.1 MB / 1.376 GB, free: 15.6 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.02655/1.343, allocations: 17.01 MB / 1.392 GB, free: 5.848 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005307/1.348, allocations: 82 kB / 1.392 GB, free: 5.848 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.005878/1.354, allocations: 1.889 MB / 1.394 GB, free: 5.293 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01793/1.372, allocations: 6.434 MB / 1.4 GB, free: 2.941 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.008997/1.381, allocations: 2.948 MB / 1.403 GB, free: 0.9336 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01255/1.394, allocations: 7.706 MB / 1.411 GB, free: 12.56 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004839/1.399, allocations: 2.595 MB / 1.413 GB, free: 10.94 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006434/1.405, allocations: 2.764 MB / 1.416 GB, free: 9.41 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005996/1.411, allocations: 2.706 MB / 1.419 GB, free: 7.824 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.001266/1.413, allocations: 325.7 kB / 1.419 GB, free: 7.824 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01516/1.428, allocations: 6.17 MB / 1.425 GB, free: 4.395 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.002598/1.43, allocations: 1.345 MB / 1.426 GB, free: 3.465 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.005281/1.436, allocations: 1.875 MB / 1.428 GB, free: 2.289 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.01775/1.453, allocations: 6.896 MB / 1.435 GB, free: 12.01 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/1.454, allocations: 0 / 1.435 GB, free: 12.01 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.693e-06/1.454, allocations: 0 / 1.435 GB, free: 12.01 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0001804/1.454, allocations: 0 / 1.435 GB, free: 12.01 MB / 1.061 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.0126/1.466, allocations: 4.127 MB / 1.439 GB, free: 7.812 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/1.466, allocations: 12.03 kB / 1.439 GB, free: 7.801 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00094/1.467, allocations: 375 kB / 1.439 GB, free: 7.426 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00675/1.474, allocations: 0.9133 MB / 1.44 GB, free: 6.508 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004071/1.478, allocations: 1.912 MB / 1.442 GB, free: 4.539 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001262/1.478, allocations: 193.1 kB / 1.442 GB, free: 4.348 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004015/1.479, allocations: 264 kB / 1.443 GB, free: 4.09 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005449/1.484, allocations: 3.338 MB / 1.446 GB, free: 0.6484 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.786e-05/1.484, allocations: 4 kB / 1.446 GB, free: 0.6445 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002535/1.485, allocations: 108 kB / 1.446 GB, free: 0.5391 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001536/1.485, allocations: 137 kB / 1.446 GB, free: 412 kB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005627/1.49, allocations: 3.494 MB / 1.449 GB, free: 12.89 MB / 1.076 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.01617/1.507, allocations: 12.15 MB / 1.461 GB, free: 15.84 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004593/1.511, allocations: 3.497 MB / 1.465 GB, free: 12.26 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002775/1.514, allocations: 1.853 MB / 1.467 GB, free: 10.4 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001438/1.515, allocations: 1.493 MB / 1.468 GB, free: 8.594 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.594e-05/1.515, allocations: 68.75 kB / 1.468 GB, free: 8.516 MB / 1.092 GB Notification: Performance of pre-optimization done (n=278): time 6.422e-06/1.516, allocations: 3.984 kB / 1.468 GB, free: 8.512 MB / 1.092 GB Notification: Performance of matching and sorting (n=278): time 0.006333/1.522, allocations: 3.881 MB / 1.472 GB, free: 4.582 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.253e-05/1.522, allocations: 81.59 kB / 1.472 GB, free: 4.488 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002119/1.524, allocations: 1.379 MB / 1.473 GB, free: 3.102 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0002401/1.524, allocations: 81.7 kB / 1.473 GB, free: 3.016 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008295/1.525, allocations: 0.9765 MB / 1.474 GB, free: 2.027 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.001088/1.526, allocations: 0.947 MB / 1.475 GB, free: 1.066 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007047/1.527, allocations: 412.8 kB / 1.476 GB, free: 0.6562 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001687/1.527, allocations: 305.1 kB / 1.476 GB, free: 364 kB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001883/1.529, allocations: 1.098 MB / 1.477 GB, free: 15.25 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001981/1.531, allocations: 1.355 MB / 1.478 GB, free: 13.83 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003965/1.535, allocations: 2.658 MB / 1.481 GB, free: 11.08 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/1.535, allocations: 0 / 1.481 GB, free: 11.08 MB / 1.107 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005021/1.54, allocations: 2.97 MB / 1.484 GB, free: 8.066 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/1.54, allocations: 12.12 kB / 1.484 GB, free: 8.055 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/1.54, allocations: 4 kB / 1.484 GB, free: 8.051 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.269e-05/1.54, allocations: 16 kB / 1.484 GB, free: 8.035 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00212/1.542, allocations: 0.511 MB / 1.484 GB, free: 7.523 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.929e-05/1.542, allocations: 19.97 kB / 1.484 GB, free: 7.504 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002107/1.544, allocations: 182 kB / 1.485 GB, free: 7.324 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001489/1.545, allocations: 84 kB / 1.485 GB, free: 7.242 MB / 1.107 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.001225/1.546, allocations: 0.6455 MB / 1.485 GB, free: 6.586 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005115/1.546, allocations: 229.3 kB / 1.485 GB, free: 6.359 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005002/1.551, allocations: 3.116 MB / 1.489 GB, free: 3.184 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.078e-05/1.551, allocations: 28 kB / 1.489 GB, free: 3.156 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.186e-06/1.551, allocations: 0 / 1.489 GB, free: 3.156 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003606/1.555, allocations: 2.653 MB / 1.491 GB, free: 444 kB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009451/1.564, allocations: 6.205 MB / 1.497 GB, free: 10.12 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/1.564, allocations: 4 kB / 1.497 GB, free: 10.12 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002436/1.567, allocations: 0.5423 MB / 1.498 GB, free: 9.578 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.38e-05/1.567, allocations: 8 kB / 1.498 GB, free: 9.57 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001469/1.567, allocations: 63.92 kB / 1.498 GB, free: 9.508 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.24e-05/1.567, allocations: 12 kB / 1.498 GB, free: 9.496 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/1.567, allocations: 3.984 kB / 1.498 GB, free: 9.492 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00634/1.573, allocations: 4.573 MB / 1.502 GB, free: 4.836 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001375/1.575, allocations: 0.6071 MB / 1.503 GB, free: 4.207 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002895/1.575, allocations: 63.81 kB / 1.503 GB, free: 4.145 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001539/1.577, allocations: 61.39 kB / 1.503 GB, free: 4.086 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003055/1.577, allocations: 162 kB / 1.503 GB, free: 3.926 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001505/1.577, allocations: 87.97 kB / 1.503 GB, free: 3.84 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001214/1.578, allocations: 0.9462 MB / 1.504 GB, free: 2.898 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.41e-07/1.578, allocations: 0 / 1.504 GB, free: 2.898 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.002062/1.58, allocations: 0.9823 MB / 1.505 GB, free: 1.914 MB / 1.123 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.006924/1.587, allocations: 5.387 MB / 1.51 GB, free: 12.43 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.004018/1.591, allocations: 2.775 MB / 1.513 GB, free: 9.625 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/1.591, allocations: 0 / 1.513 GB, free: 9.625 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001917/1.593, allocations: 1.504 MB / 1.515 GB, free: 8.117 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005667/1.599, allocations: 1.349 MB / 1.516 GB, free: 6.793 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02714/1.626, allocations: 19.43 MB / 1.535 GB, free: 3.004 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001436/1.628, allocations: 1.903 MB / 1.537 GB, free: 1.066 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.002648/1.63, allocations: 0.8358 MB / 1.538 GB, free: 232 kB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001513/1.632, allocations: 1.093 MB / 1.539 GB, free: 15.13 MB / 1.17 GB Notification: Performance of SimCode: time 8.22e-07/1.632, allocations: 0 / 1.539 GB, free: 15.13 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3689/2.001, allocations: 68.25 MB / 1.605 GB, free: 11.54 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.29/14.29, allocations: 10.09 kB / 1.605 GB, free: 11.54 MB / 1.232 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)