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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001204/0.001204, 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.001211/0.001211, allocations: 193.9 kB / 16.14 MB, free: 6.691 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.193/1.193, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.056/2.056, allocations: 390.2 MB / 0.6643 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 59.91 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4842/0.4854, allocations: 140.4 MB / 0.949 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.7007/1.186, allocations: 312 MB / 1.254 GB, free: 2.344 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02092/1.207, allocations: 18.67 MB / 1.272 GB, free: 2.164 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002596/1.21, allocations: 78.72 kB / 1.272 GB, free: 2.164 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003731/1.213, allocations: 1.877 MB / 1.274 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01338/1.227, allocations: 6.911 MB / 1.281 GB, free: 1.812 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006722/1.234, allocations: 2.926 MB / 1.283 GB, free: 1.715 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01209/1.246, allocations: 13.13 MB / 1.296 GB, free: 1.691 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003734/1.249, allocations: 2.647 MB / 1.299 GB, free: 1.312 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005785/1.255, allocations: 2.885 MB / 1.302 GB, free: 1.309 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005916/1.261, allocations: 3.359 MB / 1.305 GB, free: 1.297 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.00062/1.262, allocations: 227 kB / 1.305 GB, free: 1.297 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01343/1.275, allocations: 8.131 MB / 1.313 GB, free: 1.227 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001912/1.277, allocations: 1.522 MB / 1.315 GB, free: 1.219 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003062/1.28, allocations: 2.122 MB / 1.317 GB, free: 0.8203 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01299/1.293, allocations: 8.486 MB / 1.325 GB, free: 15.93 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/1.293, allocations: 3.562 kB / 1.325 GB, free: 15.93 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.463e-06/1.293, allocations: 0 / 1.325 GB, free: 15.93 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.002e-05/1.293, allocations: 0 / 1.325 GB, free: 15.93 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.0112/1.305, allocations: 4.992 MB / 1.33 GB, free: 13.98 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/1.305, allocations: 8.375 kB / 1.33 GB, free: 13.98 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004816/1.305, allocations: 463.1 kB / 1.33 GB, free: 13.92 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006082/1.311, allocations: 1.009 MB / 1.331 GB, free: 13.7 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003155/1.314, allocations: 2.165 MB / 1.333 GB, free: 13.04 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001107/1.315, allocations: 241.7 kB / 1.334 GB, free: 13.04 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003894/1.315, allocations: 330.6 kB / 1.334 GB, free: 13.03 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005734/1.321, allocations: 4.236 MB / 1.338 GB, free: 11.9 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.244e-05/1.321, allocations: 16.98 kB / 1.338 GB, free: 11.89 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002763/1.321, allocations: 131 kB / 1.338 GB, free: 11.89 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001289/1.321, allocations: 165.7 kB / 1.338 GB, free: 11.88 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006329/1.328, allocations: 4.784 MB / 1.343 GB, free: 10.98 MB / 1.014 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.01619/1.344, allocations: 14.37 MB / 1.357 GB, free: 2.258 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004891/1.349, allocations: 4.565 MB / 1.362 GB, free: 1.629 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002778/1.351, allocations: 2.453 MB / 1.364 GB, free: 1.289 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001536/1.353, allocations: 1.605 MB / 1.366 GB, free: 15.53 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.07e-05/1.353, allocations: 81.02 kB / 1.366 GB, free: 15.48 MB / 1.029 GB Notification: Performance of pre-optimization done (n=392): time 5.089e-06/1.353, allocations: 0 / 1.366 GB, free: 15.48 MB / 1.029 GB Notification: Performance of matching and sorting (n=392): time 0.007968/1.361, allocations: 5.536 MB / 1.371 GB, free: 12.93 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.935e-05/1.361, allocations: 94.48 kB / 1.371 GB, free: 12.83 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002054/1.363, allocations: 1.688 MB / 1.373 GB, free: 11.1 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001973/1.363, allocations: 93.7 kB / 1.373 GB, free: 11 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007085/1.364, allocations: 1.127 MB / 1.374 GB, free: 9.863 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.000941/1.365, allocations: 1.319 MB / 1.375 GB, free: 8.555 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007938/1.366, allocations: 0.5546 MB / 1.376 GB, free: 7.992 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 7.623e-05/1.366, allocations: 301.1 kB / 1.376 GB, free: 7.695 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002251/1.368, allocations: 1.568 MB / 1.378 GB, free: 6.125 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002503/1.371, allocations: 1.918 MB / 1.379 GB, free: 4.141 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005075/1.376, allocations: 3.758 MB / 1.383 GB, free: 320 kB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.163e-06/1.376, allocations: 8 kB / 1.383 GB, free: 312 kB / 1.029 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006174/1.382, allocations: 4.181 MB / 1.387 GB, free: 12.13 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/1.382, allocations: 4.062 kB / 1.387 GB, free: 12.12 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/1.382, allocations: 12 kB / 1.387 GB, free: 12.11 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.688e-05/1.382, allocations: 20 kB / 1.387 GB, free: 12.09 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00281/1.385, allocations: 0.6943 MB / 1.388 GB, free: 11.44 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.182e-05/1.385, allocations: 23.98 kB / 1.388 GB, free: 11.42 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00285/1.388, allocations: 468.9 kB / 1.388 GB, free: 10.96 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002297/1.388, allocations: 116 kB / 1.388 GB, free: 10.84 MB / 1.045 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.001255/1.389, allocations: 0.8131 MB / 1.389 GB, free: 10.06 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004533/1.39, allocations: 288.5 kB / 1.39 GB, free: 9.777 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006476/1.396, allocations: 4.435 MB / 1.394 GB, free: 5.309 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.861e-05/1.396, allocations: 36 kB / 1.394 GB, free: 5.273 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/1.396, allocations: 0 / 1.394 GB, free: 5.273 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004997/1.401, allocations: 3.79 MB / 1.398 GB, free: 1.418 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01185/1.413, allocations: 8.641 MB / 1.406 GB, free: 8.727 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.346e-06/1.413, allocations: 320 / 1.406 GB, free: 8.727 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00302/1.416, allocations: 0.7284 MB / 1.407 GB, free: 8.035 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.861e-05/1.416, allocations: 19.94 kB / 1.407 GB, free: 8.016 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001925/1.416, allocations: 83.97 kB / 1.407 GB, free: 7.934 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.706e-05/1.416, allocations: 16 kB / 1.407 GB, free: 7.918 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/1.416, allocations: 6.531 kB / 1.407 GB, free: 7.914 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008499/1.425, allocations: 6.56 MB / 1.413 GB, free: 1.266 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00131/1.426, allocations: 0.801 MB / 1.414 GB, free: 452 kB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000379/1.427, allocations: 72 kB / 1.414 GB, free: 380 kB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002194/1.429, allocations: 274.5 kB / 1.414 GB, free: 108 kB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004137/1.429, allocations: 233.4 kB / 1.415 GB, free: 15.88 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002158/1.429, allocations: 112 kB / 1.415 GB, free: 15.77 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.00137/1.431, allocations: 1.153 MB / 1.416 GB, free: 14.59 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.5e-07/1.431, allocations: 4 kB / 1.416 GB, free: 14.59 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.002216/1.433, allocations: 1.232 MB / 1.417 GB, free: 13.36 MB / 1.076 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.009403/1.442, allocations: 7.478 MB / 1.424 GB, free: 5.852 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.005265/1.448, allocations: 3.93 MB / 1.428 GB, free: 1.961 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/1.448, allocations: 0 / 1.428 GB, free: 1.961 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.00268/1.45, allocations: 2.15 MB / 1.43 GB, free: 15.89 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005636/1.456, allocations: 1.524 MB / 1.432 GB, free: 14.38 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03836/1.494, allocations: 30.19 MB / 1.461 GB, free: 14.75 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001624/1.496, allocations: 2.209 MB / 1.463 GB, free: 12.5 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.003522/1.5, allocations: 1.208 MB / 1.465 GB, free: 11.29 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001827/1.501, allocations: 1.386 MB / 1.466 GB, free: 9.898 MB / 1.123 GB Notification: Performance of SimCode: time 6.21e-07/1.501, allocations: 7.938 kB / 1.466 GB, free: 9.891 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09672/1.598, allocations: 81.89 MB / 1.546 GB, free: 8.973 MB / 1.201 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002073/1.598, allocations: 245.8 kB / 1.546 GB, free: 8.723 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.653/5.251, allocations: 7.938 kB / 1.546 GB, free: 8.715 MB / 1.201 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)