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.00944/0.00944, allocations: 101.8 kB / 15.73 MB, free: 6.012 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.001826/0.001826, allocations: 194.2 kB / 16.67 MB, free: 5.949 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.427/1.427, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002275/0.002275, allocations: 290.5 kB / 290.8 MB, free: 1.891 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9867/0.9867, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 102 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1855/0.1875, allocations: 86.98 MB / 0.7659 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.762/0.9495, allocations: 314.1 MB / 1.073 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.02942/0.979, allocations: 18.46 MB / 1.091 GB, free: 5.961 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005115/0.9841, allocations: 87.56 kB / 1.091 GB, free: 5.875 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.006901/0.9911, allocations: 2.152 MB / 1.093 GB, free: 3.711 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.6644/1.656, allocations: 7.299 MB / 1.1 GB, free: 5.125 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.01278/1.668, allocations: 3.231 MB / 1.103 GB, free: 5.117 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01708/1.686, allocations: 9.097 MB / 1.112 GB, free: 5.102 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006822/1.692, allocations: 3.114 MB / 1.115 GB, free: 20.77 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0102/1.703, allocations: 3.351 MB / 1.118 GB, free: 20.77 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008195/1.711, allocations: 3.224 MB / 1.122 GB, free: 20.76 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.001311/1.712, allocations: 406 kB / 1.122 GB, free: 20.76 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01804/1.73, allocations: 6.998 MB / 1.129 GB, free: 20.73 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.003566/1.734, allocations: 1.685 MB / 1.13 GB, free: 20.73 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.006723/1.741, allocations: 2.308 MB / 1.133 GB, free: 20.73 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.02402/1.765, allocations: 8.194 MB / 1.141 GB, free: 19.84 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/1.765, allocations: 0 / 1.141 GB, free: 19.84 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.345e-06/1.765, allocations: 0.9375 kB / 1.141 GB, free: 19.84 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0001793/1.765, allocations: 0 / 1.141 GB, free: 19.84 MB / 0.8575 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.01722/1.782, allocations: 4.997 MB / 1.146 GB, free: 17.92 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/1.782, allocations: 8.031 kB / 1.146 GB, free: 17.92 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007495/1.783, allocations: 462.1 kB / 1.146 GB, free: 17.86 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006859/1.79, allocations: 1.008 MB / 1.147 GB, free: 17.66 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00545/1.795, allocations: 2.244 MB / 1.149 GB, free: 17.08 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002022/1.796, allocations: 246.8 kB / 1.149 GB, free: 17.07 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005869/1.796, allocations: 327.1 kB / 1.15 GB, free: 17.07 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007635/1.804, allocations: 4.239 MB / 1.154 GB, free: 16.77 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.912e-05/1.804, allocations: 11.06 kB / 1.154 GB, free: 16.77 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000338/1.804, allocations: 141.7 kB / 1.154 GB, free: 16.77 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001926/1.804, allocations: 165 kB / 1.154 GB, free: 16.76 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008019/1.812, allocations: 4.782 MB / 1.159 GB, free: 16.73 MB / 0.8575 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.0261/1.839, allocations: 14.44 MB / 1.173 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007902/1.846, allocations: 4.555 MB / 1.177 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004635/1.851, allocations: 2.46 MB / 1.18 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002173/1.853, allocations: 1.606 MB / 1.181 GB, free: 8.422 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.992e-05/1.853, allocations: 78.55 kB / 1.181 GB, free: 8.379 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=392): time 7.725e-06/1.853, allocations: 0 / 1.181 GB, free: 8.379 MB / 0.8575 GB Notification: Performance of matching and sorting (n=392): time 0.0127/1.866, allocations: 5.537 MB / 1.187 GB, free: 8.094 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.399e-05/1.866, allocations: 92.02 kB / 1.187 GB, free: 8.027 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003917/1.87, allocations: 1.686 MB / 1.189 GB, free: 7.812 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0006266/1.871, allocations: 93.11 kB / 1.189 GB, free: 7.781 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.001064/1.872, allocations: 1.131 MB / 1.19 GB, free: 7.262 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.001788/1.874, allocations: 1.324 MB / 1.191 GB, free: 6.281 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001677/1.875, allocations: 0.547 MB / 1.192 GB, free: 6.199 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001224/1.876, allocations: 303 kB / 1.192 GB, free: 5.902 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003043/1.879, allocations: 1.568 MB / 1.193 GB, free: 5.664 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003255/1.882, allocations: 1.918 MB / 1.195 GB, free: 5.184 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006585/1.889, allocations: 3.764 MB / 1.199 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.768e-05/1.889, allocations: 7.719 kB / 1.199 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.008126/1.897, allocations: 4.17 MB / 1.203 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.704e-05/1.897, allocations: 13.81 kB / 1.203 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.635e-05/1.897, allocations: 4 kB / 1.203 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.725e-05/1.897, allocations: 24.5 kB / 1.203 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003208/1.9, allocations: 0.6947 MB / 1.204 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.521e-05/1.9, allocations: 21.14 kB / 1.204 GB, free: 0.5273 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00337/1.904, allocations: 263.8 kB / 1.204 GB, free: 328 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003858/1.904, allocations: 121.6 kB / 1.204 GB, free: 236 kB / 0.8575 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.00214/1.906, allocations: 0.8018 MB / 1.205 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001247/1.907, allocations: 295.9 kB / 1.205 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008369/1.916, allocations: 4.428 MB / 1.209 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.685e-05/1.916, allocations: 37.06 kB / 1.21 GB, free: 12.58 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.708e-05/1.916, allocations: 0 / 1.21 GB, free: 12.58 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005934/1.922, allocations: 3.791 MB / 1.213 GB, free: 9.961 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01727/1.939, allocations: 8.646 MB / 1.222 GB, free: 1.477 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-05/1.939, allocations: 4.188 kB / 1.222 GB, free: 1.473 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003483/1.943, allocations: 0.7239 MB / 1.222 GB, free: 0.7852 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-05/1.943, allocations: 16 kB / 1.222 GB, free: 0.7695 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003449/1.943, allocations: 83.97 kB / 1.222 GB, free: 0.6875 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-05/1.943, allocations: 19.94 kB / 1.223 GB, free: 0.668 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/1.943, allocations: 11.19 kB / 1.223 GB, free: 0.6602 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01146/1.955, allocations: 6.569 MB / 1.229 GB, free: 10 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002518/1.957, allocations: 0.7933 MB / 1.23 GB, free: 9.184 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009735/1.958, allocations: 72 kB / 1.23 GB, free: 9.113 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002918/1.961, allocations: 93.94 kB / 1.23 GB, free: 9.023 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005023/1.962, allocations: 233.9 kB / 1.23 GB, free: 8.797 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003057/1.962, allocations: 116 kB / 1.23 GB, free: 8.684 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.002583/1.965, allocations: 1.153 MB / 1.231 GB, free: 7.508 MB / 0.8887 GB Notification: Performance of sort global known variables: time 7.11e-07/1.965, allocations: 0 / 1.231 GB, free: 7.508 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.004443/1.969, allocations: 1.228 MB / 1.233 GB, free: 6.277 MB / 0.8887 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.01226/1.981, allocations: 7.482 MB / 1.24 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.00714/1.988, allocations: 3.949 MB / 1.244 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.191e-05/1.988, allocations: 3.938 kB / 1.244 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.003712/1.992, allocations: 2.153 MB / 1.246 GB, free: 8.785 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009319/2.002, allocations: 1.599 MB / 1.247 GB, free: 7.227 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05706/2.059, allocations: 25.69 MB / 1.272 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003085/2.062, allocations: 2.205 MB / 1.275 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.005905/2.068, allocations: 1.212 MB / 1.276 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003466/2.071, allocations: 1.386 MB / 1.277 GB, free: 8.422 MB / 0.9356 GB Notification: Performance of SimCode: time 1.352e-06/2.071, allocations: 0 / 1.277 GB, free: 8.422 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1633/2.235, allocations: 87.03 MB / 1.362 GB, free: 2.543 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.68/16.91, allocations: 26.27 kB / 1.362 GB, free: 2.52 MB / 1.014 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)