Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: translateModel(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") translateModel(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00148/0.00148, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001749/0.001749, allocations: 199.2 kB / 16.14 MB, free: 6.66 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.461/1.461, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.769/2.769, allocations: 472.6 MB / 0.7447 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002221/0.002221, allocations: 61.28 kB / 0.9113 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2981/0.3003, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.8971/1.197, allocations: 293 MB / 1.354 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02405/1.222, allocations: 17.23 MB / 1.37 GB, free: 0.5039 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005795/1.227, allocations: 68.72 kB / 1.37 GB, free: 0.5039 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005687/1.233, allocations: 1.647 MB / 1.372 GB, free: 184 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01856/1.252, allocations: 6.08 MB / 1.378 GB, free: 14.88 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.008384/1.26, allocations: 2.668 MB / 1.381 GB, free: 13.93 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01296/1.273, allocations: 11.21 MB / 1.392 GB, free: 9.73 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004414/1.278, allocations: 2.205 MB / 1.394 GB, free: 8.398 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006349/1.284, allocations: 2.41 MB / 1.396 GB, free: 7.293 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007673/1.292, allocations: 2.815 MB / 1.399 GB, free: 5.953 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001527/1.293, allocations: 183.9 kB / 1.399 GB, free: 5.953 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01661/1.31, allocations: 7.176 MB / 1.406 GB, free: 2.629 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.002403/1.312, allocations: 1.2 MB / 1.407 GB, free: 1.863 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.004559/1.317, allocations: 1.73 MB / 1.409 GB, free: 0.8516 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01647/1.333, allocations: 7.167 MB / 1.416 GB, free: 12.54 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/1.333, allocations: 0 / 1.416 GB, free: 12.54 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.333e-06/1.333, allocations: 4 kB / 1.416 GB, free: 12.54 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001754/1.334, allocations: 0 / 1.416 GB, free: 12.54 MB / 1.029 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.01221/1.346, allocations: 4.127 MB / 1.42 GB, free: 8.371 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/1.346, allocations: 12.02 kB / 1.42 GB, free: 8.359 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006866/1.353, allocations: 0.9155 MB / 1.421 GB, free: 7.445 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003641/1.356, allocations: 1.836 MB / 1.423 GB, free: 5.59 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001529/1.357, allocations: 196.6 kB / 1.423 GB, free: 5.398 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005793/1.357, allocations: 263 kB / 1.423 GB, free: 5.145 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006188/1.363, allocations: 3.344 MB / 1.426 GB, free: 1.707 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.588e-05/1.363, allocations: 4 kB / 1.426 GB, free: 1.703 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002981/1.364, allocations: 110.4 kB / 1.426 GB, free: 1.598 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001447/1.364, allocations: 137 kB / 1.427 GB, free: 1.461 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006162/1.37, allocations: 3.498 MB / 1.43 GB, free: 13.95 MB / 1.045 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.01692/1.387, allocations: 12.09 MB / 1.442 GB, free: 1.086 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005075/1.392, allocations: 3.519 MB / 1.445 GB, free: 13.48 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002962/1.395, allocations: 1.812 MB / 1.447 GB, free: 11.68 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001589/1.397, allocations: 1.486 MB / 1.448 GB, free: 9.883 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.287e-05/1.397, allocations: 68.75 kB / 1.449 GB, free: 9.805 MB / 1.061 GB Notification: Performance of pre-optimization done (n=278): time 4.558e-06/1.397, allocations: 0 / 1.449 GB, free: 9.805 MB / 1.061 GB Notification: Performance of matching and sorting (n=278): time 0.007213/1.404, allocations: 3.893 MB / 1.452 GB, free: 5.863 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.799e-05/1.404, allocations: 81.59 kB / 1.452 GB, free: 5.77 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002324/1.406, allocations: 1.379 MB / 1.454 GB, free: 4.383 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0002262/1.407, allocations: 73.7 kB / 1.454 GB, free: 4.305 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007581/1.407, allocations: 0.9843 MB / 1.455 GB, free: 3.309 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009747/1.408, allocations: 0.9498 MB / 1.456 GB, free: 2.367 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007189/1.409, allocations: 404.9 kB / 1.456 GB, free: 1.965 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 9.894e-05/1.409, allocations: 305.1 kB / 1.456 GB, free: 1.664 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001948/1.411, allocations: 1.094 MB / 1.457 GB, free: 0.5664 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002167/1.413, allocations: 1.362 MB / 1.459 GB, free: 15.14 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004269/1.418, allocations: 2.646 MB / 1.461 GB, free: 12.4 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.207e-05/1.418, allocations: 8 kB / 1.461 GB, free: 12.39 MB / 1.076 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005422/1.423, allocations: 2.966 MB / 1.464 GB, free: 9.379 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.576e-05/1.423, allocations: 7.984 kB / 1.464 GB, free: 9.371 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.79e-05/1.423, allocations: 12 kB / 1.464 GB, free: 9.359 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.2e-05/1.423, allocations: 15.94 kB / 1.464 GB, free: 9.344 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002343/1.426, allocations: 0.511 MB / 1.465 GB, free: 8.832 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-05/1.426, allocations: 19.94 kB / 1.465 GB, free: 8.812 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003004/1.429, allocations: 381.7 kB / 1.465 GB, free: 8.438 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002195/1.429, allocations: 83.98 kB / 1.465 GB, free: 8.355 MB / 1.076 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.001332/1.43, allocations: 0.6416 MB / 1.466 GB, free: 7.703 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007003/1.431, allocations: 229.3 kB / 1.466 GB, free: 7.477 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005565/1.437, allocations: 3.116 MB / 1.469 GB, free: 4.305 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.249e-05/1.437, allocations: 28 kB / 1.469 GB, free: 4.277 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.224e-05/1.437, allocations: 0 / 1.469 GB, free: 4.277 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004142/1.441, allocations: 2.657 MB / 1.472 GB, free: 1.551 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01147/1.452, allocations: 6.21 MB / 1.478 GB, free: 11.3 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.261e-05/1.452, allocations: 0 / 1.478 GB, free: 11.3 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002676/1.455, allocations: 0.55 MB / 1.478 GB, free: 10.75 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.83e-05/1.455, allocations: 12 kB / 1.478 GB, free: 10.74 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002534/1.455, allocations: 55.98 kB / 1.478 GB, free: 10.69 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.247e-05/1.455, allocations: 8 kB / 1.478 GB, free: 10.68 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/1.455, allocations: 4 kB / 1.478 GB, free: 10.68 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007734/1.463, allocations: 4.577 MB / 1.483 GB, free: 6.016 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001752/1.465, allocations: 0.6071 MB / 1.484 GB, free: 5.387 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006016/1.465, allocations: 52 kB / 1.484 GB, free: 5.336 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002724/1.468, allocations: 230.1 kB / 1.484 GB, free: 5.113 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003982/1.469, allocations: 161.9 kB / 1.484 GB, free: 4.953 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002113/1.469, allocations: 79.97 kB / 1.484 GB, free: 4.875 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.00182/1.471, allocations: 0.9462 MB / 1.485 GB, free: 3.934 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.81e-07/1.471, allocations: 0 / 1.485 GB, free: 3.934 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.002811/1.474, allocations: 0.9784 MB / 1.486 GB, free: 2.953 MB / 1.092 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.0007775/1.474, allocations: 389.1 kB / 1.486 GB, free: 2.574 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.004749/1.479, allocations: 2.759 MB / 1.489 GB, free: 15.79 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/1.479, allocations: 5.062 kB / 1.489 GB, free: 15.78 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.002301/1.481, allocations: 1.504 MB / 1.49 GB, free: 14.27 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006368/1.488, allocations: 1.286 MB / 1.492 GB, free: 13 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01134/1.499, allocations: 7.235 MB / 1.499 GB, free: 5.734 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001935/1.501, allocations: 1.899 MB / 1.501 GB, free: 3.797 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.003834/1.505, allocations: 0.8475 MB / 1.501 GB, free: 2.945 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001032/1.506, allocations: 203.4 kB / 1.502 GB, free: 2.746 MB / 1.107 GB Notification: Performance of SimCode: time 6.41e-07/1.506, allocations: 0 / 1.502 GB, free: 2.746 MB / 1.107 GB Notification: Performance of Templates: time 0.08013/1.586, allocations: 47.49 MB / 1.548 GB, free: 3.809 MB / 1.154 GB make -j1 -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile (rm -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & ./Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)