Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic") translateModel(Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.883/1.883, allocations: 288.3 MB / 303.2 MB, free: 8.074 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.00179/0.001791, allocations: 185.9 kB / 371.9 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.268/2.268, allocations: 205.4 MB / 0.6306 GB, free: 9.977 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000906/0.000906, allocations: 93.53 kB / 0.7439 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005007/0.0005005, allocations: 14.12 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.307/0.3075, allocations: 115.3 MB / 0.9794 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.701/6.008, allocations: 2.091 GB / 3.071 GB, free: 224.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000241/6.009, allocations: 91.95 kB / 3.071 GB, free: 224.8 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 4.201/10.21, allocations: 1.022 GB / 4.093 GB, free: 143.4 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.224e-06/10.21, allocations: 0 / 4.093 GB, free: 143.4 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0001768/10.21, allocations: 58.27 kB / 4.093 GB, free: 143.4 MB / 0.9636 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.01164/10.22, allocations: 2.946 MB / 4.096 GB, free: 142.4 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.811e-05/10.22, allocations: 9.562 kB / 4.096 GB, free: 142.4 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005539/10.23, allocations: 0.6569 MB / 4.096 GB, free: 142.2 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005455/10.23, allocations: 1.592 MB / 4.098 GB, free: 141.9 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001749/10.23, allocations: 143.4 kB / 4.098 GB, free: 141.9 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006683/10.23, allocations: 201.5 kB / 4.098 GB, free: 141.9 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004685/10.24, allocations: 2.32 MB / 4.1 GB, free: 141.8 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.507e-05/10.24, allocations: 0 / 4.1 GB, free: 141.8 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002045/10.24, allocations: 79.45 kB / 4.101 GB, free: 141.8 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001357/10.24, allocations: 87.19 kB / 4.101 GB, free: 141.8 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003797/10.24, allocations: 2.489 MB / 4.103 GB, free: 141.8 MB / 0.9636 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.01359/10.26, allocations: 8.005 MB / 4.111 GB, free: 138.7 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003192/10.26, allocations: 2.264 MB / 4.113 GB, free: 138.5 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001275/10.26, allocations: 1.559 MB / 4.115 GB, free: 136.8 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.631e-05/10.26, allocations: 73.81 kB / 4.115 GB, free: 136.8 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=222): time 3.898e-06/10.26, allocations: 0 / 4.115 GB, free: 136.8 MB / 0.9636 GB Notification: Performance of matching and sorting (n=226): time 0.01213/10.27, allocations: 6.675 MB / 4.121 GB, free: 135.3 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.362e-05/10.27, allocations: 160.1 kB / 4.121 GB, free: 135.2 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001608/10.27, allocations: 1.041 MB / 4.122 GB, free: 135 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0002674/10.27, allocations: 73.67 kB / 4.122 GB, free: 135 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005477/10.28, allocations: 0.7491 MB / 4.123 GB, free: 134.7 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006959/10.28, allocations: 0.7684 MB / 4.124 GB, free: 134.2 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/10.28, allocations: 40.25 kB / 4.124 GB, free: 134.2 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001337/10.28, allocations: 386.3 kB / 4.124 GB, free: 133.9 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001223/10.28, allocations: 0.8478 MB / 4.125 GB, free: 133.9 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001434/10.28, allocations: 1.135 MB / 4.126 GB, free: 133.6 MB / 0.9636 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.0571/10.34, allocations: 9.612 MB / 4.136 GB, free: 133.4 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.652e-05/10.34, allocations: 3.281 kB / 4.136 GB, free: 133.4 MB / 0.9636 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.004462/10.34, allocations: 2.373 MB / 4.138 GB, free: 133.2 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.499e-05/10.34, allocations: 11.16 kB / 4.138 GB, free: 133.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.76e-05/10.34, allocations: 3.812 kB / 4.138 GB, free: 133.2 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.6e-05/10.34, allocations: 16.69 kB / 4.138 GB, free: 133.2 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00174/10.34, allocations: 426.9 kB / 4.138 GB, free: 133.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.023e-05/10.34, allocations: 13.69 kB / 4.138 GB, free: 133.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002767/10.35, allocations: 164.2 kB / 4.139 GB, free: 133.2 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002218/10.35, allocations: 71.64 kB / 4.139 GB, free: 133.2 MB / 0.9636 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.001819/10.35, allocations: 0.5696 MB / 4.139 GB, free: 133.1 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007682/10.35, allocations: 195.6 kB / 4.139 GB, free: 133 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004197/10.35, allocations: 2.495 MB / 4.142 GB, free: 132.9 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-05/10.35, allocations: 24.03 kB / 4.142 GB, free: 132.9 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.387e-05/10.35, allocations: 3.891 kB / 4.142 GB, free: 132.9 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002801/10.36, allocations: 2.076 MB / 4.144 GB, free: 132.8 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01122/10.37, allocations: 5.289 MB / 4.149 GB, free: 132.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.487e-05/10.37, allocations: 3.875 kB / 4.149 GB, free: 132.1 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002124/10.37, allocations: 476 kB / 4.149 GB, free: 132.1 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.18e-05/10.37, allocations: 15.25 kB / 4.149 GB, free: 132.1 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002083/10.37, allocations: 56.05 kB / 4.15 GB, free: 132.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-05/10.37, allocations: 22.02 kB / 4.15 GB, free: 132.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.546e-06/10.37, allocations: 9.938 kB / 4.15 GB, free: 132.1 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006461/10.38, allocations: 4.585 MB / 4.154 GB, free: 130.8 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002012/10.38, allocations: 0.4931 MB / 4.155 GB, free: 130.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007288/10.38, allocations: 54.81 kB / 4.155 GB, free: 130.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002779/10.38, allocations: 151.6 kB / 4.155 GB, free: 130.6 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002902/10.38, allocations: 155.2 kB / 4.155 GB, free: 130.6 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002345/10.38, allocations: 81.22 kB / 4.155 GB, free: 130.6 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001793/10.38, allocations: 0.8186 MB / 4.156 GB, free: 130.5 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.5e-07/10.38, allocations: 0 / 4.156 GB, free: 130.5 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.004724/10.39, allocations: 0.9238 MB / 4.157 GB, free: 130.5 MB / 0.9636 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.005041/10.39, allocations: 2.596 MB / 4.159 GB, free: 129.5 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.004222/10.4, allocations: 2.164 MB / 4.161 GB, free: 129.4 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.505e-05/10.4, allocations: 3.906 kB / 4.161 GB, free: 129.4 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001937/10.4, allocations: 1.16 MB / 4.162 GB, free: 129.4 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006463/10.41, allocations: 1.104 MB / 4.164 GB, free: 129.4 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0108/10.42, allocations: 5.725 MB / 4.169 GB, free: 127.1 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002056/10.42, allocations: 1.685 MB / 4.171 GB, free: 126.4 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.004138/10.42, allocations: 0.7514 MB / 4.171 GB, free: 126.4 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001075/10.42, allocations: 178.2 kB / 4.172 GB, free: 126.4 MB / 0.9636 GB Notification: Performance of SimCode: time 1.753e-06/10.42, allocations: 0 / 4.172 GB, free: 126.4 MB / 0.9636 GB Notification: Performance of Templates: time 0.1096/10.53, allocations: 65.83 MB / 4.236 GB, free: 121.4 MB / 0.9636 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.makefile (rm -f Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.sim & ./Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe 2>&1)