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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.9871/0.9871, allocations: 143.4 MB / 158.3 MB, free: 5.781 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00148/0.00148, allocations: 181 kB / 191.5 MB, free: 5.754 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.657/1.657, allocations: 223.2 MB / 447.7 MB, free: 4.805 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000955/0.0009551, allocations: 92.27 kB / 0.5187 GB, free: 1.152 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001937/0.001937, allocations: 268.1 kB / 0.6005 GB, free: 48.73 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004624/0.0004623, allocations: 13.88 kB / 0.6929 GB, free: 59.68 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.2209, allocations: 82.79 MB / 0.7738 GB, free: 13.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.914/5.135, allocations: 1.898 GB / 2.671 GB, free: 129.5 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003158/5.135, allocations: 99.06 kB / 2.671 GB, free: 129.5 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.931/12.07, allocations: 1.968 GB / 4.64 GB, free: 57.54 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.404e-06/12.07, allocations: 1.25 kB / 4.64 GB, free: 57.54 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0002536/12.07, allocations: 86.69 kB / 4.64 GB, free: 57.53 MB / 0.7761 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.01959/12.09, allocations: 4.774 MB / 4.644 GB, free: 55.73 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.165e-05/12.09, allocations: 12 kB / 4.644 GB, free: 55.73 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002282/12.09, allocations: 461.3 kB / 4.645 GB, free: 55.67 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008202/12.1, allocations: 0.999 MB / 4.646 GB, free: 55.46 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007362/12.1, allocations: 2.207 MB / 4.648 GB, free: 54.95 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003522/12.1, allocations: 248.2 kB / 4.648 GB, free: 54.94 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001534/12.11, allocations: 340.9 kB / 4.648 GB, free: 54.93 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01494/12.12, allocations: 4.135 MB / 4.652 GB, free: 54.61 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002007/12.12, allocations: 10.58 kB / 4.652 GB, free: 54.61 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008337/12.12, allocations: 136.6 kB / 4.653 GB, free: 54.61 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002107/12.12, allocations: 153.4 kB / 4.653 GB, free: 54.6 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009201/12.13, allocations: 4.634 MB / 4.657 GB, free: 54.57 MB / 0.7761 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/12.16, allocations: 14.68 MB / 4.672 GB, free: 47.8 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006203/12.16, allocations: 4.321 MB / 4.676 GB, free: 47.7 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001526/12.16, allocations: 1.61 MB / 4.677 GB, free: 46.01 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.964e-05/12.16, allocations: 76.23 kB / 4.677 GB, free: 45.96 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=392): time 6.673e-06/12.16, allocations: 3.938 kB / 4.677 GB, free: 45.96 MB / 0.7761 GB Notification: Performance of matching and sorting (n=392): time 0.01075/12.17, allocations: 5.486 MB / 4.683 GB, free: 45.68 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/12.17, allocations: 92.33 kB / 4.683 GB, free: 45.62 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003038/12.18, allocations: 1.447 MB / 4.684 GB, free: 45.41 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0004353/12.18, allocations: 94.95 kB / 4.684 GB, free: 45.38 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009342/12.18, allocations: 1.131 MB / 4.686 GB, free: 44.96 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.001339/12.18, allocations: 1.32 MB / 4.687 GB, free: 44.09 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003336/12.18, allocations: 69.16 kB / 4.687 GB, free: 44.09 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002798/12.18, allocations: 443.6 kB / 4.687 GB, free: 43.79 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002735/12.18, allocations: 1.54 MB / 4.689 GB, free: 43.78 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003052/12.19, allocations: 1.957 MB / 4.691 GB, free: 43.46 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003286/12.19, allocations: 1.835 MB / 4.692 GB, free: 43.42 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.025e-05/12.19, allocations: 0 / 4.692 GB, free: 43.42 MB / 0.7761 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007916/12.2, allocations: 4.131 MB / 4.697 GB, free: 43.16 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.128e-05/12.2, allocations: 9.688 kB / 4.697 GB, free: 43.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.088e-05/12.2, allocations: 6.469 kB / 4.697 GB, free: 43.16 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.365e-05/12.2, allocations: 25.98 kB / 4.697 GB, free: 43.16 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0032/12.2, allocations: 0.6966 MB / 4.697 GB, free: 43.16 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.261e-05/12.2, allocations: 22.53 kB / 4.697 GB, free: 43.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004093/12.2, allocations: 438.4 kB / 4.698 GB, free: 43.01 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003706/12.21, allocations: 116.4 kB / 4.698 GB, free: 43.01 MB / 0.7761 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.002178/12.21, allocations: 0.8103 MB / 4.699 GB, free: 42.88 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001044/12.21, allocations: 293.7 kB / 4.699 GB, free: 42.74 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007655/12.22, allocations: 4.393 MB / 4.703 GB, free: 42.55 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.293e-05/12.22, allocations: 39.41 kB / 4.703 GB, free: 42.55 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-05/12.22, allocations: 0 / 4.703 GB, free: 42.55 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005274/12.22, allocations: 3.764 MB / 4.707 GB, free: 42.21 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01627/12.24, allocations: 8.582 MB / 4.715 GB, free: 41.42 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.656e-05/12.24, allocations: 11 kB / 4.715 GB, free: 41.41 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003428/12.24, allocations: 0.733 MB / 4.716 GB, free: 41.41 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.229e-05/12.24, allocations: 16.28 kB / 4.716 GB, free: 41.41 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003416/12.24, allocations: 90.98 kB / 4.716 GB, free: 41.41 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.47e-05/12.24, allocations: 19.31 kB / 4.716 GB, free: 41.41 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/12.24, allocations: 2.906 kB / 4.716 GB, free: 41.41 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01063/12.25, allocations: 6.942 MB / 4.723 GB, free: 38.54 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002608/12.26, allocations: 0.7991 MB / 4.724 GB, free: 38.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00119/12.26, allocations: 74.52 kB / 4.724 GB, free: 38.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004155/12.26, allocations: 267.3 kB / 4.724 GB, free: 37.95 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004543/12.26, allocations: 221.2 kB / 4.724 GB, free: 37.92 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003639/12.26, allocations: 117.1 kB / 4.724 GB, free: 37.89 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.002659/12.26, allocations: 1.128 MB / 4.725 GB, free: 37.44 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.492e-06/12.26, allocations: 0 / 4.725 GB, free: 37.44 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.00631/12.27, allocations: 1.681 MB / 4.727 GB, free: 36.96 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 () * 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.01881/12.29, allocations: 13.14 MB / 4.74 GB, free: 30.25 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.007446/12.3, allocations: 3.903 MB / 4.744 GB, free: 28.97 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 8.557e-06/12.3, allocations: 0 / 4.744 GB, free: 28.97 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.004474/12.3, allocations: 2.096 MB / 4.746 GB, free: 28.32 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009324/12.31, allocations: 1.468 MB / 4.747 GB, free: 28.04 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02167/12.33, allocations: 14.04 MB / 4.761 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003124/12.34, allocations: 2.256 MB / 4.763 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.006596/12.34, allocations: 1.208 MB / 4.764 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002728/12.34, allocations: 1.381 MB / 4.766 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of SimCode: time 1.793e-06/12.34, allocations: 0 / 4.766 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7584/13.1, allocations: 145.1 MB / 4.907 GB, free: 56.23 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001431/13.1, allocations: 232 kB / 4.908 GB, free: 55.99 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.073/20.18, allocations: 0 / 4.908 GB, free: 55.99 MB / 0.7917 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/linux/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)