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 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.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.8623/0.8623, allocations: 143.4 MB / 158.3 MB, free: 5.77 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.002176/0.002176, allocations: 177 kB / 191.5 MB, free: 5.758 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.758/1.758, allocations: 223.2 MB / 447.7 MB, free: 4.812 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.00102/0.001021, allocations: 96.31 kB / 0.5188 GB, free: 1.168 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001887/0.001886, allocations: 272.1 kB / 0.6005 GB, free: 48.77 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000433/0.0004331, allocations: 12.06 kB / 0.6929 GB, free: 59.63 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2001/0.2005, allocations: 82.79 MB / 0.7737 GB, free: 13.88 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.794/4.994, allocations: 1.898 GB / 2.671 GB, free: 180.5 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002929/4.995, allocations: 94.31 kB / 2.671 GB, free: 180.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.021/9.016, allocations: 1.035 GB / 3.707 GB, free: 81.86 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.175e-06/9.016, allocations: 5.438 kB / 3.707 GB, free: 81.86 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001793/9.016, allocations: 57.3 kB / 3.707 GB, free: 81.86 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.01039/9.027, allocations: 2.947 MB / 3.71 GB, free: 81.04 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.329e-05/9.027, allocations: 9.562 kB / 3.71 GB, free: 81.04 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005224/9.032, allocations: 0.6602 MB / 3.71 GB, free: 80.91 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004984/9.037, allocations: 1.585 MB / 3.712 GB, free: 80.59 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001566/9.037, allocations: 149 kB / 3.712 GB, free: 80.59 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004517/9.038, allocations: 198.7 kB / 3.712 GB, free: 80.59 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004475/9.042, allocations: 2.315 MB / 3.714 GB, free: 80.45 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.797e-05/9.042, allocations: 6.062 kB / 3.714 GB, free: 80.45 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002059/9.043, allocations: 78.67 kB / 3.714 GB, free: 80.45 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001015/9.043, allocations: 94.77 kB / 3.715 GB, free: 80.45 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004136/9.047, allocations: 2.485 MB / 3.717 GB, free: 80.42 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.01327/9.06, allocations: 8.009 MB / 3.725 GB, free: 77.31 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003002/9.063, allocations: 2.262 MB / 3.727 GB, free: 77.19 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001488/9.065, allocations: 1.557 MB / 3.729 GB, free: 75.5 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.112e-05/9.065, allocations: 68.75 kB / 3.729 GB, free: 75.46 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=222): time 5.711e-06/9.065, allocations: 0 / 3.729 GB, free: 75.46 MB / 0.7292 GB Notification: Performance of matching and sorting (n=226): time 0.01695/9.082, allocations: 6.685 MB / 3.735 GB, free: 73.98 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.537e-05/9.082, allocations: 154.5 kB / 3.735 GB, free: 73.82 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002441/9.084, allocations: 1.042 MB / 3.736 GB, free: 73.68 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0003536/9.085, allocations: 67.7 kB / 3.736 GB, free: 73.64 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007653/9.085, allocations: 0.7518 MB / 3.737 GB, free: 73.41 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008715/9.086, allocations: 0.7616 MB / 3.738 GB, free: 72.91 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001911/9.087, allocations: 39.16 kB / 3.738 GB, free: 72.91 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001712/9.087, allocations: 394.2 kB / 3.738 GB, free: 72.61 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001434/9.088, allocations: 0.8454 MB / 3.739 GB, free: 72.61 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001565/9.09, allocations: 1.134 MB / 3.74 GB, free: 72.37 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 (bou1.p = bouADis.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.05671/9.147, allocations: 9.624 MB / 3.75 GB, free: 72.13 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.597e-05/9.147, allocations: 0 / 3.75 GB, free: 72.13 MB / 0.7292 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.005592/9.152, allocations: 2.373 MB / 3.752 GB, free: 71.97 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.438e-05/9.152, allocations: 9.75 kB / 3.752 GB, free: 71.97 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.737e-05/9.152, allocations: 3.375 kB / 3.752 GB, free: 71.97 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.197e-05/9.152, allocations: 13.22 kB / 3.752 GB, free: 71.97 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001962/9.154, allocations: 423.1 kB / 3.752 GB, free: 71.97 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.267e-05/9.154, allocations: 21.17 kB / 3.752 GB, free: 71.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002861/9.157, allocations: 156.2 kB / 3.753 GB, free: 71.95 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003561/9.158, allocations: 76.52 kB / 3.753 GB, free: 71.95 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: 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.001701/9.159, allocations: 0.5655 MB / 3.753 GB, free: 71.83 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008196/9.16, allocations: 197.6 kB / 3.753 GB, free: 71.73 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0046/9.165, allocations: 2.493 MB / 3.756 GB, free: 71.61 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.551e-05/9.165, allocations: 26.55 kB / 3.756 GB, free: 71.61 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.93e-05/9.165, allocations: 8.75 kB / 3.756 GB, free: 71.61 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002996/9.168, allocations: 2.073 MB / 3.758 GB, free: 71.47 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01126/9.179, allocations: 5.28 MB / 3.763 GB, free: 70.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.692e-05/9.179, allocations: 7.188 kB / 3.763 GB, free: 70.84 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002177/9.181, allocations: 475.4 kB / 3.763 GB, free: 70.84 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-05/9.181, allocations: 13.59 kB / 3.763 GB, free: 70.84 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002162/9.182, allocations: 62.16 kB / 3.764 GB, free: 70.84 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.591e-05/9.182, allocations: 25.48 kB / 3.764 GB, free: 70.84 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.177e-06/9.182, allocations: 12.84 kB / 3.764 GB, free: 70.84 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006242/9.188, allocations: 4.588 MB / 3.768 GB, free: 69.53 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001891/9.19, allocations: 0.4921 MB / 3.769 GB, free: 69.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006686/9.191, allocations: 49.52 kB / 3.769 GB, free: 69.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002651/9.193, allocations: 147.9 kB / 3.769 GB, free: 69.33 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002633/9.194, allocations: 155.2 kB / 3.769 GB, free: 69.32 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002116/9.194, allocations: 78.52 kB / 3.769 GB, free: 69.32 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0018/9.196, allocations: 0.816 MB / 3.77 GB, free: 69.21 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.883e-06/9.196, allocations: 2.969 kB / 3.77 GB, free: 69.21 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.004711/9.2, allocations: 0.9318 MB / 3.771 GB, free: 69.19 MB / 0.7292 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.004897/9.205, allocations: 2.598 MB / 3.773 GB, free: 68.21 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.004069/9.209, allocations: 2.168 MB / 3.775 GB, free: 68.17 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-05/9.209, allocations: 3.781 kB / 3.775 GB, free: 68.17 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001811/9.211, allocations: 1.162 MB / 3.776 GB, free: 68.16 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006157/9.217, allocations: 1.097 MB / 3.777 GB, free: 68.14 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009638/9.227, allocations: 5.723 MB / 3.783 GB, free: 65.91 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0019/9.229, allocations: 1.684 MB / 3.785 GB, free: 65.17 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.003951/9.233, allocations: 0.7525 MB / 3.785 GB, free: 65.15 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001051/9.234, allocations: 180.4 kB / 3.786 GB, free: 65.15 MB / 0.7292 GB Notification: Performance of SimCode: time 1.072e-06/9.234, allocations: 0 / 3.786 GB, free: 65.15 MB / 0.7292 GB Notification: Performance of Templates: time 0.1019/9.336, allocations: 65.88 MB / 3.85 GB, free: 61.54 MB / 0.7292 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)