Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="BuildingSystems_BuildingSystems_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.005013/0.005013, allocations: 101 kB / 15.73 MB, free: 6.055 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.001438/0.001438, allocations: 192.3 kB / 16.67 MB, free: 5.969 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.285/1.285, 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/NcDataReader2 2.5.1-master/package.mo): time 0.00237/0.00237, allocations: 293.4 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 14.6/14.6, allocations: 169.3 MB / 0.4983 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002734/0.002734, allocations: 99.83 kB / 0.681 GB, free: 7.469 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6732/0.676, allocations: 86.97 MB / 0.7659 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy): time 1.024/1.7, allocations: 314.1 MB / 1.073 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.03237/1.733, allocations: 18.46 MB / 1.091 GB, free: 8.918 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005566/1.738, allocations: 88.47 kB / 1.091 GB, free: 8.918 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.007028/1.745, allocations: 2.148 MB / 1.093 GB, free: 7.754 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.02249/1.768, allocations: 7.31 MB / 1.1 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.01146/1.779, allocations: 3.221 MB / 1.103 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.0159/1.795, allocations: 9.107 MB / 1.112 GB, free: 6.332 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006848/1.802, allocations: 3.124 MB / 1.115 GB, free: 3.145 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009103/1.811, allocations: 3.302 MB / 1.118 GB, free: 15.83 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008348/1.82, allocations: 3.226 MB / 1.121 GB, free: 12.61 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.001898/1.822, allocations: 404 kB / 1.122 GB, free: 12.21 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01863/1.84, allocations: 6.995 MB / 1.129 GB, free: 5.203 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.003697/1.844, allocations: 1.699 MB / 1.13 GB, free: 3.5 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.007935/1.852, allocations: 2.307 MB / 1.133 GB, free: 1.184 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.02317/1.875, allocations: 8.212 MB / 1.141 GB, free: 8.945 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.283e-06/1.875, allocations: 0 / 1.141 GB, free: 8.945 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.753e-06/1.875, allocations: 4 kB / 1.141 GB, free: 8.941 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0002636/1.875, allocations: 0 / 1.141 GB, free: 8.941 MB / 0.7794 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.01978/1.895, allocations: 5.13 MB / 1.146 GB, free: 3.734 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/1.895, allocations: 8.031 kB / 1.146 GB, free: 3.727 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001646/1.897, allocations: 463.5 kB / 1.146 GB, free: 3.262 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007814/1.905, allocations: 1.02 MB / 1.147 GB, free: 2.238 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00579/1.911, allocations: 2.265 MB / 1.149 GB, free: 15.92 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003034/1.911, allocations: 242.4 kB / 1.15 GB, free: 15.68 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001393/1.912, allocations: 335.9 kB / 1.15 GB, free: 15.36 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01152/1.924, allocations: 4.232 MB / 1.154 GB, free: 11.04 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001829/1.924, allocations: 4 kB / 1.154 GB, free: 11.04 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001056/1.925, allocations: 140 kB / 1.154 GB, free: 10.9 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002572/1.925, allocations: 170.3 kB / 1.154 GB, free: 10.73 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01213/1.938, allocations: 4.783 MB / 1.159 GB, free: 5.938 MB / 0.795 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.02979/1.967, allocations: 14.47 MB / 1.173 GB, free: 6.496 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008934/1.976, allocations: 4.555 MB / 1.178 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00572/1.982, allocations: 2.459 MB / 1.18 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002188/1.984, allocations: 1.6 MB / 1.182 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001217/1.985, allocations: 81.62 kB / 1.182 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=392): time 9.658e-06/1.985, allocations: 0 / 1.182 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of matching and sorting (n=392): time 0.01316/1.998, allocations: 5.545 MB / 1.187 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.867e-05/1.998, allocations: 94.48 kB / 1.187 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003523/2.001, allocations: 1.68 MB / 1.189 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0006298/2.002, allocations: 101.6 kB / 1.189 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.001034/2.003, allocations: 1.154 MB / 1.19 GB, free: 4.801 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.001918/2.005, allocations: 1.39 MB / 1.191 GB, free: 3.398 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001619/2.007, allocations: 0.5508 MB / 1.192 GB, free: 2.84 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001377/2.007, allocations: 301.1 kB / 1.192 GB, free: 2.543 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003165/2.01, allocations: 1.564 MB / 1.194 GB, free: 0.9766 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003632/2.014, allocations: 1.916 MB / 1.196 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007992/2.022, allocations: 3.77 MB / 1.199 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.639e-05/2.022, allocations: 0 / 1.199 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.009911/2.032, allocations: 4.191 MB / 1.203 GB, free: 6.918 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.813e-05/2.032, allocations: 8 kB / 1.203 GB, free: 6.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.599e-05/2.032, allocations: 9.562 kB / 1.203 GB, free: 6.902 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.432e-05/2.032, allocations: 20 kB / 1.203 GB, free: 6.883 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003848/2.036, allocations: 0.7026 MB / 1.204 GB, free: 6.18 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001029/2.036, allocations: 31.86 kB / 1.204 GB, free: 6.148 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004099/2.04, allocations: 261.9 kB / 1.204 GB, free: 5.891 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007678/2.041, allocations: 116 kB / 1.204 GB, free: 5.777 MB / 0.8419 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.003147/2.044, allocations: 0.8015 MB / 1.205 GB, free: 4.965 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001356/2.045, allocations: 306.1 kB / 1.205 GB, free: 4.664 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009895/2.055, allocations: 4.429 MB / 1.21 GB, free: 204 kB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.244e-05/2.055, allocations: 40 kB / 1.21 GB, free: 164 kB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-05/2.055, allocations: 4 kB / 1.21 GB, free: 160 kB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006811/2.062, allocations: 3.792 MB / 1.214 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0183/2.08, allocations: 8.645 MB / 1.222 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.095e-05/2.08, allocations: 4 kB / 1.222 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0037/2.084, allocations: 0.722 MB / 1.223 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.135e-05/2.084, allocations: 16 kB / 1.223 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004721/2.085, allocations: 83.98 kB / 1.223 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.722e-05/2.085, allocations: 16 kB / 1.223 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/2.085, allocations: 3.938 kB / 1.223 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0124/2.097, allocations: 6.593 MB / 1.229 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00262/2.1, allocations: 0.8067 MB / 1.23 GB, free: 11.13 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001071/2.101, allocations: 79.92 kB / 1.23 GB, free: 11.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002949/2.104, allocations: 87.22 kB / 1.23 GB, free: 10.97 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006638/2.105, allocations: 230.6 kB / 1.23 GB, free: 10.75 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000445/2.105, allocations: 112 kB / 1.231 GB, free: 10.64 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.002433/2.108, allocations: 1.157 MB / 1.232 GB, free: 9.457 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/2.108, allocations: 0 / 1.232 GB, free: 9.457 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.004527/2.112, allocations: 1.244 MB / 1.233 GB, free: 8.211 MB / 0.8731 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.01471/2.127, allocations: 7.493 MB / 1.24 GB, free: 0.625 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.009362/2.136, allocations: 3.948 MB / 1.244 GB, free: 12.66 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.686e-05/2.136, allocations: 8.25 kB / 1.244 GB, free: 12.66 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.004666/2.141, allocations: 2.156 MB / 1.246 GB, free: 10.5 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009651/2.151, allocations: 1.597 MB / 1.248 GB, free: 8.93 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05618/2.207, allocations: 25.81 MB / 1.273 GB, free: 14.74 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003059/2.21, allocations: 2.205 MB / 1.275 GB, free: 12.5 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.005979/2.216, allocations: 1.208 MB / 1.276 GB, free: 11.29 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003507/2.22, allocations: 1.386 MB / 1.278 GB, free: 9.898 MB / 0.92 GB Notification: Performance of SimCode: time 1.623e-06/2.22, allocations: 0 / 1.278 GB, free: 9.898 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.566/2.786, allocations: 85.58 MB / 1.361 GB, free: 383.5 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.57/17.36, allocations: 5.688 kB / 1.361 GB, free: 383.5 MB / 0.9512 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ReverseBuoyancy_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ReverseBuoyancy.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)