Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 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.OpenDoorBuoyancyDynamic,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic") translateModel(BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9314/0.9314, allocations: 140.1 MB / 156 MB, free: 5.18 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001453/0.001453, allocations: 188.3 kB / 188.5 MB, free: 15.83 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.824/1.824, allocations: 205.4 MB / 426.4 MB, free: 8.465 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00103/0.001031, allocations: 94.3 kB / 0.4945 GB, free: 8.414 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001797/0.001797, allocations: 267 kB / 0.5728 GB, free: 66.23 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005357/0.0005359, allocations: 20 kB / 0.662 GB, free: 6.824 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4875/0.488, allocations: 79.3 MB / 0.7395 GB, free: 46.36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.767/6.255, allocations: 2.061 GB / 2.801 GB, free: 228.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002411/6.255, allocations: 87.95 kB / 2.801 GB, free: 228.7 MB / 0.6823 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.887/10.14, allocations: 1.02 GB / 3.821 GB, free: 77.49 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.362e-06/10.14, allocations: 0 / 3.821 GB, free: 77.49 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002662/10.14, allocations: 56.53 kB / 3.821 GB, free: 77.49 MB / 0.698 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.01111/10.15, allocations: 2.93 MB / 3.824 GB, free: 76.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/10.15, allocations: 7.656 kB / 3.824 GB, free: 76.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005111/10.16, allocations: 0.6599 MB / 3.824 GB, free: 76.57 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004917/10.16, allocations: 1.649 MB / 3.826 GB, free: 76.21 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001652/10.16, allocations: 142.4 kB / 3.826 GB, free: 76.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008311/10.16, allocations: 196.8 kB / 3.826 GB, free: 76.2 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00441/10.17, allocations: 2.34 MB / 3.828 GB, free: 76.07 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.182e-05/10.17, allocations: 6.828 kB / 3.828 GB, free: 76.07 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001933/10.17, allocations: 79.44 kB / 3.828 GB, free: 76.07 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.114e-05/10.17, allocations: 92.06 kB / 3.829 GB, free: 76.06 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003863/10.17, allocations: 2.488 MB / 3.831 GB, free: 76.04 MB / 0.698 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.01165/10.19, allocations: 8.015 MB / 3.839 GB, free: 72.92 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002941/10.19, allocations: 2.265 MB / 3.841 GB, free: 72.8 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00169/10.19, allocations: 1.323 MB / 3.842 GB, free: 72.75 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00113/10.19, allocations: 1.566 MB / 3.844 GB, free: 71.06 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.917e-05/10.19, allocations: 70.09 kB / 3.844 GB, free: 71.02 MB / 0.698 GB Notification: Performance of pre-optimization done (n=222): time 3.607e-06/10.19, allocations: 0 / 3.844 GB, free: 71.02 MB / 0.698 GB Notification: Performance of matching and sorting (n=226): time 0.01181/10.2, allocations: 6.784 MB / 3.851 GB, free: 69.45 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.161e-05/10.2, allocations: 154.9 kB / 3.851 GB, free: 69.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001491/10.2, allocations: 1.191 MB / 3.852 GB, free: 69.14 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002014/10.2, allocations: 67.27 kB / 3.852 GB, free: 69.11 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004827/10.21, allocations: 0.7586 MB / 3.853 GB, free: 68.87 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006082/10.21, allocations: 0.7645 MB / 3.853 GB, free: 68.38 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.949e-05/10.21, allocations: 40.5 kB / 3.853 GB, free: 68.38 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001152/10.21, allocations: 388.4 kB / 3.854 GB, free: 68.07 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00125/10.21, allocations: 0.8515 MB / 3.855 GB, free: 68.06 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001368/10.21, allocations: 1.14 MB / 3.856 GB, free: 67.83 MB / 0.698 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.05035/10.26, allocations: 11.64 MB / 3.867 GB, free: 67.39 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.291e-05/10.26, allocations: 5.656 kB / 3.867 GB, free: 67.39 MB / 0.698 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.004101/10.26, allocations: 2.369 MB / 3.869 GB, free: 67.21 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.046e-05/10.26, allocations: 9.312 kB / 3.869 GB, free: 67.21 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.663e-05/10.26, allocations: 3.688 kB / 3.869 GB, free: 67.21 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.784e-05/10.26, allocations: 17.16 kB / 3.869 GB, free: 67.21 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001664/10.26, allocations: 428.1 kB / 3.87 GB, free: 67.21 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.467e-05/10.26, allocations: 16.47 kB / 3.87 GB, free: 67.21 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002526/10.27, allocations: 163.5 kB / 3.87 GB, free: 67.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001733/10.27, allocations: 72.97 kB / 3.87 GB, free: 67.2 MB / 0.698 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 () * 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.001451/10.27, allocations: 0.5619 MB / 3.871 GB, free: 67.08 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007461/10.27, allocations: 195.8 kB / 3.871 GB, free: 66.98 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004083/10.27, allocations: 2.5 MB / 3.873 GB, free: 66.87 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.672e-05/10.27, allocations: 28.53 kB / 3.873 GB, free: 66.87 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.125e-05/10.27, allocations: 0 / 3.873 GB, free: 66.87 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002904/10.28, allocations: 2.074 MB / 3.875 GB, free: 66.73 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009432/10.29, allocations: 5.295 MB / 3.881 GB, free: 66.09 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/10.29, allocations: 3.812 kB / 3.881 GB, free: 66.09 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001903/10.29, allocations: 475.8 kB / 3.881 GB, free: 66.09 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.058e-05/10.29, allocations: 21.59 kB / 3.881 GB, free: 66.09 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001302/10.29, allocations: 54.58 kB / 3.881 GB, free: 66.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.61e-05/10.29, allocations: 24.53 kB / 3.881 GB, free: 66.09 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.143e-06/10.29, allocations: 11.47 kB / 3.881 GB, free: 66.09 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005051/10.29, allocations: 4.212 MB / 3.885 GB, free: 65.33 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001347/10.29, allocations: 0.4996 MB / 3.886 GB, free: 65.14 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002594/10.3, allocations: 45.66 kB / 3.886 GB, free: 65.14 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001779/10.3, allocations: 145.9 kB / 3.886 GB, free: 65.12 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002144/10.3, allocations: 154.6 kB / 3.886 GB, free: 65.12 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001272/10.3, allocations: 78.5 kB / 3.886 GB, free: 65.12 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001101/10.3, allocations: 0.8218 MB / 3.887 GB, free: 65.01 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/10.3, allocations: 2.078 kB / 3.887 GB, free: 65.01 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002963/10.3, allocations: 0.9355 MB / 3.888 GB, free: 64.98 MB / 0.698 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 () * 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.003631/10.31, allocations: 2.628 MB / 3.89 GB, free: 63.98 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003191/10.31, allocations: 2.165 MB / 3.892 GB, free: 63.95 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.666e-06/10.31, allocations: 0 / 3.892 GB, free: 63.95 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001403/10.31, allocations: 1.166 MB / 3.894 GB, free: 63.93 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006318/10.32, allocations: 1.118 MB / 3.895 GB, free: 63.89 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006979/10.32, allocations: 5.735 MB / 3.9 GB, free: 61.67 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001082/10.32, allocations: 1.65 MB / 3.902 GB, free: 60.93 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002883/10.33, allocations: 0.753 MB / 3.903 GB, free: 60.91 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005698/10.33, allocations: 184.4 kB / 3.903 GB, free: 60.91 MB / 0.698 GB Notification: Performance of SimCode: time 1.383e-06/10.33, allocations: 0 / 3.903 GB, free: 60.91 MB / 0.698 GB Notification: Performance of Templates: time 0.09265/10.42, allocations: 66.96 MB / 3.968 GB, free: 57.18 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe 2>&1)