Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.45/1.45, allocations: 288.4 MB / 303.6 MB, free: 8.047 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.000987/0.0009868, allocations: 178.2 kB / 372.2 MB, free: 10.16 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.154/1.154, allocations: 205.4 MB / 0.631 GB, free: 9.949 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.0006926/0.0006926, allocations: 98.23 kB / 0.7444 GB, free: 5.848 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003324/0.0003326, allocations: 12.12 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1463, allocations: 115.3 MB / 0.9802 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.5342/0.6805, allocations: 269.5 MB / 1.243 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.01988/0.7004, allocations: 15.83 MB / 1.259 GB, free: 13.1 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002869/0.7033, allocations: 59.62 kB / 1.259 GB, free: 13.04 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.00376/0.7071, allocations: 1.473 MB / 1.26 GB, free: 11.56 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.01197/0.7191, allocations: 5.592 MB / 1.266 GB, free: 5.949 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.005617/0.7247, allocations: 2.345 MB / 1.268 GB, free: 3.605 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.009264/0.734, allocations: 9.338 MB / 1.277 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003245/0.7372, allocations: 2.082 MB / 1.279 GB, free: 8.117 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004268/0.7415, allocations: 2.382 MB / 1.282 GB, free: 5.73 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004458/0.746, allocations: 2.628 MB / 1.284 GB, free: 3.098 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0007593/0.7468, allocations: 156 kB / 1.284 GB, free: 2.945 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01189/0.7587, allocations: 7.025 MB / 1.291 GB, free: 11.9 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.001721/0.7604, allocations: 1.157 MB / 1.292 GB, free: 10.74 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.00297/0.7634, allocations: 1.624 MB / 1.294 GB, free: 9.105 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.006688/0.7701, allocations: 4.977 MB / 1.299 GB, free: 4.117 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.7701, allocations: 0 / 1.299 GB, free: 4.117 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.513e-06/0.7701, allocations: 0 / 1.299 GB, free: 4.117 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001398/0.7703, allocations: 0 / 1.299 GB, free: 4.117 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.00866/0.779, allocations: 3.555 MB / 1.302 GB, free: 0.4961 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.779, allocations: 12.02 kB / 1.302 GB, free: 496 kB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007131/0.7797, allocations: 371 kB / 1.303 GB, free: 116 kB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005407/0.7851, allocations: 0.9135 MB / 1.303 GB, free: 15.19 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003225/0.7884, allocations: 1.818 MB / 1.305 GB, free: 13.32 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001454/0.7885, allocations: 193.1 kB / 1.305 GB, free: 13.12 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004836/0.789, allocations: 263.9 kB / 1.306 GB, free: 12.87 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005541/0.7946, allocations: 3.311 MB / 1.309 GB, free: 9.453 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.165e-05/0.7947, allocations: 4 kB / 1.309 GB, free: 9.449 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002503/0.7949, allocations: 112 kB / 1.309 GB, free: 9.34 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001783/0.7951, allocations: 145 kB / 1.309 GB, free: 9.195 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005469/0.8006, allocations: 3.463 MB / 1.313 GB, free: 5.719 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.01419/0.8148, allocations: 12.08 MB / 1.324 GB, free: 8.73 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004286/0.8191, allocations: 3.5 MB / 1.328 GB, free: 5.148 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002493/0.8216, allocations: 1.81 MB / 1.33 GB, free: 3.328 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001336/0.823, allocations: 1.505 MB / 1.331 GB, free: 1.508 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.123e-05/0.823, allocations: 64.75 kB / 1.331 GB, free: 1.434 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=278): time 4.017e-06/0.823, allocations: 0 / 1.331 GB, free: 1.434 MB / 0.8542 GB Notification: Performance of matching and sorting (n=278): time 0.005973/0.829, allocations: 3.85 MB / 1.335 GB, free: 13.54 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.022e-05/0.8291, allocations: 81.59 kB / 1.335 GB, free: 13.44 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001769/0.8309, allocations: 1.351 MB / 1.336 GB, free: 12.08 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.00017/0.831, allocations: 77.7 kB / 1.336 GB, free: 12 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006087/0.8317, allocations: 0.9725 MB / 1.337 GB, free: 11.02 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007431/0.8324, allocations: 0.9432 MB / 1.338 GB, free: 10.06 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/0.8325, allocations: 48 kB / 1.338 GB, free: 10.01 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.8327, allocations: 402.9 kB / 1.339 GB, free: 9.613 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001643/0.8343, allocations: 1.078 MB / 1.34 GB, free: 8.531 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001792/0.8362, allocations: 1.37 MB / 1.341 GB, free: 7.082 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003776/0.8399, allocations: 2.63 MB / 1.344 GB, free: 4.359 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.715e-06/0.84, allocations: 0 / 1.344 GB, free: 4.359 MB / 0.8698 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.004513/0.8445, allocations: 2.958 MB / 1.346 GB, free: 1.355 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.8445, allocations: 8 kB / 1.346 GB, free: 1.348 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/0.8445, allocations: 4 kB / 1.346 GB, free: 1.344 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.726e-05/0.8446, allocations: 15.94 kB / 1.346 GB, free: 1.328 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002047/0.8466, allocations: 0.5115 MB / 1.347 GB, free: 0.8164 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.773e-05/0.8467, allocations: 16 kB / 1.347 GB, free: 0.8008 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002399/0.8491, allocations: 328.6 kB / 1.347 GB, free: 492 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001735/0.8492, allocations: 87.98 kB / 1.347 GB, free: 404 kB / 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.001117/0.8504, allocations: 0.6456 MB / 1.348 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000461/0.8508, allocations: 229.3 kB / 1.348 GB, free: 15.51 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004515/0.8554, allocations: 3.097 MB / 1.351 GB, free: 12.35 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.977e-05/0.8554, allocations: 28 kB / 1.351 GB, free: 12.32 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.8554, allocations: 3.938 kB / 1.351 GB, free: 12.32 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003415/0.8588, allocations: 2.626 MB / 1.354 GB, free: 9.621 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008609/0.8674, allocations: 6.185 MB / 1.36 GB, free: 3.336 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.261e-06/0.8675, allocations: 3.938 kB / 1.36 GB, free: 3.332 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002333/0.8698, allocations: 0.5462 MB / 1.36 GB, free: 2.785 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.549e-05/0.8698, allocations: 12 kB / 1.36 GB, free: 2.773 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001438/0.87, allocations: 55.98 kB / 1.36 GB, free: 2.719 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.07e-05/0.87, allocations: 12 kB / 1.36 GB, free: 2.707 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.87, allocations: 0 / 1.36 GB, free: 2.707 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006265/0.8763, allocations: 4.784 MB / 1.365 GB, free: 13.84 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001172/0.8775, allocations: 0.6032 MB / 1.366 GB, free: 13.22 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000259/0.8777, allocations: 51.94 kB / 1.366 GB, free: 13.17 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001788/0.8795, allocations: 229.3 kB / 1.366 GB, free: 12.95 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002745/0.8798, allocations: 173.9 kB / 1.366 GB, free: 12.77 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001496/0.88, allocations: 79.98 kB / 1.366 GB, free: 12.7 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001104/0.8811, allocations: 0.922 MB / 1.367 GB, free: 11.78 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8811, allocations: 0 / 1.367 GB, free: 11.78 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.001792/0.8829, allocations: 0.9823 MB / 1.368 GB, free: 10.79 MB / 0.9011 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.006811/0.8897, allocations: 5.591 MB / 1.374 GB, free: 5.113 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.003875/0.8936, allocations: 2.755 MB / 1.376 GB, free: 2.328 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.8936, allocations: 0 / 1.376 GB, free: 2.328 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.001931/0.8956, allocations: 1.504 MB / 1.378 GB, free: 0.8203 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005491/0.9011, allocations: 1.272 MB / 1.379 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02339/0.9245, allocations: 17.32 MB / 1.396 GB, free: 13.24 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001347/0.9258, allocations: 1.89 MB / 1.398 GB, free: 11.32 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.00295/0.9288, allocations: 0.8395 MB / 1.399 GB, free: 10.47 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001377/0.9302, allocations: 1.081 MB / 1.4 GB, free: 9.391 MB / 0.9323 GB Notification: Performance of SimCode: time 7.62e-07/0.9302, allocations: 4 kB / 1.4 GB, free: 9.387 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5253/1.456, allocations: 68.4 MB / 1.466 GB, free: 329.2 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001398/1.456, allocations: 202.2 kB / 1.467 GB, free: 329 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.825/5.281, allocations: 6.656 kB / 1.467 GB, free: 329 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)