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/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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/BuildSysPro 3.5.0/package.mo): time 0.7224/0.7224, allocations: 127.4 MB / 134.9 MB, free: 3.703 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001044/0.001044, allocations: 180.8 kB / 164.7 MB, free: 6.496 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.777/1.777, allocations: 205.2 MB / 399.5 MB, free: 5.863 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008807/0.0008805, allocations: 82.42 kB / 476.7 MB, free: 8.59 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.932e-05/1.935e-05, allocations: 0 / 0.5466 GB, free: 60.4 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1758/0.1758, allocations: 76.77 MB / 0.6216 GB, free: 15.56 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.306/6.482, allocations: 2.167 GB / 2.789 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003345/6.482, allocations: 86.7 kB / 2.789 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 8.158/14.64, allocations: 1.906 GB / 4.695 GB, free: 61.88 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.354e-06/14.64, allocations: 2.812 kB / 4.695 GB, free: 61.88 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.000291/14.64, allocations: 84.95 kB / 4.695 GB, free: 61.87 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 864 * Number of variables: 864 Notification: Performance of Generate backend data structure: time 0.02048/14.66, allocations: 4.353 MB / 4.699 GB, free: 60.31 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.021e-05/14.66, allocations: 9.094 kB / 4.699 GB, free: 60.31 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009299/14.67, allocations: 0.9932 MB / 4.7 GB, free: 60.1 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009196/14.68, allocations: 2.324 MB / 4.703 GB, free: 59.56 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002242/14.68, allocations: 105.9 kB / 4.703 GB, free: 59.56 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00127/14.68, allocations: 202 kB / 4.703 GB, free: 59.56 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00932/14.69, allocations: 4.205 MB / 4.707 GB, free: 59.54 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007354/14.7, allocations: 3.677 MB / 4.711 GB, free: 59.23 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001098/14.7, allocations: 7.438 kB / 4.711 GB, free: 59.23 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003748/14.7, allocations: 6.953 kB / 4.711 GB, free: 59.23 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001884/14.7, allocations: 156.8 kB / 4.711 GB, free: 59.23 MB / 0.7292 GB Warning: The model contains alias variables with conflicting start and/or 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.02451/14.72, allocations: 14.52 MB / 4.725 GB, free: 52.46 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006593/14.73, allocations: 5.03 MB / 4.73 GB, free: 51.53 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003693/14.73, allocations: 2.277 MB / 4.732 GB, free: 51.5 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001696/14.74, allocations: 1.643 MB / 4.734 GB, free: 49.81 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.917e-05/14.74, allocations: 77.42 kB / 4.734 GB, free: 49.77 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=391): time 6.963e-06/14.74, allocations: 0 / 4.734 GB, free: 49.77 MB / 0.7292 GB Notification: Performance of matching and sorting (n=391): time 0.009171/14.74, allocations: 3.978 MB / 4.738 GB, free: 49.5 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.962e-05/14.74, allocations: 94.48 kB / 4.738 GB, free: 49.43 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002219/14.75, allocations: 1.221 MB / 4.739 GB, free: 49.28 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0003807/14.75, allocations: 28.58 kB / 4.739 GB, free: 49.25 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007587/14.75, allocations: 1.181 MB / 4.74 GB, free: 48.77 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.001163/14.75, allocations: 1.269 MB / 4.741 GB, free: 47.9 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000175/14.75, allocations: 0 / 4.741 GB, free: 47.9 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001754/14.75, allocations: 444.8 kB / 4.742 GB, free: 47.59 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002062/14.75, allocations: 1.48 MB / 4.743 GB, free: 47.58 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002358/14.75, allocations: 1.887 MB / 4.745 GB, free: 47.26 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004347/14.76, allocations: 2.063 MB / 4.747 GB, free: 47.21 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.205e-05/14.76, allocations: 5.656 kB / 4.747 GB, free: 47.21 MB / 0.7292 GB Notification: Performance of matching and sorting (n=434) (initialization): time 0.008695/14.77, allocations: 4.198 MB / 4.751 GB, free: 46.96 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.947e-05/14.77, allocations: 9.562 kB / 4.751 GB, free: 46.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.089e-05/14.77, allocations: 3.656 kB / 4.751 GB, free: 46.96 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.326e-05/14.77, allocations: 24.81 kB / 4.751 GB, free: 46.96 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003194/14.77, allocations: 0.719 MB / 4.752 GB, free: 46.96 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-05/14.77, allocations: 29.34 kB / 4.752 GB, free: 46.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004415/14.78, allocations: 353.1 kB / 4.752 GB, free: 46.82 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000393/14.78, allocations: 126.3 kB / 4.752 GB, free: 46.82 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (434): * Single equations (assignments): 434 * 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.0009555/14.78, allocations: 160.1 kB / 4.753 GB, free: 46.71 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01056/14.79, allocations: 3.943 MB / 4.756 GB, free: 46.45 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001345/14.79, allocations: 281.3 kB / 4.757 GB, free: 46.31 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01118/14.8, allocations: 4.367 MB / 4.761 GB, free: 46.12 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.16e-05/14.8, allocations: 38.28 kB / 4.761 GB, free: 46.12 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.818e-05/14.8, allocations: 2.281 kB / 4.761 GB, free: 46.12 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008729/14.81, allocations: 3.824 MB / 4.765 GB, free: 45.78 MB / 0.7292 GB Warning: The model contains alias variables with conflicting start and/or 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 postOpt removeSimpleEquations (simulation): time 0.02362/14.83, allocations: 8.677 MB / 4.773 GB, free: 44.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.136e-05/14.83, allocations: 5.188 kB / 4.773 GB, free: 44.63 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004176/14.84, allocations: 0.7456 MB / 4.774 GB, free: 44.63 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.778e-05/14.84, allocations: 18.48 kB / 4.774 GB, free: 44.62 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007706/14.84, allocations: 44.06 kB / 4.774 GB, free: 44.62 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.324e-05/14.84, allocations: 18.88 kB / 4.774 GB, free: 44.62 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.544e-06/14.84, allocations: 6.781 kB / 4.774 GB, free: 44.62 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01372/14.85, allocations: 6.898 MB / 4.781 GB, free: 43.92 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002931/14.85, allocations: 0.8186 MB / 4.782 GB, free: 43.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001289/14.86, allocations: 6.641 kB / 4.782 GB, free: 43.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004279/14.86, allocations: 232.5 kB / 4.782 GB, free: 43.61 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005948/14.86, allocations: 219.1 kB / 4.782 GB, free: 43.61 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005313/14.86, allocations: 129.3 kB / 4.782 GB, free: 43.61 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002235/14.86, allocations: 0.9344 MB / 4.783 GB, free: 43.5 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.71e-07/14.86, allocations: 0 / 4.783 GB, free: 43.5 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.006206/14.87, allocations: 1.447 MB / 4.784 GB, free: 43.35 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 20 (volBotEas.dynBal.U,volBotEas.dynBal.m,volBotEas.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volBotWes.dynBal.U,volBotWes.dynBal.m,volBotWes.dynBal.mXi[1],oriEasTop.mExc,volTopEas.dynBal.U,volTopEas.dynBal.m,volTopEas.dynBal.mXi[1],volTopWes.dynBal.U,volTopWes.dynBal.m,volTopWes.dynBal.mXi[1],dooOpeCloTop.mExcAB,dooOpeCloTop.mExcBA) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (391): * Single equations (assignments): 391 * 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.02275/14.89, allocations: 13.57 MB / 4.798 GB, free: 38.86 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.008257/14.9, allocations: 3.742 MB / 4.801 GB, free: 37.58 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.066e-05/14.9, allocations: 3.406 kB / 4.801 GB, free: 37.58 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.004067/14.9, allocations: 2.02 MB / 4.803 GB, free: 36.93 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008493/14.91, allocations: 1.309 MB / 4.805 GB, free: 36.7 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0217/14.93, allocations: 7.277 MB / 4.812 GB, free: 32.95 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003484/14.94, allocations: 2.294 MB / 4.814 GB, free: 31.16 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.006807/14.95, allocations: 1.206 MB / 4.815 GB, free: 30.34 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003678/14.95, allocations: 1.409 MB / 4.817 GB, free: 29.05 MB / 0.7292 GB Notification: Performance of SimCode: time 1.162e-06/14.95, allocations: 0 / 4.817 GB, free: 29.05 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8253/15.77, allocations: 112.1 MB / 4.926 GB, free: 69.04 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001648/15.77, allocations: 179 kB / 4.926 GB, free: 68.85 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.473/22.25, allocations: 3.219 kB / 4.926 GB, free: 68.85 MB / 0.7448 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)