Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.ReverseBuoyancy,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="Buildings_9_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.00842/0.00842, allocations: 101.5 kB / 15.73 MB, free: 5.98 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.001904/0.001904, allocations: 190.5 kB / 16.67 MB, free: 5.918 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.312/1.312, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.126/2.126, allocations: 390.3 MB / 0.6648 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 55.91 kB / 0.9504 GB, free: 8.168 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8751/0.8763, allocations: 140.4 MB / 1.087 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.3549/1.231, allocations: 314.1 MB / 1.394 GB, free: 3.152 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.03039/1.262, allocations: 18.47 MB / 1.412 GB, free: 0.6445 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005198/1.267, allocations: 87.56 kB / 1.412 GB, free: 0.5586 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.006582/1.274, allocations: 2.144 MB / 1.414 GB, free: 14.4 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.02121/1.295, allocations: 7.3 MB / 1.422 GB, free: 7.07 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.01019/1.305, allocations: 3.236 MB / 1.425 GB, free: 3.836 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.01453/1.32, allocations: 9.1 MB / 1.434 GB, free: 10.71 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005661/1.325, allocations: 3.104 MB / 1.437 GB, free: 7.547 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008068/1.334, allocations: 3.313 MB / 1.44 GB, free: 4.223 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007535/1.341, allocations: 3.236 MB / 1.443 GB, free: 0.9883 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.001962/1.343, allocations: 404 kB / 1.443 GB, free: 0.5938 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01963/1.363, allocations: 6.995 MB / 1.45 GB, free: 9.582 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.003954/1.367, allocations: 1.691 MB / 1.452 GB, free: 7.887 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.006758/1.374, allocations: 2.307 MB / 1.454 GB, free: 5.57 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.02232/1.396, allocations: 8.185 MB / 1.462 GB, free: 13.36 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 9.467e-06/1.396, allocations: 0 / 1.462 GB, free: 13.36 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.325e-06/1.396, allocations: 0 / 1.462 GB, free: 13.36 MB / 1.201 GB Notification: Performance of Transformations before backend: time 0.0002706/1.396, allocations: 0 / 1.462 GB, free: 13.36 MB / 1.201 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.01911/1.415, allocations: 4.993 MB / 1.467 GB, free: 8.301 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.661e-05/1.416, allocations: 12.03 kB / 1.467 GB, free: 8.289 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001788/1.417, allocations: 459.5 kB / 1.468 GB, free: 7.828 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008075/1.425, allocations: 1.018 MB / 1.468 GB, free: 6.805 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006901/1.432, allocations: 2.244 MB / 1.471 GB, free: 4.508 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003065/1.433, allocations: 242.4 kB / 1.471 GB, free: 4.27 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001437/1.434, allocations: 320 kB / 1.471 GB, free: 3.957 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01232/1.446, allocations: 4.243 MB / 1.475 GB, free: 15.63 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001919/1.447, allocations: 4 kB / 1.475 GB, free: 15.62 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001097/1.448, allocations: 147.9 kB / 1.476 GB, free: 15.48 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000247/1.448, allocations: 170.3 kB / 1.476 GB, free: 15.31 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01177/1.46, allocations: 4.772 MB / 1.48 GB, free: 10.53 MB / 1.217 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.02921/1.489, allocations: 14.45 MB / 1.494 GB, free: 11.11 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00809/1.497, allocations: 4.539 MB / 1.499 GB, free: 6.559 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004593/1.502, allocations: 2.463 MB / 1.501 GB, free: 4.098 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002005/1.504, allocations: 1.604 MB / 1.503 GB, free: 2.16 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.772e-05/1.504, allocations: 77.64 kB / 1.503 GB, free: 2.074 MB / 1.232 GB Notification: Performance of pre-optimization done (n=392): time 6.141e-06/1.504, allocations: 0 / 1.503 GB, free: 2.074 MB / 1.232 GB Notification: Performance of matching and sorting (n=392): time 0.01208/1.516, allocations: 5.531 MB / 1.508 GB, free: 12.52 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.874e-05/1.516, allocations: 98.42 kB / 1.508 GB, free: 12.41 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003234/1.52, allocations: 1.68 MB / 1.51 GB, free: 10.69 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0006204/1.52, allocations: 93.7 kB / 1.51 GB, free: 10.59 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009756/1.521, allocations: 1.136 MB / 1.511 GB, free: 9.441 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.001826/1.523, allocations: 1.32 MB / 1.513 GB, free: 8.102 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001657/1.525, allocations: 0.5469 MB / 1.513 GB, free: 7.547 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001233/1.525, allocations: 309 kB / 1.513 GB, free: 7.242 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002958/1.528, allocations: 1.568 MB / 1.515 GB, free: 5.672 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003324/1.531, allocations: 1.916 MB / 1.517 GB, free: 3.688 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006704/1.538, allocations: 3.762 MB / 1.52 GB, free: 15.84 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.219e-05/1.538, allocations: 8 kB / 1.52 GB, free: 15.83 MB / 1.264 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.009065/1.547, allocations: 4.178 MB / 1.525 GB, free: 11.62 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 3.381e-05/1.547, allocations: 12.03 kB / 1.525 GB, free: 11.61 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.367e-05/1.547, allocations: 8 kB / 1.525 GB, free: 11.61 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.064e-05/1.547, allocations: 20 kB / 1.525 GB, free: 11.59 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003452/1.551, allocations: 0.6905 MB / 1.525 GB, free: 10.89 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.011e-05/1.551, allocations: 27.88 kB / 1.525 GB, free: 10.87 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003644/1.554, allocations: 257.1 kB / 1.526 GB, free: 10.61 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005374/1.555, allocations: 123.9 kB / 1.526 GB, free: 10.49 MB / 1.264 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.0022/1.557, allocations: 0.7937 MB / 1.526 GB, free: 9.688 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001306/1.559, allocations: 292.5 kB / 1.527 GB, free: 9.398 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008866/1.567, allocations: 4.433 MB / 1.531 GB, free: 4.93 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.758e-05/1.567, allocations: 36 kB / 1.531 GB, free: 4.895 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.588e-05/1.568, allocations: 7.938 kB / 1.531 GB, free: 4.887 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006203/1.574, allocations: 3.792 MB / 1.535 GB, free: 1.027 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01869/1.592, allocations: 8.644 MB / 1.543 GB, free: 8.223 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-05/1.593, allocations: 7.984 kB / 1.543 GB, free: 8.215 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003787/1.596, allocations: 0.7178 MB / 1.544 GB, free: 7.496 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.31e-05/1.596, allocations: 16 kB / 1.544 GB, free: 7.48 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006198/1.597, allocations: 87.97 kB / 1.544 GB, free: 7.395 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.88e-05/1.597, allocations: 16.06 kB / 1.544 GB, free: 7.379 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-06/1.597, allocations: 7.938 kB / 1.544 GB, free: 7.371 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01235/1.609, allocations: 6.568 MB / 1.55 GB, free: 0.707 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002514/1.612, allocations: 0.8011 MB / 1.551 GB, free: 15.88 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009346/1.613, allocations: 68 kB / 1.551 GB, free: 15.82 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002848/1.616, allocations: 87.72 kB / 1.551 GB, free: 15.73 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006733/1.617, allocations: 238.6 kB / 1.552 GB, free: 15.5 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004263/1.617, allocations: 116 kB / 1.552 GB, free: 15.39 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.002254/1.619, allocations: 1.153 MB / 1.553 GB, free: 14.21 MB / 1.295 GB Notification: Performance of sort global known variables: time 2.2e-07/1.619, allocations: 0 / 1.553 GB, free: 14.21 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.003922/1.623, allocations: 1.224 MB / 1.554 GB, free: 12.98 MB / 1.295 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.0131/1.636, allocations: 7.492 MB / 1.561 GB, free: 5.395 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.007325/1.644, allocations: 3.941 MB / 1.565 GB, free: 1.441 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.167e-05/1.644, allocations: 8.188 kB / 1.565 GB, free: 1.434 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.004053/1.648, allocations: 2.148 MB / 1.567 GB, free: 15.28 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009523/1.657, allocations: 1.591 MB / 1.569 GB, free: 13.71 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5835/2.241, allocations: 25.69 MB / 1.594 GB, free: 437.9 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003305/2.244, allocations: 2.203 MB / 1.596 GB, free: 437 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.005226/2.25, allocations: 1.205 MB / 1.597 GB, free: 437 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002922/2.253, allocations: 1.387 MB / 1.599 GB, free: 435.9 MB / 1.311 GB Notification: Performance of SimCode: time 1.573e-06/2.253, allocations: 3.219 kB / 1.599 GB, free: 435.9 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1629/2.415, allocations: 85.55 MB / 1.682 GB, free: 396.2 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.41/16.82, allocations: 5.125 kB / 1.682 GB, free: 396.2 MB / 1.311 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)