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.8218/0.8218, allocations: 141.8 MB / 149.3 MB, free: 9.219 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.001046/0.001046, allocations: 176.7 kB / 182.2 MB, free: 9.461 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.339/1.339, allocations: 221.5 MB / 436.4 MB, free: 13.25 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.0009254/0.0009254, allocations: 88.09 kB / 0.5074 GB, free: 10.09 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001669/0.001669, allocations: 290.4 kB / 0.5889 GB, free: 54.64 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.386e-05/1.38e-05, allocations: 0 / 0.6765 GB, free: 12.81 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3418/0.3418, allocations: 82.77 MB / 0.7574 GB, free: 32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.532/3.874, allocations: 1.897 GB / 2.654 GB, free: 122.1 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002038/3.874, allocations: 88.08 kB / 2.654 GB, free: 122.1 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.429/10.3, allocations: 1.946 GB / 4.6 GB, free: 52.42 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.643e-06/10.3, allocations: 0 / 4.6 GB, free: 52.42 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0003237/10.3, allocations: 86.86 kB / 4.6 GB, free: 52.41 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.01659/10.32, allocations: 4.282 MB / 4.605 GB, free: 50.57 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/10.32, allocations: 9.5 kB / 4.605 GB, free: 50.57 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007874/10.33, allocations: 0.9991 MB / 4.606 GB, free: 50.36 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006121/10.33, allocations: 2.189 MB / 4.608 GB, free: 49.77 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001771/10.33, allocations: 102.1 kB / 4.608 GB, free: 49.77 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00122/10.34, allocations: 203.9 kB / 4.608 GB, free: 49.76 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008141/10.34, allocations: 4.137 MB / 4.612 GB, free: 49.75 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008019/10.35, allocations: 3.608 MB / 4.616 GB, free: 49.43 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.883e-05/10.35, allocations: 13.69 kB / 4.616 GB, free: 49.43 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003153/10.35, allocations: 2.375 kB / 4.616 GB, free: 49.43 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001257/10.35, allocations: 149.1 kB / 4.616 GB, free: 49.42 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.01753/10.37, allocations: 14.32 MB / 4.63 GB, free: 42.59 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005188/10.38, allocations: 5.071 MB / 4.635 GB, free: 41.64 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002652/10.38, allocations: 2.293 MB / 4.637 GB, free: 41.61 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00131/10.38, allocations: 1.616 MB / 4.638 GB, free: 39.92 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.384e-05/10.38, allocations: 76.8 kB / 4.639 GB, free: 39.88 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=392): time 6.422e-06/10.38, allocations: 3.562 kB / 4.639 GB, free: 39.88 MB / 0.7605 GB Notification: Performance of matching and sorting (n=392): time 0.007231/10.39, allocations: 3.998 MB / 4.642 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/10.39, allocations: 91.45 kB / 4.643 GB, free: 38.45 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001668/10.39, allocations: 1.182 MB / 4.644 GB, free: 37.97 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0002231/10.39, allocations: 36.33 kB / 4.644 GB, free: 37.94 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005753/10.39, allocations: 1.135 MB / 4.645 GB, free: 37.07 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008706/10.39, allocations: 1.269 MB / 4.646 GB, free: 36.05 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001725/10.39, allocations: 0 / 4.646 GB, free: 36.05 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001467/10.39, allocations: 442.7 kB / 4.646 GB, free: 35.69 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001881/10.39, allocations: 1.478 MB / 4.648 GB, free: 35.12 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002073/10.39, allocations: 1.872 MB / 4.65 GB, free: 34.18 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004/10.4, allocations: 2.057 MB / 4.652 GB, free: 33.5 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.039e-05/10.4, allocations: 0 / 4.652 GB, free: 33.5 MB / 0.7605 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007095/10.41, allocations: 4.186 MB / 4.656 GB, free: 30.8 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/10.41, allocations: 8 kB / 4.656 GB, free: 30.79 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.576e-05/10.41, allocations: 7.938 kB / 4.656 GB, free: 30.79 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.293e-05/10.41, allocations: 20 kB / 4.656 GB, free: 30.77 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002855/10.41, allocations: 0.7164 MB / 4.657 GB, free: 30.14 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.33e-05/10.41, allocations: 23.94 kB / 4.657 GB, free: 30.12 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004265/10.41, allocations: 349.4 kB / 4.657 GB, free: 29.85 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000353/10.41, allocations: 126.9 kB / 4.657 GB, free: 29.74 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.0007746/10.41, allocations: 152.2 kB / 4.657 GB, free: 29.58 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008647/10.42, allocations: 280.7 kB / 4.657 GB, free: 29.3 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007719/10.42, allocations: 4.381 MB / 4.662 GB, free: 25.67 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.136e-05/10.42, allocations: 36 kB / 4.662 GB, free: 25.63 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/10.42, allocations: 0 / 4.662 GB, free: 25.63 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005364/10.43, allocations: 3.84 MB / 4.666 GB, free: 22.25 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.01284/10.44, allocations: 8.674 MB / 4.674 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.034e-05/10.44, allocations: 4 kB / 4.674 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003087/10.44, allocations: 0.758 MB / 4.675 GB, free: 14.46 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.396e-05/10.44, allocations: 16 kB / 4.675 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002036/10.44, allocations: 43.11 kB / 4.675 GB, free: 14.41 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.331e-05/10.44, allocations: 12 kB / 4.675 GB, free: 14.4 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/10.44, allocations: 4 kB / 4.675 GB, free: 14.4 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0087/10.45, allocations: 6.964 MB / 4.682 GB, free: 8.082 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001621/10.45, allocations: 0.7951 MB / 4.682 GB, free: 7.383 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000416/10.46, allocations: 11.8 kB / 4.682 GB, free: 7.375 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002275/10.46, allocations: 214 kB / 4.683 GB, free: 7.246 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002698/10.46, allocations: 230.7 kB / 4.683 GB, free: 7.102 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002195/10.46, allocations: 122.5 kB / 4.683 GB, free: 6.996 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001083/10.46, allocations: 0.9091 MB / 4.684 GB, free: 6.18 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.71e-07/10.46, allocations: 3.594 kB / 4.684 GB, free: 6.18 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.003044/10.46, allocations: 1.43 MB / 4.685 GB, free: 4.777 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.006559/10.47, allocations: 5.6 MB / 4.691 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.006106/10.47, allocations: 3.744 MB / 4.694 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/10.47, allocations: 4 kB / 4.694 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.002786/10.48, allocations: 2.028 MB / 4.696 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006597/10.48, allocations: 1.282 MB / 4.698 GB, free: 9.703 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009998/10.49, allocations: 6.464 MB / 4.704 GB, free: 3.75 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001881/10.5, allocations: 2.269 MB / 4.706 GB, free: 1.445 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.004115/10.5, allocations: 1.2 MB / 4.707 GB, free: 288 kB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009563/10.5, allocations: 283.3 kB / 4.708 GB, free: 4 kB / 0.7761 GB Notification: Performance of SimCode: time 4.81e-07/10.5, allocations: 0 / 4.708 GB, free: 4 kB / 0.7761 GB Notification: Performance of Templates: time 0.5876/11.09, allocations: 75.84 MB / 4.782 GB, free: 86.04 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)