Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.682/1.682, allocations: 289.9 MB / 297.4 MB, free: 6.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001237/0.001237, allocations: 173 kB / 366.7 MB, free: 1.648 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.858/1.858, allocations: 205.2 MB / 0.626 GB, free: 7.172 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001238/0.001238, allocations: 95.05 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.028e-05/2.03e-05, allocations: 4 kB / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.857/0.857, allocations: 116.3 MB / 0.9733 GB, free: 76.16 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.233/6.09, allocations: 2.088 GB / 3.061 GB, free: 40.77 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003108/6.091, allocations: 83.95 kB / 3.062 GB, free: 40.69 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.823/12.91, allocations: 1.71 GB / 4.771 GB, free: 101.4 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.665e-06/12.91, allocations: 0 / 4.771 GB, free: 101.4 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0003557/12.91, allocations: 70.2 kB / 4.771 GB, free: 101.4 MB / 0.9948 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.01548/12.93, allocations: 3.55 MB / 4.775 GB, free: 99.96 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/12.93, allocations: 6.531 kB / 4.775 GB, free: 99.96 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008099/12.94, allocations: 0.8965 MB / 4.776 GB, free: 99.8 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006449/12.94, allocations: 1.873 MB / 4.778 GB, free: 99.27 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002001/12.94, allocations: 86.27 kB / 4.778 GB, free: 99.26 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001293/12.95, allocations: 155.5 kB / 4.778 GB, free: 99.26 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007379/12.95, allocations: 2.987 MB / 4.781 GB, free: 99.25 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007699/12.96, allocations: 2.841 MB / 4.783 GB, free: 98.93 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001019/12.96, allocations: 11.62 kB / 4.783 GB, free: 98.92 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005859/12.96, allocations: 6.406 kB / 4.783 GB, free: 98.92 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001328/12.96, allocations: 121.6 kB / 4.784 GB, free: 98.91 MB / 0.9948 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.01957/12.98, allocations: 12.11 MB / 4.795 GB, free: 92.66 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004792/12.99, allocations: 3.767 MB / 4.799 GB, free: 91.56 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002727/12.99, allocations: 1.716 MB / 4.801 GB, free: 91.53 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001407/12.99, allocations: 1.497 MB / 4.802 GB, free: 89.93 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.822e-05/12.99, allocations: 63.69 kB / 4.802 GB, free: 89.88 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=278): time 4.979e-06/12.99, allocations: 3.562 kB / 4.802 GB, free: 89.88 MB / 0.9948 GB Notification: Performance of matching and sorting (n=278): time 0.006612/13, allocations: 2.813 MB / 4.805 GB, free: 89.64 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.346e-05/13, allocations: 81.72 kB / 4.805 GB, free: 89.58 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002607/13, allocations: 0.9967 MB / 4.806 GB, free: 89.43 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002771/13, allocations: 29.64 kB / 4.806 GB, free: 89.4 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008353/13, allocations: 0.9792 MB / 4.807 GB, free: 89 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001075/13, allocations: 0.912 MB / 4.808 GB, free: 88.38 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001712/13, allocations: 2.188 kB / 4.808 GB, free: 88.38 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0002115/13, allocations: 399.3 kB / 4.808 GB, free: 88.07 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001657/13, allocations: 1.069 MB / 4.809 GB, free: 88.06 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001867/13.01, allocations: 1.369 MB / 4.811 GB, free: 87.79 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003129/13.01, allocations: 1.408 MB / 4.812 GB, free: 87.74 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.477e-05/13.01, allocations: 0 / 4.812 GB, free: 87.74 MB / 0.9948 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.006151/13.02, allocations: 2.969 MB / 4.815 GB, free: 87.49 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.783e-05/13.02, allocations: 9.906 kB / 4.815 GB, free: 87.49 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.637e-05/13.02, allocations: 2.625 kB / 4.815 GB, free: 87.49 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.636e-05/13.02, allocations: 16.56 kB / 4.815 GB, free: 87.49 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002342/13.02, allocations: 0.5285 MB / 4.816 GB, free: 87.46 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.88e-05/13.02, allocations: 14.97 kB / 4.816 GB, free: 87.46 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003412/13.02, allocations: 278.4 kB / 4.816 GB, free: 87.36 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003363/13.02, allocations: 92.28 kB / 4.816 GB, free: 87.36 MB / 0.9948 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 () * 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.0005234/13.02, allocations: 146.3 kB / 4.816 GB, free: 87.22 MB / 0.9948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00543/13.03, allocations: 2.78 MB / 4.819 GB, free: 86.99 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008098/13.03, allocations: 221.8 kB / 4.819 GB, free: 86.88 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005784/13.03, allocations: 3.096 MB / 4.822 GB, free: 85.89 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.758e-05/13.03, allocations: 25.12 kB / 4.822 GB, free: 85.89 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-05/13.03, allocations: 0 / 4.822 GB, free: 85.89 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004297/13.04, allocations: 2.691 MB / 4.825 GB, free: 84.84 MB / 0.9948 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.01254/13.05, allocations: 6.294 MB / 4.831 GB, free: 82.15 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.846e-06/13.05, allocations: 0 / 4.831 GB, free: 82.15 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002697/13.05, allocations: 0.5741 MB / 4.831 GB, free: 82.11 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.892e-05/13.05, allocations: 10.16 kB / 4.831 GB, free: 82.11 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002401/13.05, allocations: 39.84 kB / 4.831 GB, free: 82.1 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.127e-05/13.05, allocations: 7.562 kB / 4.831 GB, free: 82.1 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/13.05, allocations: 0 / 4.831 GB, free: 82.1 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007495/13.06, allocations: 4.845 MB / 4.836 GB, free: 80.09 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001898/13.06, allocations: 0.621 MB / 4.837 GB, free: 79.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000699/13.06, allocations: 4 kB / 4.837 GB, free: 79.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003014/13.07, allocations: 189.3 kB / 4.837 GB, free: 79.68 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002569/13.07, allocations: 150.2 kB / 4.837 GB, free: 79.66 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002414/13.07, allocations: 93.84 kB / 4.837 GB, free: 79.64 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.00167/13.07, allocations: 0.7632 MB / 4.838 GB, free: 79.31 MB / 0.9948 GB Notification: Performance of sort global known variables: time 2.31e-07/13.07, allocations: 0 / 4.838 GB, free: 79.31 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.004359/13.07, allocations: 1.171 MB / 4.839 GB, free: 78.98 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.U,volOut.dynBal.m,volOut.dynBal.mXi[1],oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,oriEasTop.mExc,volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mXi[1],volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete 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.01484/13.09, allocations: 9.987 MB / 4.849 GB, free: 73.1 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.004677/13.09, allocations: 2.708 MB / 4.851 GB, free: 70.57 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 7.805e-06/13.09, allocations: 3.594 kB / 4.851 GB, free: 70.57 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.00218/13.1, allocations: 1.462 MB / 4.853 GB, free: 69.21 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007067/13.1, allocations: 1.125 MB / 4.854 GB, free: 68.46 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01383/13.12, allocations: 5.679 MB / 4.86 GB, free: 63.91 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002247/13.12, allocations: 1.943 MB / 4.861 GB, free: 62.36 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.004749/13.12, allocations: 0.8435 MB / 4.862 GB, free: 61.77 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002532/13.13, allocations: 1.09 MB / 4.863 GB, free: 60.77 MB / 0.9948 GB Notification: Performance of SimCode: time 1.383e-06/13.13, allocations: 0 / 4.863 GB, free: 60.77 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1654/13.29, allocations: 91.54 MB / 4.953 GB, free: 6.059 MB / 1.026 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002378/13.29, allocations: 140 kB / 4.953 GB, free: 5.871 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.925/19.22, allocations: 4 kB / 4.953 GB, free: 5.867 MB / 1.026 GB (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)