Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.476/1.476, allocations: 287.4 MB / 302.6 MB, free: 8.23 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009059/0.0009057, allocations: 186.4 kB / 371.1 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.077/1.077, allocations: 205.4 MB / 0.6298 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006225/0.0006224, allocations: 103.7 kB / 0.7431 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003074/0.0003075, allocations: 11.34 kB / 0.8662 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.138, allocations: 115.3 MB / 0.9787 GB, free: 28.11 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.5067/0.6447, allocations: 269.5 MB / 1.242 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.01876/0.6635, allocations: 15.83 MB / 1.257 GB, free: 14.36 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001868/0.6654, allocations: 59.62 kB / 1.257 GB, free: 14.3 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.002809/0.6682, allocations: 1.235 MB / 1.259 GB, free: 13.06 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.00965/0.6778, allocations: 4.622 MB / 1.263 GB, free: 8.422 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.004672/0.6825, allocations: 2.053 MB / 1.265 GB, free: 6.371 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.008116/0.6906, allocations: 9.338 MB / 1.274 GB, free: 13 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002179/0.6928, allocations: 2.054 MB / 1.276 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002696/0.6955, allocations: 2.393 MB / 1.279 GB, free: 8.504 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002439/0.698, allocations: 2.62 MB / 1.281 GB, free: 5.875 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0002858/0.6983, allocations: 156 kB / 1.281 GB, free: 5.723 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006291/0.7046, allocations: 3.059 MB / 1.284 GB, free: 2.656 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0008875/0.7055, allocations: 1.149 MB / 1.285 GB, free: 1.504 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0005803/0.7061, allocations: 0.6641 MB / 1.286 GB, free: 0.832 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.00394/0.71, allocations: 4.532 MB / 1.291 GB, free: 12.29 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.71, allocations: 3.938 kB / 1.291 GB, free: 12.29 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.212e-06/0.71, allocations: 0 / 1.291 GB, free: 12.29 MB / 0.823 GB Notification: Performance of Transformations before backend: time 3.607e-05/0.7101, allocations: 0 / 1.291 GB, free: 12.29 MB / 0.823 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.006972/0.7171, allocations: 3.544 MB / 1.294 GB, free: 8.68 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.7171, allocations: 8.031 kB / 1.294 GB, free: 8.672 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003858/0.7175, allocations: 382.9 kB / 1.294 GB, free: 8.289 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004793/0.7223, allocations: 0.9055 MB / 1.295 GB, free: 7.379 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002486/0.7248, allocations: 1.826 MB / 1.297 GB, free: 5.496 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001142/0.7249, allocations: 189.1 kB / 1.297 GB, free: 5.309 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003365/0.7253, allocations: 263.9 kB / 1.297 GB, free: 5.051 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00457/0.7298, allocations: 3.307 MB / 1.301 GB, free: 1.641 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.123e-05/0.7299, allocations: 15.92 kB / 1.301 GB, free: 1.625 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002027/0.7301, allocations: 104 kB / 1.301 GB, free: 1.523 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001195/0.7302, allocations: 137.1 kB / 1.301 GB, free: 1.387 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005075/0.7353, allocations: 3.474 MB / 1.304 GB, free: 13.9 MB / 0.8386 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.01258/0.7479, allocations: 12.08 MB / 1.316 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003986/0.7519, allocations: 3.495 MB / 1.32 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002364/0.7543, allocations: 1.802 MB / 1.321 GB, free: 11.53 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00122/0.7555, allocations: 1.501 MB / 1.323 GB, free: 9.711 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.367e-05/0.7556, allocations: 64.69 kB / 1.323 GB, free: 9.637 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=278): time 3.376e-06/0.7556, allocations: 3.938 kB / 1.323 GB, free: 9.633 MB / 0.8542 GB Notification: Performance of matching and sorting (n=278): time 0.00546/0.761, allocations: 3.861 MB / 1.327 GB, free: 5.723 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/0.7611, allocations: 81.53 kB / 1.327 GB, free: 5.629 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001448/0.7626, allocations: 1.343 MB / 1.328 GB, free: 4.277 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.000131/0.7627, allocations: 77.7 kB / 1.328 GB, free: 4.195 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005645/0.7633, allocations: 0.9725 MB / 1.329 GB, free: 3.211 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006074/0.7639, allocations: 0.9471 MB / 1.33 GB, free: 2.25 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.764, allocations: 44 kB / 1.33 GB, free: 2.207 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.7641, allocations: 406.9 kB / 1.33 GB, free: 1.805 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001558/0.7657, allocations: 1.082 MB / 1.331 GB, free: 0.7188 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00174/0.7675, allocations: 1.37 MB / 1.333 GB, free: 15.27 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003458/0.7709, allocations: 2.631 MB / 1.335 GB, free: 12.55 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.7709, allocations: 0 / 1.335 GB, free: 12.55 MB / 0.8698 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.004014/0.775, allocations: 2.95 MB / 1.338 GB, free: 9.551 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.775, allocations: 8 kB / 1.338 GB, free: 9.543 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.775, allocations: 4.562 kB / 1.338 GB, free: 9.539 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.09e-05/0.775, allocations: 19.88 kB / 1.338 GB, free: 9.52 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00192/0.777, allocations: 0.5072 MB / 1.339 GB, free: 9.012 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.717e-05/0.777, allocations: 15.94 kB / 1.339 GB, free: 8.996 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001987/0.779, allocations: 337 kB / 1.339 GB, free: 8.668 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001491/0.7791, allocations: 84.78 kB / 1.339 GB, free: 8.586 MB / 0.8698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008211/0.78, allocations: 0.6455 MB / 1.34 GB, free: 7.93 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002868/0.7803, allocations: 237.3 kB / 1.34 GB, free: 7.695 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004348/0.7846, allocations: 3.088 MB / 1.343 GB, free: 4.551 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.115e-05/0.7847, allocations: 28 kB / 1.343 GB, free: 4.523 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.7847, allocations: 0 / 1.343 GB, free: 4.523 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003439/0.7881, allocations: 2.633 MB / 1.346 GB, free: 1.816 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008089/0.7962, allocations: 6.19 MB / 1.352 GB, free: 11.52 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.7962, allocations: 0 / 1.352 GB, free: 11.52 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00226/0.7985, allocations: 0.5462 MB / 1.352 GB, free: 10.97 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.752e-05/0.7985, allocations: 15.98 kB / 1.352 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001433/0.7987, allocations: 55.98 kB / 1.352 GB, free: 10.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.199e-05/0.7987, allocations: 11.94 kB / 1.352 GB, free: 10.89 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.7987, allocations: 0 / 1.352 GB, free: 10.89 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006013/0.8047, allocations: 4.78 MB / 1.357 GB, free: 6.027 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009134/0.8056, allocations: 0.5993 MB / 1.358 GB, free: 5.406 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002767/0.8059, allocations: 51.98 kB / 1.358 GB, free: 5.355 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00166/0.8076, allocations: 224.5 kB / 1.358 GB, free: 5.137 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000268/0.8079, allocations: 169.9 kB / 1.358 GB, free: 4.969 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000139/0.808, allocations: 83.97 kB / 1.358 GB, free: 4.887 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001041/0.8091, allocations: 0.922 MB / 1.359 GB, free: 3.969 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8091, allocations: 0 / 1.359 GB, free: 3.969 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001554/0.8106, allocations: 0.9823 MB / 1.36 GB, free: 2.984 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.U,volOut.dynBal.m,volOut.dynBal.mXi[1],oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,oriEasTop.mExc,volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mXi[1],volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mXi[1]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006797/0.8174, allocations: 5.59 MB / 1.365 GB, free: 13.3 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.00366/0.8211, allocations: 2.747 MB / 1.368 GB, free: 10.53 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.8211, allocations: 4 kB / 1.368 GB, free: 10.52 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.001803/0.8229, allocations: 1.505 MB / 1.37 GB, free: 9.016 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004738/0.8277, allocations: 1.271 MB / 1.371 GB, free: 7.754 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02232/0.85, allocations: 17.33 MB / 1.388 GB, free: 5.434 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001337/0.8513, allocations: 1.887 MB / 1.39 GB, free: 3.512 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.002554/0.8539, allocations: 0.8317 MB / 1.39 GB, free: 2.676 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001358/0.8553, allocations: 1.089 MB / 1.391 GB, free: 1.586 MB / 0.9167 GB Notification: Performance of SimCode: time 6.11e-07/0.8553, allocations: 0 / 1.391 GB, free: 1.586 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.581/1.436, allocations: 67.71 MB / 1.458 GB, free: 337.5 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001497/1.436, allocations: 203.8 kB / 1.458 GB, free: 337.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.438/4.874, allocations: 1.406 kB / 1.458 GB, free: 337.3 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)