Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.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.ReverseBuoyancy3Zones,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",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.0008332/0.0008332, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.0009818/0.0009819, allocations: 168.7 kB / 15.95 MB, free: 204 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.546/1.546, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.089/1.089, allocations: 143.4 MB / 434.4 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005175/0.0005176, allocations: 8 kB / 0.5161 GB, free: 11.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1771/0.1777, allocations: 83.42 MB / 0.5975 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 1.16/1.337, allocations: 269.8 MB / 0.861 GB, free: 9.434 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02031/1.358, allocations: 16 MB / 0.8767 GB, free: 9.273 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003522/1.361, allocations: 63.59 kB / 0.8767 GB, free: 9.273 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003662/1.365, allocations: 1.24 MB / 0.8779 GB, free: 9.25 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01294/1.378, allocations: 4.688 MB / 0.8825 GB, free: 9.047 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.006461/1.384, allocations: 2.027 MB / 0.8845 GB, free: 8.996 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01192/1.396, allocations: 9.367 MB / 0.8936 GB, free: 8.984 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00464/1.401, allocations: 1.926 MB / 0.8955 GB, free: 24.72 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006848/1.408, allocations: 2.39 MB / 0.8978 GB, free: 24.72 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008069/1.416, allocations: 2.626 MB / 0.9004 GB, free: 24.71 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0009188/1.417, allocations: 160.2 kB / 0.9006 GB, free: 24.71 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01163/1.429, allocations: 3.052 MB / 0.9035 GB, free: 24.64 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.002911/1.432, allocations: 1.154 MB / 0.9047 GB, free: 24.64 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002955/1.434, allocations: 0.6682 MB / 0.9053 GB, free: 24.61 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.009945/1.444, allocations: 4.732 MB / 0.9099 GB, free: 24.26 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/1.444, allocations: 0.5625 kB / 0.9099 GB, free: 24.26 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.944e-06/1.444, allocations: 0 / 0.9099 GB, free: 24.26 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0002349/1.445, allocations: 0.5312 kB / 0.9099 GB, free: 24.26 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: 669 * Number of variables: 669 Notification: Performance of Generate backend data structure: time 0.01567/1.46, allocations: 3.596 MB / 0.9135 GB, free: 22.66 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.361e-05/1.46, allocations: 14.34 kB / 0.9135 GB, free: 22.66 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001584/1.462, allocations: 366.2 kB / 0.9138 GB, free: 22.61 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007669/1.47, allocations: 0.9217 MB / 0.9147 GB, free: 22.43 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005485/1.475, allocations: 1.784 MB / 0.9165 GB, free: 21.97 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002683/1.476, allocations: 192.9 kB / 0.9166 GB, free: 21.96 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001131/1.477, allocations: 259 kB / 0.9169 GB, free: 21.96 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009305/1.486, allocations: 3.315 MB / 0.9201 GB, free: 21.42 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001307/1.486, allocations: 3.906 kB / 0.9201 GB, free: 21.41 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006516/1.487, allocations: 107.4 kB / 0.9202 GB, free: 21.41 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001798/1.487, allocations: 144.1 kB / 0.9204 GB, free: 21.39 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007214/1.494, allocations: 3.475 MB / 0.9238 GB, free: 20.76 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.01935/1.514, allocations: 12.11 MB / 0.9356 GB, free: 12.97 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005109/1.519, allocations: 3.494 MB / 0.939 GB, free: 12.08 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002875/1.522, allocations: 1.793 MB / 0.9408 GB, free: 11.82 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001601/1.523, allocations: 1.497 MB / 0.9422 GB, free: 10.16 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.847e-05/1.523, allocations: 61.78 kB / 0.9423 GB, free: 10.12 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=278): time 6.592e-06/1.523, allocations: 0 / 0.9423 GB, free: 10.12 MB / 0.6856 GB Notification: Performance of matching and sorting (n=278): time 0.007367/1.531, allocations: 3.872 MB / 0.9461 GB, free: 9.449 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.782e-05/1.531, allocations: 87.88 kB / 0.9462 GB, free: 9.379 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002498/1.533, allocations: 1.368 MB / 0.9475 GB, free: 8.992 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002886/1.534, allocations: 77.2 kB / 0.9476 GB, free: 8.961 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006982/1.534, allocations: 0.9804 MB / 0.9485 GB, free: 8.473 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009595/1.535, allocations: 0.9411 MB / 0.9494 GB, free: 7.777 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001828/1.536, allocations: 47.84 kB / 0.9495 GB, free: 7.777 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0002284/1.536, allocations: 407.1 kB / 0.9499 GB, free: 7.438 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001834/1.538, allocations: 1.084 MB / 0.9509 GB, free: 7.277 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002015/1.54, allocations: 1.354 MB / 0.9523 GB, free: 6.906 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002166/1.542, allocations: 1.278 MB / 0.9535 GB, free: 6.754 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.51e-05/1.542, allocations: 0 / 0.9535 GB, free: 6.754 MB / 0.6856 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005137/1.547, allocations: 2.956 MB / 0.9564 GB, free: 6.238 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.732e-05/1.547, allocations: 6.375 kB / 0.9564 GB, free: 6.238 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.691e-05/1.547, allocations: 6.688 kB / 0.9564 GB, free: 6.238 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.813e-05/1.547, allocations: 17.41 kB / 0.9564 GB, free: 6.238 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002196/1.549, allocations: 0.5159 MB / 0.9569 GB, free: 6.172 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.835e-05/1.549, allocations: 21.97 kB / 0.9569 GB, free: 6.168 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003297/1.553, allocations: 375.8 kB / 0.9573 GB, free: 5.988 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002139/1.553, allocations: 85.27 kB / 0.9574 GB, free: 5.984 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (311): * Single equations (assignments): 311 * 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.001625/1.555, allocations: 0.6467 MB / 0.958 GB, free: 5.801 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008648/1.555, allocations: 231.3 kB / 0.9582 GB, free: 5.688 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005719/1.561, allocations: 3.109 MB / 0.9613 GB, free: 4.387 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.246e-05/1.561, allocations: 28 kB / 0.9613 GB, free: 4.359 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.369e-05/1.561, allocations: 3.953 kB / 0.9613 GB, free: 4.355 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00406/1.565, allocations: 2.641 MB / 0.9639 GB, free: 2.531 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01135/1.577, allocations: 6.22 MB / 0.97 GB, free: 14.34 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-05/1.577, allocations: 4 kB / 0.97 GB, free: 14.34 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002593/1.579, allocations: 0.54 MB / 0.9705 GB, free: 13.84 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.205e-05/1.579, allocations: 8 kB / 0.9705 GB, free: 13.83 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002144/1.58, allocations: 65.19 kB / 0.9706 GB, free: 13.81 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.269e-05/1.58, allocations: 12 kB / 0.9706 GB, free: 13.8 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/1.58, allocations: 0 / 0.9706 GB, free: 13.8 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0072/1.587, allocations: 4.544 MB / 0.975 GB, free: 10.71 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001881/1.589, allocations: 0.6147 MB / 0.9756 GB, free: 10.21 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006579/1.589, allocations: 55.98 kB / 0.9757 GB, free: 10.2 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002597/1.592, allocations: 226.3 kB / 0.9759 GB, free: 10.01 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003155/1.592, allocations: 168.9 kB / 0.976 GB, free: 9.867 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002059/1.593, allocations: 77.98 kB / 0.9761 GB, free: 9.809 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001693/1.594, allocations: 0.9303 MB / 0.977 GB, free: 9.137 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.7e-07/1.594, allocations: 0 / 0.977 GB, free: 9.137 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.003224/1.598, allocations: 0.9821 MB / 0.978 GB, free: 8.234 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,oriEasTop.mExc,volTop.dynBal.medium.Xi[1],volTop.dynBal.U,volTop.dynBal.m,volWes.dynBal.medium.Xi[1],volWes.dynBal.U,volWes.dynBal.m) * 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 (278): * Single equations (assignments): 278 * 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.008149/1.606, allocations: 5.395 MB / 0.9832 GB, free: 4.383 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.004577/1.61, allocations: 2.75 MB / 0.9859 GB, free: 2.5 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/1.61, allocations: 0 / 0.9859 GB, free: 2.5 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.002157/1.612, allocations: 1.501 MB / 0.9874 GB, free: 1.508 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006657/1.619, allocations: 1.309 MB / 0.9887 GB, free: 484 kB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03181/1.651, allocations: 17.48 MB / 1.006 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002147/1.653, allocations: 1.896 MB / 1.008 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.003809/1.657, allocations: 0.8435 MB / 1.008 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001797/1.659, allocations: 1.088 MB / 1.009 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of SimCode: time 1.062e-06/1.659, allocations: 4 kB / 1.009 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1095/1.768, allocations: 67.95 MB / 1.076 GB, free: 11.3 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00017/1.769, allocations: 199.9 kB / 1.076 GB, free: 11.06 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.282/6.05, allocations: 0 / 1.076 GB, free: 11.06 MB / 0.795 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ReverseBuoyancy3Zones_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) Environment - environmentSimulation: