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.8302/0.8302, allocations: 143.4 MB / 158.3 MB, free: 5.805 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.001335/0.001335, allocations: 183.3 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.488/1.488, allocations: 223.2 MB / 447.7 MB, free: 4.84 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.001005/0.001005, allocations: 92.33 kB / 0.5187 GB, free: 1.191 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001813/0.001813, allocations: 268.2 kB / 0.6005 GB, free: 48.79 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004487/0.0004488, allocations: 12.95 kB / 0.6929 GB, free: 59.72 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1787/0.1791, allocations: 82.79 MB / 0.7738 GB, free: 13.8 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.071/4.25, allocations: 1.898 GB / 2.671 GB, free: 128.1 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000274/4.25, allocations: 87.27 kB / 2.671 GB, free: 128 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 3.698/7.948, allocations: 1.035 GB / 3.707 GB, free: 83.15 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.815e-06/7.948, allocations: 2.531 kB / 3.707 GB, free: 83.15 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001493/7.948, allocations: 54.17 kB / 3.707 GB, free: 83.15 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.009423/7.957, allocations: 2.95 MB / 3.71 GB, free: 82.16 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/7.957, allocations: 13.31 kB / 3.71 GB, free: 82.16 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006513/7.958, allocations: 280.1 kB / 3.71 GB, free: 82.11 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00493/7.963, allocations: 0.6674 MB / 3.711 GB, free: 81.98 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003552/7.966, allocations: 1.578 MB / 3.712 GB, free: 81.67 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.224e-05/7.967, allocations: 148.1 kB / 3.712 GB, free: 81.67 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002899/7.967, allocations: 206.1 kB / 3.712 GB, free: 81.66 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00374/7.971, allocations: 2.314 MB / 3.715 GB, free: 81.53 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.464e-05/7.971, allocations: 0 / 3.715 GB, free: 81.53 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001904/7.971, allocations: 85.27 kB / 3.715 GB, free: 81.53 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.803e-05/7.971, allocations: 93.69 kB / 3.715 GB, free: 81.52 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003512/7.974, allocations: 2.49 MB / 3.717 GB, free: 81.5 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.01111/7.986, allocations: 7.996 MB / 3.725 GB, free: 78.38 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002938/7.989, allocations: 2.268 MB / 3.727 GB, free: 78.25 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001354/7.99, allocations: 1.558 MB / 3.729 GB, free: 76.56 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.32e-05/7.99, allocations: 64.08 kB / 3.729 GB, free: 76.52 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=222): time 3.677e-06/7.99, allocations: 4.938 kB / 3.729 GB, free: 76.52 MB / 0.7292 GB Notification: Performance of matching and sorting (n=226): time 0.01108/8.001, allocations: 6.681 MB / 3.735 GB, free: 74.98 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.419e-05/8.001, allocations: 161.5 kB / 3.736 GB, free: 74.82 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001487/8.003, allocations: 1.036 MB / 3.737 GB, free: 74.67 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001685/8.003, allocations: 69.23 kB / 3.737 GB, free: 74.64 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000506/8.003, allocations: 0.7475 MB / 3.737 GB, free: 74.35 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006059/8.004, allocations: 0.7658 MB / 3.738 GB, free: 73.85 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/8.004, allocations: 39.84 kB / 3.738 GB, free: 73.85 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001315/8.004, allocations: 390.4 kB / 3.739 GB, free: 73.55 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001234/8.005, allocations: 0.8491 MB / 3.739 GB, free: 73.54 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001392/8.007, allocations: 1.136 MB / 3.741 GB, free: 73.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.05595/8.063, allocations: 9.616 MB / 3.75 GB, free: 73.07 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.841e-05/8.063, allocations: 0 / 3.75 GB, free: 73.07 MB / 0.7292 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.004051/8.067, allocations: 2.369 MB / 3.752 GB, free: 72.91 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.469e-05/8.067, allocations: 7.75 kB / 3.752 GB, free: 72.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-05/8.067, allocations: 7.797 kB / 3.752 GB, free: 72.9 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.881e-05/8.067, allocations: 20.56 kB / 3.752 GB, free: 72.9 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001745/8.069, allocations: 423.3 kB / 3.753 GB, free: 72.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.253e-05/8.069, allocations: 16.44 kB / 3.753 GB, free: 72.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003011/8.072, allocations: 159.5 kB / 3.753 GB, free: 72.88 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002198/8.072, allocations: 78.62 kB / 3.753 GB, free: 72.88 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.001776/8.074, allocations: 0.5707 MB / 3.753 GB, free: 72.76 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000821/8.075, allocations: 198.1 kB / 3.754 GB, free: 72.67 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004558/8.079, allocations: 2.496 MB / 3.756 GB, free: 72.55 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.967e-05/8.079, allocations: 26.23 kB / 3.756 GB, free: 72.55 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.234e-05/8.079, allocations: 1.25 kB / 3.756 GB, free: 72.55 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002737/8.082, allocations: 2.071 MB / 3.758 GB, free: 72.41 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009032/8.091, allocations: 5.285 MB / 3.763 GB, free: 71.78 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.087e-05/8.091, allocations: 7.766 kB / 3.763 GB, free: 71.77 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001943/8.093, allocations: 476.7 kB / 3.764 GB, free: 71.77 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.888e-05/8.093, allocations: 17.72 kB / 3.764 GB, free: 71.77 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001374/8.093, allocations: 52.83 kB / 3.764 GB, free: 71.77 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.848e-05/8.093, allocations: 18.73 kB / 3.764 GB, free: 71.77 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.995e-06/8.093, allocations: 16.58 kB / 3.764 GB, free: 71.77 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005305/8.099, allocations: 4.591 MB / 3.768 GB, free: 70.47 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001638/8.1, allocations: 0.4929 MB / 3.769 GB, free: 70.28 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002877/8.101, allocations: 49.72 kB / 3.769 GB, free: 70.28 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001793/8.102, allocations: 151.8 kB / 3.769 GB, free: 70.27 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002323/8.103, allocations: 149.2 kB / 3.769 GB, free: 70.26 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001459/8.103, allocations: 81.27 kB / 3.769 GB, free: 70.26 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.00129/8.104, allocations: 0.8211 MB / 3.77 GB, free: 70.15 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.31e-07/8.104, allocations: 0 / 3.77 GB, free: 70.15 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.003476/8.108, allocations: 0.9293 MB / 3.771 GB, free: 70.13 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.009331/8.117, allocations: 9.427 MB / 3.78 GB, free: 65.71 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003225/8.12, allocations: 2.168 MB / 3.782 GB, free: 65.68 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-05/8.12, allocations: 7.672 kB / 3.782 GB, free: 65.67 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001462/8.122, allocations: 1.156 MB / 3.783 GB, free: 65.66 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005226/8.127, allocations: 1.103 MB / 3.784 GB, free: 65.63 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02011/8.147, allocations: 16.7 MB / 3.801 GB, free: 58.08 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001165/8.148, allocations: 1.69 MB / 3.802 GB, free: 57.34 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002827/8.151, allocations: 0.7508 MB / 3.803 GB, free: 57.32 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001153/8.152, allocations: 0.8248 MB / 3.804 GB, free: 57.32 MB / 0.7292 GB Notification: Performance of SimCode: time 7.605e-06/8.152, allocations: 0 / 3.804 GB, free: 57.32 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1418/8.294, allocations: 91.72 MB / 3.894 GB, free: 5.996 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000153/8.294, allocations: 235.7 kB / 3.894 GB, free: 5.762 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.12/13.41, allocations: 4 kB / 3.894 GB, free: 5.758 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)