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: translateModel(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy") translateModel(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7826/0.7826, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 186.8 kB / 187.3 MB, free: 11.87 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.294/1.294, allocations: 221.3 MB / 441.4 MB, free: 4.613 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.0008992/0.0008993, allocations: 99.34 kB / 0.5124 GB, free: 24.14 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001798/0.001798, allocations: 265.9 kB / 0.5939 GB, free: 7.961 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.162e-05/3.196e-05, allocations: 4 kB / 0.6834 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3505/0.3506, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.625/3.976, allocations: 1.897 GB / 2.662 GB, free: 109.8 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002379/3.976, allocations: 92.08 kB / 2.662 GB, free: 109.7 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.434/10.41, allocations: 1.966 GB / 4.628 GB, free: 61.63 MB / 0.7761 GB Notification: Performance of FrontEnd: time 4.008e-06/10.41, allocations: 0 / 4.628 GB, free: 61.63 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0003271/10.41, allocations: 91.06 kB / 4.628 GB, free: 61.61 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.01561/10.43, allocations: 4.27 MB / 4.633 GB, free: 59.78 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/10.43, allocations: 11.72 kB / 4.633 GB, free: 59.78 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007268/10.43, allocations: 0.9898 MB / 4.634 GB, free: 59.57 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004955/10.44, allocations: 2.197 MB / 4.636 GB, free: 58.98 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001688/10.44, allocations: 249.1 kB / 4.636 GB, free: 58.97 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005185/10.44, allocations: 338.1 kB / 4.636 GB, free: 58.96 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006282/10.44, allocations: 4.071 MB / 4.64 GB, free: 58.63 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.267e-05/10.45, allocations: 3.125 kB / 4.64 GB, free: 58.63 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003223/10.45, allocations: 136.3 kB / 4.64 GB, free: 58.63 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000121/10.45, allocations: 151.5 kB / 4.64 GB, free: 58.62 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006397/10.45, allocations: 4.54 MB / 4.645 GB, free: 58.57 MB / 0.7761 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.01704/10.47, allocations: 14.69 MB / 4.659 GB, free: 51.33 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004744/10.47, allocations: 4.259 MB / 4.663 GB, free: 49.32 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002934/10.48, allocations: 2.388 MB / 4.666 GB, free: 47.12 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001314/10.48, allocations: 1.611 MB / 4.667 GB, free: 45.25 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.717e-05/10.48, allocations: 77.64 kB / 4.667 GB, free: 45.16 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=392): time 7.174e-06/10.48, allocations: 4 kB / 4.667 GB, free: 45.16 MB / 0.7761 GB Notification: Performance of matching and sorting (n=392): time 0.005935/10.48, allocations: 3.839 MB / 4.671 GB, free: 41.69 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/10.48, allocations: 94.48 kB / 4.671 GB, free: 41.59 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001868/10.49, allocations: 1.427 MB / 4.673 GB, free: 40.24 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.000246/10.49, allocations: 101.7 kB / 4.673 GB, free: 40.14 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005575/10.49, allocations: 1.128 MB / 4.674 GB, free: 39.12 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008691/10.49, allocations: 1.322 MB / 4.675 GB, free: 37.92 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001709/10.49, allocations: 68 kB / 4.675 GB, free: 37.86 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001382/10.49, allocations: 437.9 kB / 4.676 GB, free: 37.46 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002119/10.49, allocations: 1.51 MB / 4.677 GB, free: 36.07 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002363/10.49, allocations: 1.925 MB / 4.679 GB, free: 34.21 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002422/10.49, allocations: 1.806 MB / 4.681 GB, free: 32.66 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/10.49, allocations: 0 / 4.681 GB, free: 32.66 MB / 0.7761 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.005583/10.5, allocations: 4.068 MB / 4.685 GB, free: 28.97 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.751e-05/10.5, allocations: 5.25 kB / 4.685 GB, free: 28.97 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/10.5, allocations: 8 kB / 4.685 GB, free: 28.96 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.567e-05/10.5, allocations: 20 kB / 4.685 GB, free: 28.94 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002891/10.5, allocations: 0.702 MB / 4.685 GB, free: 28.32 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.169e-05/10.5, allocations: 27.55 kB / 4.685 GB, free: 28.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00319/10.51, allocations: 435.8 kB / 4.686 GB, free: 27.92 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000245/10.51, allocations: 123.3 kB / 4.686 GB, free: 27.81 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 () * 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.0004822/10.51, allocations: 284.4 kB / 4.686 GB, free: 27.52 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004254/10.51, allocations: 288.4 kB / 4.687 GB, free: 27.24 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006489/10.51, allocations: 4.343 MB / 4.691 GB, free: 23.48 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.97e-05/10.51, allocations: 39.94 kB / 4.691 GB, free: 23.44 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.338e-06/10.51, allocations: 0 / 4.691 GB, free: 23.44 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004548/10.52, allocations: 3.69 MB / 4.694 GB, free: 20.09 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01195/10.53, allocations: 8.549 MB / 4.703 GB, free: 12 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/10.53, allocations: 0 / 4.703 GB, free: 12 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00321/10.53, allocations: 0.7454 MB / 4.703 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.438e-05/10.53, allocations: 20 kB / 4.704 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002215/10.53, allocations: 87.97 kB / 4.704 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.529e-05/10.53, allocations: 16 kB / 4.704 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/10.53, allocations: 4 kB / 4.704 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007998/10.54, allocations: 6.842 MB / 4.71 GB, free: 4.098 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001797/10.54, allocations: 0.7972 MB / 4.711 GB, free: 3.277 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003903/10.54, allocations: 72 kB / 4.711 GB, free: 3.207 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002412/10.55, allocations: 267.5 kB / 4.711 GB, free: 2.945 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003275/10.55, allocations: 230.8 kB / 4.712 GB, free: 2.719 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002248/10.55, allocations: 112 kB / 4.712 GB, free: 2.609 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001354/10.55, allocations: 1.114 MB / 4.713 GB, free: 1.465 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.7e-07/10.55, allocations: 0 / 4.713 GB, free: 1.465 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.003735/10.55, allocations: 1.67 MB / 4.714 GB, free: 15.79 MB / 0.7917 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.007218/10.56, allocations: 5.116 MB / 4.719 GB, free: 10.32 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.006371/10.57, allocations: 3.84 MB / 4.723 GB, free: 6.465 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/10.57, allocations: 0 / 4.723 GB, free: 6.465 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.002939/10.57, allocations: 2.063 MB / 4.725 GB, free: 4.402 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00725/10.58, allocations: 1.48 MB / 4.727 GB, free: 2.977 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4802/11.06, allocations: 6.617 MB / 4.733 GB, free: 82.45 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002471/11.06, allocations: 2.264 MB / 4.735 GB, free: 81.68 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.004649/11.06, allocations: 1.2 MB / 4.736 GB, free: 81.65 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001049/11.07, allocations: 281.5 kB / 4.737 GB, free: 81.64 MB / 0.7917 GB Notification: Performance of SimCode: time 8.92e-07/11.07, allocations: 0.75 kB / 4.737 GB, free: 81.64 MB / 0.7917 GB Notification: Performance of Templates: time 0.164/11.23, allocations: 115.5 MB / 4.85 GB, free: 76.63 MB / 0.7917 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.makefile (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 & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)