Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.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.Validation.OpenDoorBuoyancyPressureDynamic,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic") translateModel(BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8675/0.8675, allocations: 143.4 MB / 158.3 MB, free: 5.785 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.001898/0.001898, allocations: 187.5 kB / 191.5 MB, free: 5.766 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.671/1.671, allocations: 223.2 MB / 447.7 MB, free: 4.805 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.001224/0.001223, allocations: 88.33 kB / 0.5188 GB, free: 1.172 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001912/0.001913, allocations: 273.8 kB / 0.6005 GB, free: 48.77 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004527/0.0004528, allocations: 10.59 kB / 0.6929 GB, free: 59.6 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1945/0.1949, allocations: 82.79 MB / 0.7737 GB, free: 13.88 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.901/5.096, allocations: 1.897 GB / 2.671 GB, free: 130.5 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003054/5.097, allocations: 95.91 kB / 2.671 GB, free: 130.4 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3938:5-3939:59:writable] Error: Variable reference_p: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3940:5-3941:64:writable] Error: Variable reference_T: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3944:5-3945:66:writable] Error: Variable p_default: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3946:5-3947:69:writable] Error: Variable T_default: Internal error - Types.typeOfValue failed: fail() Notification: Performance of FrontEnd - DAE generated: time 4.028/9.125, allocations: 1.036 GB / 3.707 GB, free: 81.98 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.614e-06/9.125, allocations: 3.75 kB / 3.707 GB, free: 81.98 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001824/9.125, allocations: 57.84 kB / 3.707 GB, free: 81.98 MB / 0.7292 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.009509/9.135, allocations: 2.943 MB / 3.71 GB, free: 80.99 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/9.135, allocations: 12.72 kB / 3.71 GB, free: 80.99 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005011/9.14, allocations: 0.6746 MB / 3.711 GB, free: 80.86 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004165/9.144, allocations: 1.571 MB / 3.712 GB, free: 80.55 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001139/9.144, allocations: 150 kB / 3.712 GB, free: 80.54 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000396/9.144, allocations: 200 kB / 3.713 GB, free: 80.54 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003788/9.148, allocations: 2.307 MB / 3.715 GB, free: 80.42 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.492e-05/9.148, allocations: 3.688 kB / 3.715 GB, free: 80.42 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001945/9.149, allocations: 85.84 kB / 3.715 GB, free: 80.42 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.02e-05/9.149, allocations: 94.97 kB / 3.715 GB, free: 80.41 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003527/9.152, allocations: 2.487 MB / 3.717 GB, free: 80.39 MB / 0.7292 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01188/9.164, allocations: 7.839 MB / 3.725 GB, free: 77.43 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00314/9.167, allocations: 2.243 MB / 3.727 GB, free: 77.36 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001303/9.169, allocations: 1.563 MB / 3.729 GB, free: 75.66 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.617e-05/9.169, allocations: 60.62 kB / 3.729 GB, free: 75.62 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=222): time 4.949e-06/9.169, allocations: 2.969 kB / 3.729 GB, free: 75.62 MB / 0.7292 GB Notification: Performance of matching and sorting (n=226): time 0.01264/9.181, allocations: 6.203 MB / 3.735 GB, free: 74.48 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.3e-05/9.181, allocations: 102.4 kB / 3.735 GB, free: 74.38 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001608/9.183, allocations: 1.037 MB / 3.736 GB, free: 74.23 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.000206/9.183, allocations: 67.77 kB / 3.736 GB, free: 74.2 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005158/9.184, allocations: 0.7488 MB / 3.737 GB, free: 73.91 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.000668/9.184, allocations: 0.7678 MB / 3.738 GB, free: 73.41 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/9.185, allocations: 43.7 kB / 3.738 GB, free: 73.41 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001445/9.185, allocations: 387.3 kB / 3.738 GB, free: 73.11 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001187/9.186, allocations: 0.847 MB / 3.739 GB, free: 73.1 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00134/9.187, allocations: 1.13 MB / 3.74 GB, free: 72.88 MB / 0.7292 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 (bouDis.p = bouADis.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.05771/9.245, allocations: 9.626 MB / 3.749 GB, free: 72.65 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.396e-05/9.245, allocations: 0 / 3.749 GB, free: 72.65 MB / 0.7292 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.004106/9.249, allocations: 2.366 MB / 3.752 GB, free: 72.49 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.998e-05/9.249, allocations: 3.75 kB / 3.752 GB, free: 72.49 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/9.249, allocations: 7.125 kB / 3.752 GB, free: 72.49 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.278e-05/9.249, allocations: 14.52 kB / 3.752 GB, free: 72.48 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001727/9.251, allocations: 430.2 kB / 3.752 GB, free: 72.48 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.529e-05/9.251, allocations: 16.36 kB / 3.752 GB, free: 72.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002477/9.254, allocations: 156.9 kB / 3.752 GB, free: 72.46 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001756/9.254, allocations: 78.95 kB / 3.752 GB, free: 72.46 MB / 0.7292 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: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked 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.001355/9.255, allocations: 0.5629 MB / 3.753 GB, free: 72.35 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000507/9.256, allocations: 192.1 kB / 3.753 GB, free: 72.25 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003853/9.259, allocations: 2.507 MB / 3.756 GB, free: 72.13 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.73e-05/9.259, allocations: 25.52 kB / 3.756 GB, free: 72.13 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.958e-06/9.259, allocations: 0 / 3.756 GB, free: 72.13 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002588/9.262, allocations: 2.082 MB / 3.758 GB, free: 71.99 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008631/9.271, allocations: 5.269 MB / 3.763 GB, free: 71.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.035e-05/9.271, allocations: 3.938 kB / 3.763 GB, free: 71.36 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001951/9.273, allocations: 478 kB / 3.763 GB, free: 71.35 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.081e-05/9.273, allocations: 18.53 kB / 3.763 GB, free: 71.35 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001378/9.273, allocations: 52.64 kB / 3.763 GB, free: 71.35 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.51e-05/9.273, allocations: 16.25 kB / 3.763 GB, free: 71.35 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.793e-06/9.273, allocations: 10.84 kB / 3.763 GB, free: 71.35 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005522/9.278, allocations: 4.416 MB / 3.768 GB, free: 70.25 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002296/9.281, allocations: 0.4919 MB / 3.768 GB, free: 70.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005613/9.281, allocations: 51.69 kB / 3.768 GB, free: 70.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002404/9.284, allocations: 146.1 kB / 3.768 GB, free: 70.05 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002393/9.284, allocations: 155.9 kB / 3.768 GB, free: 70.04 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001634/9.284, allocations: 77.27 kB / 3.769 GB, free: 70.04 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001395/9.286, allocations: 0.8168 MB / 3.769 GB, free: 69.93 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.3e-07/9.286, allocations: 0 / 3.769 GB, free: 69.93 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.004264/9.29, allocations: 0.9281 MB / 3.77 GB, free: 69.91 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 12 (dooDis.mExcAB,dooDis.mExcBA,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]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked 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.004211/9.294, allocations: 2.594 MB / 3.773 GB, free: 68.93 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003915/9.298, allocations: 2.17 MB / 3.775 GB, free: 68.88 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-05/9.298, allocations: 3.859 kB / 3.775 GB, free: 68.88 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001453/9.3, allocations: 1.161 MB / 3.776 GB, free: 68.88 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005318/9.305, allocations: 1.099 MB / 3.777 GB, free: 68.85 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007738/9.313, allocations: 5.739 MB / 3.783 GB, free: 66.63 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001174/9.314, allocations: 1.685 MB / 3.784 GB, free: 65.89 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.003148/9.317, allocations: 0.7442 MB / 3.785 GB, free: 65.88 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006189/9.318, allocations: 181.4 kB / 3.785 GB, free: 65.87 MB / 0.7292 GB Notification: Performance of SimCode: time 9.22e-07/9.318, allocations: 0 / 3.785 GB, free: 65.87 MB / 0.7292 GB Notification: Performance of Templates: time 0.08932/9.407, allocations: 65.93 MB / 3.85 GB, free: 49.5 MB / 0.7292 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe 2>&1)