Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.ReverseBuoyancy,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy",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.001154/0.001154, 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.001132/0.001132, allocations: 195.7 kB / 16.26 MB, free: 6.625 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.144/1.144, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.203/2.203, allocations: 437 MB / 0.7101 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001133/0.001133, allocations: 67.91 kB / 0.8688 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4677/0.4688, allocations: 151.6 MB / 1.017 GB, free: 2.758 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.6788/1.148, allocations: 310.6 MB / 1.32 GB, free: 1.664 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01916/1.167, allocations: 18.36 MB / 1.338 GB, free: 1.449 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00254/1.169, allocations: 78.66 kB / 1.338 GB, free: 1.449 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003581/1.173, allocations: 1.933 MB / 1.34 GB, free: 1.398 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0126/1.186, allocations: 6.887 MB / 1.347 GB, free: 1.035 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005911/1.192, allocations: 2.974 MB / 1.35 GB, free: 0.9219 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007472/1.199, allocations: 9.1 MB / 1.359 GB, free: 0.8203 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002808/1.202, allocations: 3.047 MB / 1.362 GB, free: 364 kB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004031/1.206, allocations: 3.359 MB / 1.365 GB, free: 72 kB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004058/1.21, allocations: 3.428 MB / 1.368 GB, free: 15.25 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0005063/1.21, allocations: 402.2 kB / 1.369 GB, free: 15.25 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01084/1.221, allocations: 7.298 MB / 1.376 GB, free: 13.94 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001468/1.223, allocations: 1.691 MB / 1.377 GB, free: 13.28 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002854/1.226, allocations: 2.302 MB / 1.38 GB, free: 12.03 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01017/1.236, allocations: 8.631 MB / 1.388 GB, free: 7.965 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/1.236, allocations: 4 kB / 1.388 GB, free: 7.961 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.263e-06/1.236, allocations: 0 / 1.388 GB, free: 7.961 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.272e-05/1.236, allocations: 0 / 1.388 GB, free: 7.961 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: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.009978/1.246, allocations: 4.989 MB / 1.393 GB, free: 4.73 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/1.246, allocations: 12.47 kB / 1.393 GB, free: 4.727 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004828/1.246, allocations: 463.5 kB / 1.393 GB, free: 4.387 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005614/1.252, allocations: 1.008 MB / 1.394 GB, free: 3.918 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002822/1.255, allocations: 2.16 MB / 1.396 GB, free: 2.52 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001327/1.255, allocations: 241.1 kB / 1.397 GB, free: 2.414 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003881/1.255, allocations: 332.1 kB / 1.397 GB, free: 2.305 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005754/1.261, allocations: 4.241 MB / 1.401 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.14e-05/1.261, allocations: 7.906 kB / 1.401 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002878/1.262, allocations: 135.8 kB / 1.401 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001437/1.262, allocations: 165.1 kB / 1.401 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006609/1.268, allocations: 4.783 MB / 1.406 GB, free: 9.949 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.01517/1.284, allocations: 14.38 MB / 1.42 GB, free: 10.89 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005345/1.289, allocations: 4.556 MB / 1.425 GB, free: 6.348 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003034/1.292, allocations: 2.45 MB / 1.427 GB, free: 3.895 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001535/1.293, allocations: 1.61 MB / 1.429 GB, free: 1.965 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.715e-05/1.294, allocations: 73.64 kB / 1.429 GB, free: 1.883 MB / 1.045 GB Notification: Performance of pre-optimization done (n=392): time 5.12e-06/1.294, allocations: 3 kB / 1.429 GB, free: 1.883 MB / 1.045 GB Notification: Performance of matching and sorting (n=392): time 0.007914/1.301, allocations: 5.535 MB / 1.434 GB, free: 12.32 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.756e-05/1.302, allocations: 90.48 kB / 1.434 GB, free: 12.22 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001834/1.303, allocations: 1.688 MB / 1.436 GB, free: 10.49 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0002004/1.304, allocations: 93.7 kB / 1.436 GB, free: 10.39 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006929/1.304, allocations: 1.132 MB / 1.437 GB, free: 9.25 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008967/1.305, allocations: 1.325 MB / 1.438 GB, free: 7.938 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007846/1.306, allocations: 0.5468 MB / 1.439 GB, free: 7.383 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 8.502e-05/1.306, allocations: 301.1 kB / 1.439 GB, free: 7.086 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002183/1.308, allocations: 1.567 MB / 1.441 GB, free: 5.52 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00243/1.311, allocations: 1.916 MB / 1.443 GB, free: 3.535 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004915/1.316, allocations: 3.764 MB / 1.446 GB, free: 15.71 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.765e-06/1.316, allocations: 4 kB / 1.446 GB, free: 15.7 MB / 1.076 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.005722/1.321, allocations: 4.176 MB / 1.45 GB, free: 11.53 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/1.321, allocations: 4 kB / 1.45 GB, free: 11.52 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/1.321, allocations: 8 kB / 1.45 GB, free: 11.52 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.555e-05/1.321, allocations: 16 kB / 1.45 GB, free: 11.5 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002678/1.324, allocations: 0.7069 MB / 1.451 GB, free: 10.84 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.733e-05/1.324, allocations: 23.09 kB / 1.451 GB, free: 10.82 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002708/1.327, allocations: 472.9 kB / 1.451 GB, free: 10.35 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002174/1.327, allocations: 114.2 kB / 1.452 GB, free: 10.24 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (430): * Single equations (assignments): 430 * 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.001133/1.328, allocations: 0.8026 MB / 1.452 GB, free: 9.469 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004425/1.329, allocations: 292.5 kB / 1.453 GB, free: 9.18 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006315/1.335, allocations: 4.439 MB / 1.457 GB, free: 4.707 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.393e-05/1.335, allocations: 39.94 kB / 1.457 GB, free: 4.668 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/1.335, allocations: 0 / 1.457 GB, free: 4.668 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004886/1.34, allocations: 3.803 MB / 1.461 GB, free: 0.8008 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01129/1.351, allocations: 8.629 MB / 1.469 GB, free: 8.121 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.538e-06/1.351, allocations: 3.984 kB / 1.469 GB, free: 8.117 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002941/1.354, allocations: 0.7213 MB / 1.47 GB, free: 7.43 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.475e-05/1.354, allocations: 15.09 kB / 1.47 GB, free: 7.418 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000199/1.354, allocations: 91.91 kB / 1.47 GB, free: 7.328 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.398e-05/1.354, allocations: 16 kB / 1.47 GB, free: 7.312 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/1.354, allocations: 4 kB / 1.47 GB, free: 7.309 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008196/1.363, allocations: 6.561 MB / 1.476 GB, free: 0.6562 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001212/1.364, allocations: 0.7972 MB / 1.477 GB, free: 15.84 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003768/1.364, allocations: 78.75 kB / 1.477 GB, free: 15.76 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002138/1.366, allocations: 270.3 kB / 1.478 GB, free: 15.5 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004096/1.367, allocations: 230.7 kB / 1.478 GB, free: 15.27 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002102/1.367, allocations: 116 kB / 1.478 GB, free: 15.16 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001306/1.368, allocations: 1.153 MB / 1.479 GB, free: 13.98 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.81e-07/1.368, allocations: 0 / 1.479 GB, free: 13.98 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.002113/1.371, allocations: 1.224 MB / 1.48 GB, free: 12.76 MB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 20 (volBotEas.dynBal.medium.Xi[1],volBotEas.dynBal.U,volBotEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volBotWes.dynBal.medium.Xi[1],volBotWes.dynBal.U,volBotWes.dynBal.m,oriEasTop.mExc,volTopEas.dynBal.medium.Xi[1],volTopEas.dynBal.U,volTopEas.dynBal.m,volTopWes.dynBal.medium.Xi[1],volTopWes.dynBal.U,volTopWes.dynBal.m,dooOpeCloTop.mExcAB,dooOpeCloTop.mExcBA) * 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 (392): * Single equations (assignments): 392 * 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.009087/1.38, allocations: 7.497 MB / 1.487 GB, free: 5.23 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.01863/1.398, allocations: 9.833 MB / 1.497 GB, free: 11.48 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/1.398, allocations: 8.062 kB / 1.497 GB, free: 11.47 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.002592/1.401, allocations: 2.151 MB / 1.499 GB, free: 9.395 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005575/1.406, allocations: 1.601 MB / 1.501 GB, free: 7.832 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03724/1.444, allocations: 30.19 MB / 1.53 GB, free: 8.129 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001612/1.445, allocations: 2.209 MB / 1.532 GB, free: 5.883 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.003522/1.449, allocations: 1.204 MB / 1.534 GB, free: 4.672 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001759/1.451, allocations: 1.39 MB / 1.535 GB, free: 3.281 MB / 1.154 GB Notification: Performance of SimCode: time 6.41e-07/1.451, allocations: 0 / 1.535 GB, free: 3.281 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1023/1.553, allocations: 84.31 MB / 1.617 GB, free: 4 kB / 1.232 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002248/1.553, allocations: 243.6 kB / 1.617 GB, free: 15.75 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.636/5.189, allocations: 2.906 kB / 1.618 GB, free: 15.75 MB / 1.248 GB (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.mat --tempDir=temp_Buildings_10_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.fmu > Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)