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.002096/0.002096, 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.003247/0.003247, allocations: 192.8 kB / 16.25 MB, free: 6.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.48/2.48, allocations: 222.9 MB / 239.9 MB, free: 4.539 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 4.19/4.19, allocations: 390.2 MB / 0.6644 GB, free: 0.5039 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002976/0.002976, allocations: 63.91 kB / 0.8122 GB, free: 14.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.238/1.241, allocations: 140.4 MB / 0.9492 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.6095/1.851, allocations: 291.7 MB / 1.234 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 1.282/3.133, allocations: 16.93 MB / 1.251 GB, free: 2.25 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008209/3.141, allocations: 68.62 kB / 1.251 GB, free: 2.25 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01064/3.152, allocations: 1.702 MB / 1.252 GB, free: 2.25 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.03703/3.189, allocations: 6.054 MB / 1.258 GB, free: 2.051 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01844/3.207, allocations: 2.71 MB / 1.261 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.02768/3.235, allocations: 7.699 MB / 1.268 GB, free: 1.969 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01159/3.247, allocations: 2.544 MB / 1.271 GB, free: 17.68 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01527/3.262, allocations: 2.812 MB / 1.274 GB, free: 17.68 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01338/3.276, allocations: 2.872 MB / 1.276 GB, free: 17.68 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.002736/3.278, allocations: 326.3 kB / 1.277 GB, free: 17.68 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02431/3.303, allocations: 6.429 MB / 1.283 GB, free: 17.62 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.004876/3.308, allocations: 1.345 MB / 1.284 GB, free: 17.62 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.009522/3.317, allocations: 1.882 MB / 1.286 GB, free: 17.62 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.03058/3.348, allocations: 7.287 MB / 1.293 GB, free: 16.92 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 1.36e-05/3.348, allocations: 1.781 kB / 1.293 GB, free: 16.92 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.838e-06/3.348, allocations: 1.156 kB / 1.293 GB, free: 16.92 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002375/3.348, allocations: 0 / 1.293 GB, free: 16.92 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.02369/3.372, allocations: 4.125 MB / 1.297 GB, free: 15.27 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 7.797e-05/3.372, allocations: 8.469 kB / 1.297 GB, free: 15.27 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001581/3.374, allocations: 373.7 kB / 1.298 GB, free: 15.22 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01269/3.386, allocations: 0.9197 MB / 1.299 GB, free: 15.04 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009434/3.396, allocations: 1.837 MB / 1.3 GB, free: 14.53 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006301/3.397, allocations: 194.8 kB / 1.301 GB, free: 14.52 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001892/3.399, allocations: 262.1 kB / 1.301 GB, free: 14.52 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01329/3.412, allocations: 3.338 MB / 1.304 GB, free: 14.23 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001705/3.412, allocations: 6.812 kB / 1.304 GB, free: 14.22 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000805/3.413, allocations: 107.8 kB / 1.304 GB, free: 14.22 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003251/3.413, allocations: 137.9 kB / 1.304 GB, free: 14.21 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01314/3.426, allocations: 3.496 MB / 1.308 GB, free: 14.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.03694/3.463, allocations: 12.09 MB / 1.32 GB, free: 8.219 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0095/3.473, allocations: 3.501 MB / 1.323 GB, free: 7.641 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005809/3.479, allocations: 1.816 MB / 1.325 GB, free: 7.609 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002957/3.482, allocations: 1.49 MB / 1.326 GB, free: 6.012 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001098/3.482, allocations: 66.14 kB / 1.326 GB, free: 5.969 MB / 1.014 GB Notification: Performance of pre-optimization done (n=278): time 1.104e-05/3.482, allocations: 0 / 1.326 GB, free: 5.969 MB / 1.014 GB Notification: Performance of matching and sorting (n=278): time 0.01342/3.496, allocations: 3.887 MB / 1.33 GB, free: 5.715 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/3.496, allocations: 79.44 kB / 1.33 GB, free: 5.648 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004311/3.5, allocations: 1.381 MB / 1.332 GB, free: 5.484 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0007482/3.501, allocations: 75.33 kB / 1.332 GB, free: 5.453 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001409/3.502, allocations: 0.9883 MB / 1.333 GB, free: 5.066 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.002439/3.505, allocations: 0.9438 MB / 1.333 GB, free: 4.445 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002427/3.507, allocations: 406.2 kB / 1.334 GB, free: 4.422 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002147/3.507, allocations: 305.2 kB / 1.334 GB, free: 4.125 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003855/3.511, allocations: 1.095 MB / 1.335 GB, free: 4.117 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004578/3.516, allocations: 1.36 MB / 1.337 GB, free: 3.934 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008682/3.525, allocations: 2.65 MB / 1.339 GB, free: 3.707 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.475e-05/3.525, allocations: 7.469 kB / 1.339 GB, free: 3.703 MB / 1.014 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.01187/3.537, allocations: 2.971 MB / 1.342 GB, free: 3.469 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 6.864e-05/3.537, allocations: 13 kB / 1.342 GB, free: 3.465 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-05/3.537, allocations: 5.812 kB / 1.342 GB, free: 3.465 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.236e-05/3.537, allocations: 16.47 kB / 1.342 GB, free: 3.465 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004425/3.541, allocations: 0.5144 MB / 1.343 GB, free: 3.461 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-05/3.541, allocations: 18.59 kB / 1.343 GB, free: 3.461 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007078/3.549, allocations: 380.9 kB / 1.343 GB, free: 3.348 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008463/3.549, allocations: 81.81 kB / 1.343 GB, free: 3.348 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.003943/3.553, allocations: 0.6449 MB / 1.344 GB, free: 3.23 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001955/3.555, allocations: 233.7 kB / 1.344 GB, free: 3.113 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01343/3.569, allocations: 3.118 MB / 1.347 GB, free: 2.926 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.633e-05/3.569, allocations: 26.53 kB / 1.347 GB, free: 2.926 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.428e-05/3.569, allocations: 0 / 1.347 GB, free: 2.926 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008712/3.578, allocations: 2.65 MB / 1.35 GB, free: 2.68 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02527/3.603, allocations: 6.225 MB / 1.356 GB, free: 1.332 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.093e-05/3.603, allocations: 2.469 kB / 1.356 GB, free: 1.332 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005601/3.609, allocations: 0.5436 MB / 1.356 GB, free: 1.258 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.65e-05/3.609, allocations: 8.719 kB / 1.356 GB, free: 1.258 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000709/3.61, allocations: 60.3 kB / 1.356 GB, free: 1.25 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.442e-05/3.61, allocations: 8 kB / 1.356 GB, free: 1.242 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/3.61, allocations: 0 / 1.356 GB, free: 1.242 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01552/3.625, allocations: 4.576 MB / 1.361 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003308/3.629, allocations: 0.6071 MB / 1.361 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001211/3.63, allocations: 55 kB / 1.361 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005044/3.635, allocations: 227.5 kB / 1.362 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009316/3.636, allocations: 162 kB / 1.362 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005944/3.637, allocations: 79.97 kB / 1.362 GB, free: 12.02 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.003467/3.64, allocations: 0.9501 MB / 1.363 GB, free: 11.08 MB / 1.029 GB Notification: Performance of sort global known variables: time 6.12e-07/3.64, allocations: 0 / 1.363 GB, free: 11.08 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.006301/3.647, allocations: 0.9823 MB / 1.364 GB, free: 10.09 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.01857/3.665, allocations: 5.387 MB / 1.369 GB, free: 4.664 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.02707/3.692, allocations: 5.534 MB / 1.374 GB, free: 15.16 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.638e-05/3.692, allocations: 3.938 kB / 1.374 GB, free: 15.16 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.005377/3.698, allocations: 1.514 MB / 1.376 GB, free: 13.69 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01469/3.713, allocations: 1.347 MB / 1.377 GB, free: 12.38 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08312/3.796, allocations: 22.41 MB / 1.399 GB, free: 4.809 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004016/3.8, allocations: 1.895 MB / 1.401 GB, free: 2.879 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.007511/3.807, allocations: 0.8397 MB / 1.402 GB, free: 2.035 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004101/3.812, allocations: 1.089 MB / 1.403 GB, free: 0.9453 MB / 1.061 GB Notification: Performance of SimCode: time 2.094e-06/3.812, allocations: 4 kB / 1.403 GB, free: 0.9414 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2144/4.026, allocations: 67.24 MB / 1.468 GB, free: 14.61 MB / 1.139 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004049/4.026, allocations: 205.8 kB / 1.469 GB, free: 14.36 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.815/11.84, allocations: 3.938 kB / 1.469 GB, free: 14.35 MB / 1.139 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)