Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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: "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.001081/0.001081, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001285/0.001285, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.521/1.521, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.134/1.134, allocations: 143.4 MB / 434.4 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003432/0.0003433, allocations: 8 kB / 0.5161 GB, free: 11.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1663/0.1667, allocations: 83.41 MB / 0.5975 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy): time 1.202/1.369, allocations: 287.4 MB / 0.8782 GB, free: 9.324 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.03275/1.402, allocations: 17.38 MB / 0.8951 GB, free: 9.102 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005711/1.407, allocations: 74.56 kB / 0.8952 GB, free: 9.102 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.006109/1.413, allocations: 1.403 MB / 0.8966 GB, free: 9.078 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.02189/1.435, allocations: 5.327 MB / 0.9018 GB, free: 8.852 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01085/1.446, allocations: 2.253 MB / 0.904 GB, free: 8.789 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01867/1.465, allocations: 10.98 MB / 0.9147 GB, free: 8.773 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007174/1.472, allocations: 2.367 MB / 0.917 GB, free: 24.47 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009427/1.482, allocations: 2.865 MB / 0.9198 GB, free: 24.46 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008196/1.49, allocations: 3.146 MB / 0.9229 GB, free: 24.46 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001981/1.492, allocations: 197.3 kB / 0.9231 GB, free: 24.46 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01412/1.506, allocations: 3.488 MB / 0.9265 GB, free: 24.38 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.003709/1.51, allocations: 1.468 MB / 0.9279 GB, free: 24.38 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.003295/1.513, allocations: 0.8007 MB / 0.9287 GB, free: 24.35 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01092/1.524, allocations: 5.638 MB / 0.9342 GB, free: 22.3 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 9.718e-06/1.524, allocations: 0 / 0.9342 GB, free: 22.3 MB / 0.6856 GB Notification: Performance of FrontEnd: time 5.4e-06/1.524, allocations: 0 / 0.9342 GB, free: 22.3 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0003473/1.525, allocations: 6 kB / 0.9342 GB, free: 22.3 MB / 0.6856 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.01684/1.541, allocations: 4.372 MB / 0.9385 GB, free: 19.79 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.904e-05/1.541, allocations: 12.09 kB / 0.9385 GB, free: 19.79 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002141/1.544, allocations: 457.5 kB / 0.9389 GB, free: 19.66 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00814/1.552, allocations: 1.009 MB / 0.9399 GB, free: 19.24 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005258/1.557, allocations: 2.098 MB / 0.942 GB, free: 18.38 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002674/1.557, allocations: 244.8 kB / 0.9422 GB, free: 18.38 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001099/1.559, allocations: 327.6 kB / 0.9425 GB, free: 18.37 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009791/1.568, allocations: 4.212 MB / 0.9466 GB, free: 17.23 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001017/1.568, allocations: 9.906 kB / 0.9466 GB, free: 17.23 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000389/1.569, allocations: 136.6 kB / 0.9468 GB, free: 17.23 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001775/1.569, allocations: 171.9 kB / 0.9469 GB, free: 17.21 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008767/1.578, allocations: 4.755 MB / 0.9516 GB, free: 16.32 MB / 0.6856 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.02363/1.602, allocations: 14.42 MB / 0.9656 GB, free: 7.566 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006712/1.608, allocations: 4.539 MB / 0.9701 GB, free: 6.59 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004211/1.613, allocations: 2.435 MB / 0.9724 GB, free: 5.023 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001817/1.614, allocations: 1.616 MB / 0.974 GB, free: 3.098 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.046e-05/1.615, allocations: 77.39 kB / 0.9741 GB, free: 3.039 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=392): time 5.431e-06/1.615, allocations: 0 / 0.9741 GB, free: 3.039 MB / 0.6856 GB Notification: Performance of matching and sorting (n=392): time 0.01142/1.626, allocations: 5.508 MB / 0.9795 GB, free: 15.28 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.28e-05/1.626, allocations: 99.06 kB / 0.9796 GB, free: 15.17 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002719/1.629, allocations: 1.665 MB / 0.9812 GB, free: 13.9 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0005911/1.629, allocations: 97.33 kB / 0.9813 GB, free: 13.85 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007687/1.63, allocations: 1.129 MB / 0.9824 GB, free: 13.16 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.001679/1.632, allocations: 1.315 MB / 0.9837 GB, free: 12.03 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002115/1.632, allocations: 70.62 kB / 0.9837 GB, free: 12.01 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0002629/1.632, allocations: 440.2 kB / 0.9842 GB, free: 11.63 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002587/1.635, allocations: 1.556 MB / 0.9857 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002965/1.638, allocations: 1.904 MB / 0.9875 GB, free: 9.266 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003959/1.642, allocations: 1.827 MB / 0.9893 GB, free: 8.172 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.495e-05/1.642, allocations: 0 / 0.9893 GB, free: 8.172 MB / 0.7012 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.008678/1.651, allocations: 4.147 MB / 0.9934 GB, free: 5.367 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 4.184e-05/1.651, allocations: 9.438 kB / 0.9934 GB, free: 5.359 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.276e-05/1.651, allocations: 7.984 kB / 0.9934 GB, free: 5.352 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.756e-05/1.651, allocations: 24 kB / 0.9934 GB, free: 5.328 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003486/1.654, allocations: 0.6988 MB / 0.9941 GB, free: 4.699 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.949e-05/1.655, allocations: 22.75 kB / 0.9941 GB, free: 4.68 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004314/1.659, allocations: 480.2 kB / 0.9946 GB, free: 4.258 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007821/1.66, allocations: 118.6 kB / 0.9947 GB, free: 4.168 MB / 0.7012 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002696/1.662, allocations: 0.8055 MB / 0.9955 GB, free: 3.691 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001324/1.664, allocations: 288.5 kB / 0.9958 GB, free: 3.406 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01035/1.674, allocations: 4.421 MB / 1 GB, free: 0.5586 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.197e-05/1.674, allocations: 40 kB / 1 GB, free: 0.5195 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.834e-05/1.674, allocations: 0 / 1 GB, free: 0.5195 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008579/1.683, allocations: 3.784 MB / 1.004 GB, free: 13.91 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01924/1.702, allocations: 8.62 MB / 1.012 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.085e-05/1.702, allocations: 4 kB / 1.012 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003736/1.706, allocations: 0.7249 MB / 1.013 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.286e-05/1.706, allocations: 16 kB / 1.013 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000538/1.707, allocations: 84.36 kB / 1.013 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.457e-05/1.707, allocations: 16 kB / 1.013 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/1.707, allocations: 2.625 kB / 1.013 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01176/1.718, allocations: 6.549 MB / 1.019 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002511/1.721, allocations: 0.7973 MB / 1.02 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009998/1.722, allocations: 72.81 kB / 1.02 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003386/1.725, allocations: 270 kB / 1.021 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00063/1.726, allocations: 231.8 kB / 1.021 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004302/1.726, allocations: 119.8 kB / 1.021 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00229/1.729, allocations: 1.136 MB / 1.022 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.5e-07/1.729, allocations: 0 / 1.022 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.004309/1.733, allocations: 1.237 MB / 1.023 GB, free: 15.69 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01295/1.746, allocations: 7.48 MB / 1.031 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.007274/1.753, allocations: 3.903 MB / 1.034 GB, free: 7.781 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.148e-05/1.753, allocations: 4 kB / 1.034 GB, free: 7.777 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003798/1.757, allocations: 2.134 MB / 1.036 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009149/1.766, allocations: 1.538 MB / 1.038 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04706/1.814, allocations: 23.17 MB / 1.061 GB, free: 1.18 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002814/1.816, allocations: 2.206 MB / 1.063 GB, free: 15.05 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.005753/1.822, allocations: 1.204 MB / 1.064 GB, free: 13.84 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002788/1.825, allocations: 1.389 MB / 1.065 GB, free: 13.49 MB / 0.7637 GB Notification: Performance of SimCode: time 9.31e-07/1.825, allocations: 0 / 1.065 GB, free: 13.49 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1355/1.961, allocations: 84.96 MB / 1.148 GB, free: 9.605 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000314/1.961, allocations: 241.9 kB / 1.148 GB, free: 9.359 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.138/7.099, allocations: 0 / 1.148 GB, free: 9.359 MB / 0.8419 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ReverseBuoyancy_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ReverseBuoyancy.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1) Environment - environmentSimulation: