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: "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7316/0.7316, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 182.2 kB / 187.3 MB, free: 11.88 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.311/1.311, allocations: 221.3 MB / 441.4 MB, free: 4.586 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.0008461/0.0008458, allocations: 89.69 kB / 0.5124 GB, free: 24.16 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001763/0.001762, allocations: 271.8 kB / 0.594 GB, free: 7.953 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.473e-05/4.483e-05, allocations: 4 kB / 0.6835 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4106/0.4107, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.772/5.182, allocations: 1.897 GB / 2.662 GB, free: 149.2 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002765/5.183, allocations: 86.86 kB / 2.662 GB, free: 149.2 MB / 0.698 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.477/9.659, allocations: 1.034 GB / 3.696 GB, free: 89.18 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.385e-06/9.659, allocations: 1.625 kB / 3.696 GB, free: 89.18 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0003411/9.66, allocations: 60.42 kB / 3.696 GB, free: 89.18 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.01174/9.672, allocations: 2.614 MB / 3.699 GB, free: 88.23 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001097/9.672, allocations: 12.09 kB / 3.699 GB, free: 88.23 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001623/9.673, allocations: 283.2 kB / 3.699 GB, free: 88.19 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005876/9.679, allocations: 0.6606 MB / 3.7 GB, free: 88.06 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005874/9.685, allocations: 1.571 MB / 3.701 GB, free: 87.75 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002436/9.685, allocations: 150.4 kB / 3.702 GB, free: 87.74 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001097/9.687, allocations: 198.9 kB / 3.702 GB, free: 87.74 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007709/9.694, allocations: 2.284 MB / 3.704 GB, free: 87.61 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001119/9.694, allocations: 0 / 3.704 GB, free: 87.61 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006236/9.695, allocations: 80.67 kB / 3.704 GB, free: 87.61 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001384/9.695, allocations: 91.47 kB / 3.704 GB, free: 87.6 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005467/9.701, allocations: 2.446 MB / 3.707 GB, free: 87.57 MB / 0.7292 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.01515/9.716, allocations: 8.008 MB / 3.714 GB, free: 84.44 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003383/9.719, allocations: 2.243 MB / 3.717 GB, free: 84.3 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001983/9.721, allocations: 1.298 MB / 3.718 GB, free: 84.26 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001311/9.723, allocations: 1.558 MB / 3.719 GB, free: 82.57 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.355e-05/9.723, allocations: 62.59 kB / 3.719 GB, free: 82.54 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=222): time 6.853e-06/9.723, allocations: 0 / 3.719 GB, free: 82.54 MB / 0.7292 GB Notification: Performance of matching and sorting (n=226): time 0.0137/9.737, allocations: 5.782 MB / 3.725 GB, free: 80.98 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.882e-05/9.737, allocations: 156 kB / 3.725 GB, free: 80.82 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002201/9.739, allocations: 1.026 MB / 3.726 GB, free: 80.67 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0003425/9.739, allocations: 68.8 kB / 3.726 GB, free: 80.64 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006754/9.74, allocations: 0.7526 MB / 3.727 GB, free: 80.34 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009132/9.741, allocations: 0.7653 MB / 3.728 GB, free: 79.84 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002102/9.741, allocations: 43.56 kB / 3.728 GB, free: 79.84 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002058/9.741, allocations: 382.2 kB / 3.728 GB, free: 79.54 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001501/9.743, allocations: 0.8372 MB / 3.729 GB, free: 79.54 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001772/9.745, allocations: 1.109 MB / 3.73 GB, free: 79.3 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.05544/9.8, allocations: 9.62 MB / 3.739 GB, free: 79.06 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.128e-05/9.8, allocations: 0 / 3.739 GB, free: 79.06 MB / 0.7292 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.005842/9.806, allocations: 2.337 MB / 3.742 GB, free: 78.89 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.766e-05/9.806, allocations: 12.02 kB / 3.742 GB, free: 78.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.992e-05/9.806, allocations: 9.547 kB / 3.742 GB, free: 78.89 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.584e-05/9.806, allocations: 17.19 kB / 3.742 GB, free: 78.89 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001978/9.808, allocations: 426.7 kB / 3.742 GB, free: 78.89 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.381e-05/9.808, allocations: 15 kB / 3.742 GB, free: 78.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00289/9.811, allocations: 160 kB / 3.742 GB, free: 78.87 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003552/9.811, allocations: 77.56 kB / 3.742 GB, free: 78.87 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 () * 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.0006468/9.812, allocations: 224.2 kB / 3.743 GB, free: 78.76 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007948/9.813, allocations: 190.2 kB / 3.743 GB, free: 78.67 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005016/9.818, allocations: 2.474 MB / 3.745 GB, free: 78.54 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-05/9.818, allocations: 24.09 kB / 3.745 GB, free: 78.54 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.509e-05/9.818, allocations: 3.125 kB / 3.745 GB, free: 78.54 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003248/9.821, allocations: 2.044 MB / 3.747 GB, free: 78.4 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01083/9.832, allocations: 5.292 MB / 3.752 GB, free: 77.76 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.399e-05/9.832, allocations: 6.156 kB / 3.752 GB, free: 77.76 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002092/9.834, allocations: 470.6 kB / 3.753 GB, free: 77.76 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.306e-05/9.834, allocations: 17.97 kB / 3.753 GB, free: 77.76 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002149/9.835, allocations: 56.19 kB / 3.753 GB, free: 77.76 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.686e-05/9.835, allocations: 16.31 kB / 3.753 GB, free: 77.76 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.568e-06/9.835, allocations: 13.81 kB / 3.753 GB, free: 77.76 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006197/9.841, allocations: 4.549 MB / 3.757 GB, free: 76.46 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001786/9.843, allocations: 0.493 MB / 3.758 GB, free: 76.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006789/9.843, allocations: 54.84 kB / 3.758 GB, free: 76.26 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002547/9.846, allocations: 146.7 kB / 3.758 GB, free: 76.25 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002635/9.846, allocations: 151.1 kB / 3.758 GB, free: 76.24 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002009/9.846, allocations: 77.48 kB / 3.758 GB, free: 76.24 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.00165/9.848, allocations: 0.8059 MB / 3.759 GB, free: 76.12 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.91e-07/9.848, allocations: 0 / 3.759 GB, free: 76.12 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.004356/9.852, allocations: 0.9234 MB / 3.76 GB, free: 76.11 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 () * 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.01298/9.865, allocations: 9.391 MB / 3.769 GB, free: 71.68 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003889/9.869, allocations: 2.135 MB / 3.771 GB, free: 71.64 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.336e-05/9.869, allocations: 7.031 kB / 3.771 GB, free: 71.64 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001679/9.871, allocations: 1.139 MB / 3.772 GB, free: 71.62 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006205/9.877, allocations: 1.101 MB / 3.773 GB, free: 71.59 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01097/9.888, allocations: 4.645 MB / 3.778 GB, free: 70.52 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001753/9.89, allocations: 1.692 MB / 3.78 GB, free: 69.78 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.003322/9.893, allocations: 0.7531 MB / 3.78 GB, free: 69.76 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001506/9.895, allocations: 0.8243 MB / 3.781 GB, free: 69.75 MB / 0.7292 GB Notification: Performance of SimCode: time 1.734e-06/9.895, allocations: 0 / 3.781 GB, free: 69.75 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1796/10.07, allocations: 98.12 MB / 3.877 GB, free: 8.559 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001622/10.07, allocations: 211.6 kB / 3.877 GB, free: 8.336 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.902/15.98, allocations: 0 / 3.877 GB, free: 8.336 MB / 0.7292 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe 2>&1)