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.001178/0.001178, 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.001233/0.001233, allocations: 199.3 kB / 16.14 MB, free: 6.664 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.248/1.248, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001841/0.001841, allocations: 274.8 kB / 290.2 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8368/0.8368, allocations: 169.2 MB / 0.4977 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002196/0.002196, allocations: 94.45 kB / 0.5946 GB, free: 28.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1267, allocations: 86.97 MB / 0.6795 GB, free: 1.105 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.4712/0.5979, allocations: 312 MB / 0.9842 GB, free: 15.62 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.02229/0.6203, allocations: 18.7 MB / 1.002 GB, free: 12.89 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002662/0.623, allocations: 83.5 kB / 1.003 GB, free: 12.81 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00399/0.627, allocations: 1.882 MB / 1.004 GB, free: 10.92 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01359/0.6406, allocations: 6.895 MB / 1.011 GB, free: 4 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.006278/0.6469, allocations: 2.926 MB / 1.014 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01144/0.6583, allocations: 13.12 MB / 1.027 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002984/0.6613, allocations: 2.658 MB / 1.029 GB, free: 1.207 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004/0.6653, allocations: 2.892 MB / 1.032 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004605/0.67, allocations: 3.359 MB / 1.035 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0004694/0.6704, allocations: 228 kB / 1.036 GB, free: 10.72 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01212/0.6826, allocations: 8.12 MB / 1.044 GB, free: 2.582 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001448/0.684, allocations: 1.531 MB / 1.045 GB, free: 1.047 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.002301/0.6863, allocations: 2.115 MB / 1.047 GB, free: 14.92 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0101/0.6965, allocations: 8.491 MB / 1.055 GB, free: 6.406 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.6965, allocations: 0 / 1.055 GB, free: 6.406 MB / 0.7637 GB Notification: Performance of FrontEnd: time 7.12e-07/0.6965, allocations: 4 kB / 1.055 GB, free: 6.402 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.001e-05/0.6965, allocations: 0 / 1.055 GB, free: 6.402 MB / 0.7637 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.01018/0.7067, allocations: 4.994 MB / 1.06 GB, free: 1.34 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.7068, allocations: 8.031 kB / 1.06 GB, free: 1.332 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004984/0.7073, allocations: 459.5 kB / 1.061 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2295/0.9368, allocations: 1.001 MB / 1.062 GB, free: 294 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004422/0.9412, allocations: 2.164 MB / 1.064 GB, free: 293.6 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002136/0.9414, allocations: 248.9 kB / 1.064 GB, free: 293.5 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008309/0.9423, allocations: 329.9 kB / 1.064 GB, free: 293.4 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007547/0.9498, allocations: 4.237 MB / 1.069 GB, free: 291.8 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.76e-05/0.9499, allocations: 10.16 kB / 1.069 GB, free: 291.8 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003427/0.9503, allocations: 133.6 kB / 1.069 GB, free: 291.7 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001595/0.9505, allocations: 165.9 kB / 1.069 GB, free: 291.7 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007104/0.9576, allocations: 4.784 MB / 1.074 GB, free: 290.2 MB / 0.7637 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.01481/0.9724, allocations: 14.37 MB / 1.088 GB, free: 280.9 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005488/0.9779, allocations: 4.546 MB / 1.092 GB, free: 278.7 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002853/0.9807, allocations: 2.455 MB / 1.094 GB, free: 277.5 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001172/0.9819, allocations: 1.607 MB / 1.096 GB, free: 275.7 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.781e-05/0.982, allocations: 81.16 kB / 1.096 GB, free: 275.6 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=392): time 6.372e-06/0.982, allocations: 7.812 kB / 1.096 GB, free: 275.6 MB / 0.7637 GB Notification: Performance of matching and sorting (n=392): time 0.007452/0.9894, allocations: 5.537 MB / 1.101 GB, free: 273 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/0.9895, allocations: 90.2 kB / 1.102 GB, free: 272.9 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001654/0.9912, allocations: 1.684 MB / 1.103 GB, free: 272 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0001819/0.9914, allocations: 93.58 kB / 1.103 GB, free: 271.9 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004596/0.9918, allocations: 1.137 MB / 1.104 GB, free: 270.9 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006294/0.9925, allocations: 1.32 MB / 1.106 GB, free: 269.7 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006562/0.9931, allocations: 0.5518 MB / 1.106 GB, free: 269.4 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 3.067e-05/0.9932, allocations: 305.1 kB / 1.107 GB, free: 269.1 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001873/0.995, allocations: 1.559 MB / 1.108 GB, free: 268.4 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002045/0.9971, allocations: 1.92 MB / 1.11 GB, free: 267.3 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004159/1.001, allocations: 3.767 MB / 1.114 GB, free: 265.2 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/1.001, allocations: 0 / 1.114 GB, free: 265.2 MB / 0.7637 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.005056/1.006, allocations: 4.17 MB / 1.118 GB, free: 261.9 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/1.006, allocations: 8 kB / 1.118 GB, free: 261.9 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/1.006, allocations: 4 kB / 1.118 GB, free: 261.9 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.354e-05/1.006, allocations: 23.94 kB / 1.118 GB, free: 261.8 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002526/1.009, allocations: 0.702 MB / 1.118 GB, free: 261.1 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.854e-05/1.009, allocations: 19.98 kB / 1.118 GB, free: 261.1 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002677/1.012, allocations: 481.5 kB / 1.119 GB, free: 260.7 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002037/1.012, allocations: 116.5 kB / 1.119 GB, free: 260.6 MB / 0.7637 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.00097/1.013, allocations: 0.7944 MB / 1.12 GB, free: 259.8 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004358/1.013, allocations: 288.5 kB / 1.12 GB, free: 259.5 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005345/1.019, allocations: 4.438 MB / 1.124 GB, free: 255 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.686e-05/1.019, allocations: 43.94 kB / 1.124 GB, free: 255 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/1.019, allocations: 3.938 kB / 1.124 GB, free: 255 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004028/1.023, allocations: 3.788 MB / 1.128 GB, free: 251.1 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009633/1.032, allocations: 8.644 MB / 1.137 GB, free: 242.4 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/1.032, allocations: 5.5 kB / 1.137 GB, free: 242.4 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002746/1.035, allocations: 0.7178 MB / 1.137 GB, free: 241.7 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-05/1.035, allocations: 16 kB / 1.137 GB, free: 241.7 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001941/1.035, allocations: 91.03 kB / 1.137 GB, free: 241.6 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-05/1.035, allocations: 16 kB / 1.137 GB, free: 241.6 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/1.035, allocations: 0 / 1.137 GB, free: 241.6 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006799/1.042, allocations: 6.566 MB / 1.144 GB, free: 234.9 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00111/1.043, allocations: 0.7972 MB / 1.145 GB, free: 234.1 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003771/1.044, allocations: 72 kB / 1.145 GB, free: 234 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002104/1.046, allocations: 269.4 kB / 1.145 GB, free: 233.8 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003413/1.046, allocations: 238.4 kB / 1.145 GB, free: 233.6 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001816/1.046, allocations: 115.9 kB / 1.145 GB, free: 233.4 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001094/1.047, allocations: 1.157 MB / 1.146 GB, free: 232.3 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.21e-07/1.047, allocations: 0 / 1.146 GB, free: 232.3 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.00173/1.049, allocations: 1.232 MB / 1.148 GB, free: 231 MB / 0.7637 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.007475/1.057, allocations: 7.49 MB / 1.155 GB, free: 223.5 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.00417/1.061, allocations: 3.924 MB / 1.159 GB, free: 219.6 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/1.061, allocations: 4 kB / 1.159 GB, free: 219.6 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.002102/1.063, allocations: 2.15 MB / 1.161 GB, free: 217.4 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005098/1.068, allocations: 1.531 MB / 1.162 GB, free: 216 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03207/1.1, allocations: 30.19 MB / 1.192 GB, free: 184.4 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001355/1.102, allocations: 2.205 MB / 1.194 GB, free: 182.2 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.003366/1.105, allocations: 1.202 MB / 1.195 GB, free: 181 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001548/1.106, allocations: 1.386 MB / 1.196 GB, free: 179.6 MB / 0.7637 GB Notification: Performance of SimCode: time 3.91e-07/1.106, allocations: 0 / 1.196 GB, free: 179.6 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.364/1.471, allocations: 81.92 MB / 1.276 GB, free: 98.55 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001671/1.471, allocations: 265.3 kB / 1.277 GB, free: 98.29 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.99/5.461, allocations: 2.75 kB / 1.277 GB, free: 98.29 MB / 0.7637 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)