Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.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: translateModel(Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic") translateModel(Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.584/1.584, allocations: 289.9 MB / 297.4 MB, free: 6.375 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.001184/0.001184, allocations: 176.9 kB / 366.7 MB, free: 1.66 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.684/1.684, allocations: 205.2 MB / 0.626 GB, free: 7.152 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.001323/0.001323, allocations: 89.47 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.23e-05/2.233e-05, allocations: 4 kB / 0.8597 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8135/0.8135, allocations: 116.3 MB / 0.9732 GB, free: 76.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.231/6.044, allocations: 2.091 GB / 3.065 GB, free: 37.36 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000283/6.044, allocations: 87.95 kB / 3.065 GB, free: 37.28 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/package.mo:4975:5-4976:59:writable] Error: Variable reference_p: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/package.mo:4977:5-4978:64:writable] Error: Variable reference_T: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/package.mo:4981:5-4982:66:writable] Error: Variable p_default: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/package.mo:4983:5-4984:69:writable] Error: Variable T_default: Internal error - Types.typeOfValue failed: fail() Notification: Performance of FrontEnd - DAE generated: time 3.974/10.02, allocations: 1.01 GB / 4.075 GB, free: 100.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.513e-06/10.02, allocations: 0 / 4.075 GB, free: 100.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001476/10.02, allocations: 59.2 kB / 4.075 GB, free: 100.7 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 494 * Number of variables: 494 Notification: Performance of Generate backend data structure: time 0.00646/10.03, allocations: 2.621 MB / 4.077 GB, free: 98 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/10.03, allocations: 8.031 kB / 4.077 GB, free: 97.99 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004085/10.03, allocations: 0.6541 MB / 4.078 GB, free: 97.34 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002968/10.03, allocations: 1.584 MB / 4.08 GB, free: 95.73 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.757e-05/10.03, allocations: 60 kB / 4.08 GB, free: 95.67 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002396/10.03, allocations: 124 kB / 4.08 GB, free: 95.55 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003368/10.04, allocations: 2.256 MB / 4.082 GB, free: 93.29 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002948/10.04, allocations: 2.012 MB / 4.084 GB, free: 91.25 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.491e-05/10.04, allocations: 0 / 4.084 GB, free: 91.25 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001648/10.04, allocations: 4 kB / 4.084 GB, free: 91.25 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.698e-05/10.04, allocations: 88.27 kB / 4.084 GB, free: 91.16 MB / 0.948 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.009254/10.05, allocations: 7.65 MB / 4.092 GB, free: 83.12 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002853/10.05, allocations: 2.922 MB / 4.094 GB, free: 80.01 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001407/10.05, allocations: 1.226 MB / 4.096 GB, free: 78.79 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001158/10.05, allocations: 1.556 MB / 4.097 GB, free: 76.91 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.249e-05/10.05, allocations: 64.44 kB / 4.097 GB, free: 76.83 MB / 0.948 GB Notification: Performance of pre-optimization done (n=222): time 3.997e-06/10.05, allocations: 0 / 4.097 GB, free: 76.83 MB / 0.948 GB Notification: Performance of matching and sorting (n=226): time 0.01044/10.06, allocations: 5.647 MB / 4.103 GB, free: 71.07 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.688e-05/10.06, allocations: 162.7 kB / 4.103 GB, free: 70.87 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001112/10.07, allocations: 0.8603 MB / 4.104 GB, free: 70 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001528/10.07, allocations: 25.7 kB / 4.104 GB, free: 69.97 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003616/10.07, allocations: 0.7598 MB / 4.104 GB, free: 69.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004505/10.07, allocations: 0.7388 MB / 4.105 GB, free: 68.45 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.611e-05/10.07, allocations: 0 / 4.105 GB, free: 68.45 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001152/10.07, allocations: 381.9 kB / 4.106 GB, free: 68.07 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009138/10.07, allocations: 0.7693 MB / 4.106 GB, free: 67.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00102/10.07, allocations: 1.033 MB / 4.107 GB, free: 66.19 MB / 0.948 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: bouA.dynBal.medium.p = bouA.dynBal.p_start (bou.p = bouA.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: bouADis.dynBal.medium.p = bouADis.dynBal.p_start (bou1.p = bouADis.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.008117/10.08, allocations: 3.279 MB / 4.111 GB, free: 62.88 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.054e-05/10.08, allocations: 3.75 kB / 4.111 GB, free: 62.88 MB / 0.948 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.003503/10.08, allocations: 2.235 MB / 4.113 GB, free: 60.64 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/10.08, allocations: 8.625 kB / 4.113 GB, free: 60.63 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/10.08, allocations: 4 kB / 4.113 GB, free: 60.63 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.768e-05/10.08, allocations: 16 kB / 4.113 GB, free: 60.61 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001515/10.08, allocations: 419.4 kB / 4.113 GB, free: 60.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.512e-05/10.08, allocations: 19.89 kB / 4.113 GB, free: 60.18 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002072/10.08, allocations: 131.7 kB / 4.113 GB, free: 60.05 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001498/10.08, allocations: 71.98 kB / 4.113 GB, free: 59.98 MB / 0.948 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: bouA.dynBal.medium.p = bouA.dynBal.p_start bouADis.dynBal.medium.p = bouADis.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (254): * Single equations (assignments): 254 * 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.0003294/10.09, allocations: 148.4 kB / 4.113 GB, free: 59.83 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000321/10.09, allocations: 185.8 kB / 4.114 GB, free: 59.65 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003839/10.09, allocations: 2.321 MB / 4.116 GB, free: 57.32 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.506e-05/10.09, allocations: 20 kB / 4.116 GB, free: 57.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/10.09, allocations: 4 kB / 4.116 GB, free: 57.29 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002653/10.09, allocations: 1.979 MB / 4.118 GB, free: 55.29 MB / 0.948 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.008006/10.1, allocations: 5.34 MB / 4.123 GB, free: 49.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.107e-05/10.1, allocations: 8 kB / 4.123 GB, free: 49.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001814/10.1, allocations: 472 kB / 4.124 GB, free: 49.34 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.821e-05/10.1, allocations: 16 kB / 4.124 GB, free: 49.32 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001132/10.1, allocations: 27.98 kB / 4.124 GB, free: 49.29 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.404e-05/10.1, allocations: 23.97 kB / 4.124 GB, free: 49.27 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/10.1, allocations: 7.938 kB / 4.124 GB, free: 49.26 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004725/10.11, allocations: 4.357 MB / 4.128 GB, free: 44.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001124/10.11, allocations: 482.7 kB / 4.128 GB, free: 44.21 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002616/10.11, allocations: 15.98 kB / 4.128 GB, free: 44.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001704/10.11, allocations: 119.5 kB / 4.128 GB, free: 44.08 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001662/10.11, allocations: 145.7 kB / 4.129 GB, free: 43.94 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001218/10.11, allocations: 83.91 kB / 4.129 GB, free: 43.86 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008035/10.11, allocations: 0.6643 MB / 4.129 GB, free: 43.19 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.5e-07/10.11, allocations: 0 / 4.129 GB, free: 43.19 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002341/10.11, allocations: 0.7772 MB / 4.13 GB, free: 42.41 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 12 (bouADis.dynBal.U,bouADis.dynBal.mXi[1],bouBDis.dynBal.U,bouBDis.dynBal.m,bouBDis.dynBal.mXi[1],bouA.dynBal.U,bouA.dynBal.mXi[1],bouB.dynBal.U,bouB.dynBal.m,bouB.dynBal.mXi[1],dooDis.mExcBA,dooDis.mExcAB) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (230): * Single equations (assignments): 230 * 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.003157/10.12, allocations: 2.84 MB / 4.133 GB, free: 39.72 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002436/10.12, allocations: 1.954 MB / 4.135 GB, free: 37.77 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/10.12, allocations: 4 kB / 4.135 GB, free: 37.76 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001074/10.12, allocations: 1.063 MB / 4.136 GB, free: 36.71 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004739/10.12, allocations: 0.9671 MB / 4.137 GB, free: 35.77 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005306/10.13, allocations: 3.934 MB / 4.141 GB, free: 31.76 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009284/10.13, allocations: 1.694 MB / 4.142 GB, free: 30.03 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002427/10.13, allocations: 0.7184 MB / 4.143 GB, free: 29.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00055/10.13, allocations: 175.4 kB / 4.143 GB, free: 29.13 MB / 0.948 GB Notification: Performance of SimCode: time 1.273e-06/10.13, allocations: 0 / 4.143 GB, free: 29.13 MB / 0.948 GB Notification: Performance of Templates: time 0.06681/10.2, allocations: 47.71 MB / 4.19 GB, free: 13.79 MB / 0.9792 GB make -j1 -f Buildings_8_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.makefile (rm -f Buildings_8_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.sim & ./Buildings_8_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe 2>&1)