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.8066/0.8066, allocations: 141.8 MB / 149.3 MB, free: 9.203 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.001064/0.001064, allocations: 184.8 kB / 182.2 MB, free: 9.426 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.45/1.45, allocations: 221.5 MB / 436.4 MB, free: 13.33 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.0009371/0.0009371, allocations: 84.11 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001671/0.001671, allocations: 283.3 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.791e-05/1.792e-05, allocations: 4 kB / 0.6766 GB, free: 12.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4086/0.4087, allocations: 82.77 MB / 0.7575 GB, free: 31.92 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.236/4.645, allocations: 1.897 GB / 2.654 GB, free: 121.4 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002255/4.645, allocations: 84.64 kB / 2.654 GB, free: 121.4 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.6/11.25, allocations: 1.946 GB / 4.6 GB, free: 52.51 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.353e-06/11.25, allocations: 0 / 4.6 GB, free: 52.51 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0001878/11.25, allocations: 85.66 kB / 4.6 GB, free: 52.5 MB / 0.7605 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.01235/11.26, allocations: 4.282 MB / 4.605 GB, free: 50.66 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/11.26, allocations: 9.281 kB / 4.605 GB, free: 50.66 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006617/11.26, allocations: 0.9921 MB / 4.606 GB, free: 50.45 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00417/11.27, allocations: 2.195 MB / 4.608 GB, free: 49.86 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.904e-05/11.27, allocations: 105.5 kB / 4.608 GB, free: 49.86 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004305/11.27, allocations: 205.2 kB / 4.608 GB, free: 49.85 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006263/11.28, allocations: 4.134 MB / 4.612 GB, free: 49.83 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005376/11.28, allocations: 3.612 MB / 4.616 GB, free: 49.52 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.613e-05/11.28, allocations: 1.969 kB / 4.616 GB, free: 49.52 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002918/11.28, allocations: 7.219 kB / 4.616 GB, free: 49.52 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001177/11.28, allocations: 148.5 kB / 4.616 GB, free: 49.51 MB / 0.7605 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.01699/11.3, allocations: 14.33 MB / 4.63 GB, free: 42.68 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005836/11.3, allocations: 5.076 MB / 4.635 GB, free: 41.73 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003142/11.31, allocations: 2.287 MB / 4.637 GB, free: 41.6 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001477/11.31, allocations: 1.617 MB / 4.639 GB, free: 39.89 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.249e-05/11.31, allocations: 75.92 kB / 4.639 GB, free: 39.82 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=392): time 6.382e-06/11.31, allocations: 7.656 kB / 4.639 GB, free: 39.82 MB / 0.7605 GB Notification: Performance of matching and sorting (n=392): time 0.007891/11.32, allocations: 3.989 MB / 4.643 GB, free: 38.46 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/11.32, allocations: 94.52 kB / 4.643 GB, free: 38.4 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00216/11.32, allocations: 1.18 MB / 4.644 GB, free: 37.92 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0002544/11.32, allocations: 32.39 kB / 4.644 GB, free: 37.89 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006577/11.32, allocations: 1.134 MB / 4.645 GB, free: 37.02 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009209/11.32, allocations: 1.271 MB / 4.646 GB, free: 36 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002026/11.32, allocations: 3.938 kB / 4.646 GB, free: 36 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001666/11.32, allocations: 434.3 kB / 4.647 GB, free: 35.64 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002031/11.32, allocations: 1.482 MB / 4.648 GB, free: 35.07 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002218/11.33, allocations: 1.876 MB / 4.65 GB, free: 34.13 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004303/11.33, allocations: 2.055 MB / 4.652 GB, free: 33.45 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.229e-05/11.33, allocations: 2.688 kB / 4.652 GB, free: 33.45 MB / 0.7605 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.00735/11.34, allocations: 4.187 MB / 4.656 GB, free: 30.06 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/11.34, allocations: 4 kB / 4.656 GB, free: 30.05 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.773e-05/11.34, allocations: 11 kB / 4.656 GB, free: 30.05 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.842e-05/11.34, allocations: 20 kB / 4.656 GB, free: 30.03 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003007/11.34, allocations: 0.7187 MB / 4.657 GB, free: 29.4 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.065e-05/11.34, allocations: 16 kB / 4.657 GB, free: 29.39 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003669/11.34, allocations: 356.5 kB / 4.657 GB, free: 29.11 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003532/11.34, allocations: 125.9 kB / 4.657 GB, free: 29 MB / 0.7605 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 () * 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.0005469/11.35, allocations: 157 kB / 4.657 GB, free: 28.84 MB / 0.7605 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006873/11.35, allocations: 3.963 MB / 4.661 GB, free: 25.37 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006576/11.35, allocations: 272.7 kB / 4.661 GB, free: 25.1 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007581/11.36, allocations: 4.379 MB / 4.666 GB, free: 21.46 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.146e-05/11.36, allocations: 36 kB / 4.666 GB, free: 21.42 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.28e-05/11.36, allocations: 0 / 4.666 GB, free: 21.42 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005756/11.37, allocations: 3.832 MB / 4.669 GB, free: 18.05 MB / 0.7605 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.01391/11.38, allocations: 8.685 MB / 4.678 GB, free: 10.91 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/11.38, allocations: 4 kB / 4.678 GB, free: 10.9 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00321/11.38, allocations: 0.7547 MB / 4.679 GB, free: 10.25 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.678e-05/11.38, allocations: 16 kB / 4.679 GB, free: 10.24 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002604/11.38, allocations: 50.33 kB / 4.679 GB, free: 10.2 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.839e-05/11.38, allocations: 15.84 kB / 4.679 GB, free: 10.19 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/11.38, allocations: 11.8 kB / 4.679 GB, free: 10.18 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009323/11.39, allocations: 6.955 MB / 4.686 GB, free: 3.871 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001789/11.39, allocations: 0.7903 MB / 4.686 GB, free: 3.176 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006159/11.4, allocations: 15.94 kB / 4.686 GB, free: 3.164 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002881/11.4, allocations: 207.4 kB / 4.687 GB, free: 3.035 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002934/11.4, allocations: 226.1 kB / 4.687 GB, free: 2.895 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002527/11.4, allocations: 127.7 kB / 4.687 GB, free: 2.785 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001342/11.4, allocations: 0.9062 MB / 4.688 GB, free: 1.969 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.7e-07/11.4, allocations: 0 / 4.688 GB, free: 1.969 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.004034/11.4, allocations: 1.422 MB / 4.689 GB, free: 0.5742 MB / 0.7605 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 () * 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.02029/11.42, allocations: 13.6 MB / 4.702 GB, free: 3.957 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.006857/11.43, allocations: 3.745 MB / 4.706 GB, free: 208 kB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.005e-05/11.43, allocations: 7.938 kB / 4.706 GB, free: 200 kB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.003266/11.43, allocations: 2.023 MB / 4.708 GB, free: 14.18 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00746/11.44, allocations: 1.284 MB / 4.709 GB, free: 12.94 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01615/11.46, allocations: 7.202 MB / 4.716 GB, free: 5.727 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002689/11.46, allocations: 2.265 MB / 4.719 GB, free: 3.43 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0049/11.47, allocations: 1.203 MB / 4.72 GB, free: 2.258 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002498/11.47, allocations: 1.382 MB / 4.721 GB, free: 0.875 MB / 0.7917 GB Notification: Performance of SimCode: time 7.41e-07/11.47, allocations: 0 / 4.721 GB, free: 0.875 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6774/12.15, allocations: 109.9 MB / 4.828 GB, free: 81.81 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001336/12.15, allocations: 187.8 kB / 4.829 GB, free: 81.62 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.574/17.72, allocations: 0 / 4.829 GB, free: 81.62 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)