Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.797/1.797, allocations: 292.6 MB / 307.5 MB, free: 5.238 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.001521/0.001521, allocations: 180 kB / 377.1 MB, free: 1.551 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.918/1.918, allocations: 205.4 MB / 0.6366 GB, free: 8.648 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009975/0.0009975, allocations: 90.92 kB / 0.7509 GB, free: 63.11 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004882/0.000488, allocations: 8 kB / 0.8748 GB, free: 11.14 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3661/0.3666, allocations: 116.3 MB / 0.9884 GB, free: 6.691 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.876/6.243, allocations: 2.092 GB / 3.081 GB, free: 89.46 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002612/6.243, allocations: 91.02 kB / 3.081 GB, free: 89.42 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.242/10.49, allocations: 1.022 GB / 4.103 GB, free: 116.6 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.525e-06/10.49, allocations: 3.656 kB / 4.103 GB, free: 116.6 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0002468/10.49, allocations: 59.25 kB / 4.103 GB, free: 116.6 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.0114/10.5, allocations: 2.945 MB / 4.106 GB, free: 115.4 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.539e-05/10.5, allocations: 10.81 kB / 4.106 GB, free: 115.4 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001453/10.5, allocations: 281.4 kB / 4.106 GB, free: 115.3 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005476/10.5, allocations: 0.6686 MB / 4.107 GB, free: 115.2 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005683/10.51, allocations: 1.581 MB / 4.108 GB, free: 114.7 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002399/10.51, allocations: 147.7 kB / 4.108 GB, free: 114.7 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001056/10.51, allocations: 201.1 kB / 4.108 GB, free: 114.7 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006985/10.52, allocations: 2.322 MB / 4.111 GB, free: 114.6 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.791e-05/10.52, allocations: 0 / 4.111 GB, free: 114.6 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004941/10.52, allocations: 79.19 kB / 4.111 GB, free: 114.6 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001245/10.52, allocations: 87.88 kB / 4.111 GB, free: 114.6 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005392/10.52, allocations: 2.496 MB / 4.113 GB, free: 113.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.01496/10.54, allocations: 7.999 MB / 4.121 GB, free: 108.9 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00307/10.54, allocations: 2.263 MB / 4.123 GB, free: 107.9 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001274/10.54, allocations: 1.563 MB / 4.125 GB, free: 106.2 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.127e-05/10.54, allocations: 59.25 kB / 4.125 GB, free: 106.2 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=222): time 3.436e-06/10.54, allocations: 3.688 kB / 4.125 GB, free: 106.2 MB / 0.9636 GB Notification: Performance of matching and sorting (n=226): time 0.01313/10.56, allocations: 6.681 MB / 4.131 GB, free: 102.8 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.383e-05/10.56, allocations: 155.6 kB / 4.132 GB, free: 102.6 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002019/10.56, allocations: 1.043 MB / 4.133 GB, free: 102.2 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0002535/10.56, allocations: 65.42 kB / 4.133 GB, free: 102.1 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007735/10.56, allocations: 0.7586 MB / 4.133 GB, free: 101.6 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009513/10.56, allocations: 0.7636 MB / 4.134 GB, free: 100.9 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001488/10.56, allocations: 44.41 kB / 4.134 GB, free: 100.9 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001941/10.56, allocations: 382.7 kB / 4.135 GB, free: 100.6 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00158/10.56, allocations: 0.8431 MB / 4.135 GB, free: 100.3 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001678/10.56, allocations: 1.138 MB / 4.136 GB, free: 99.7 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.05806/10.62, allocations: 9.616 MB / 4.146 GB, free: 98.6 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.323e-05/10.62, allocations: 6.875 kB / 4.146 GB, free: 98.6 MB / 0.9636 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.006788/10.63, allocations: 2.37 MB / 4.148 GB, free: 97.67 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 4.341e-05/10.63, allocations: 10.81 kB / 4.148 GB, free: 97.67 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.636e-05/10.63, allocations: 3.406 kB / 4.148 GB, free: 97.67 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001292/10.63, allocations: 14.06 kB / 4.148 GB, free: 97.67 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002035/10.63, allocations: 433.3 kB / 4.149 GB, free: 97.62 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.167e-05/10.63, allocations: 18.91 kB / 4.149 GB, free: 97.62 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002934/10.64, allocations: 159.7 kB / 4.149 GB, free: 97.57 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002145/10.64, allocations: 80.3 kB / 4.149 GB, free: 97.55 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.001651/10.64, allocations: 0.5551 MB / 4.149 GB, free: 97.22 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009014/10.64, allocations: 198.9 kB / 4.15 GB, free: 97.12 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004176/10.64, allocations: 2.493 MB / 4.152 GB, free: 96.1 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-05/10.64, allocations: 22.09 kB / 4.152 GB, free: 96.1 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.065e-05/10.64, allocations: 0 / 4.152 GB, free: 96.1 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002588/10.64, allocations: 2.077 MB / 4.154 GB, free: 95.27 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008971/10.65, allocations: 5.293 MB / 4.159 GB, free: 92.97 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.105e-05/10.65, allocations: 3.906 kB / 4.159 GB, free: 92.97 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001962/10.66, allocations: 472 kB / 4.16 GB, free: 92.93 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.986e-05/10.66, allocations: 14.88 kB / 4.16 GB, free: 92.93 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001396/10.66, allocations: 53.31 kB / 4.16 GB, free: 92.91 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.661e-05/10.66, allocations: 26.94 kB / 4.16 GB, free: 92.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/10.66, allocations: 15.58 kB / 4.16 GB, free: 92.89 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00531/10.66, allocations: 4.586 MB / 4.164 GB, free: 88.99 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001608/10.66, allocations: 0.5022 MB / 4.165 GB, free: 88.53 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002996/10.66, allocations: 47.61 kB / 4.165 GB, free: 88.49 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001852/10.67, allocations: 149.9 kB / 4.165 GB, free: 88.37 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002147/10.67, allocations: 146.6 kB / 4.165 GB, free: 88.27 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001428/10.67, allocations: 83.45 kB / 4.165 GB, free: 88.2 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001182/10.67, allocations: 0.8171 MB / 4.166 GB, free: 87.5 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.6e-07/10.67, allocations: 0 / 4.166 GB, free: 87.5 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.003254/10.67, allocations: 0.9273 MB / 4.167 GB, free: 86.6 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.009186/10.68, allocations: 9.425 MB / 4.176 GB, free: 77.74 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.003287/10.68, allocations: 2.168 MB / 4.178 GB, free: 75.84 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.557e-05/10.68, allocations: 4.812 kB / 4.178 GB, free: 75.83 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001423/10.68, allocations: 1.157 MB / 4.179 GB, free: 74.81 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005385/10.69, allocations: 1.092 MB / 4.18 GB, free: 73.94 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0215/10.71, allocations: 16.71 MB / 4.197 GB, free: 56.42 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001309/10.71, allocations: 1.691 MB / 4.198 GB, free: 54.69 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.003154/10.72, allocations: 0.7491 MB / 4.199 GB, free: 53.96 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001133/10.72, allocations: 0.8195 MB / 4.2 GB, free: 53.14 MB / 0.9636 GB Notification: Performance of SimCode: time 1.122e-06/10.72, allocations: 0 / 4.2 GB, free: 53.14 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7095/11.43, allocations: 91.64 MB / 4.289 GB, free: 139.8 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001994/11.43, allocations: 237.1 kB / 4.29 GB, free: 139.6 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.322/16.75, allocations: 0 / 4.29 GB, free: 139.6 MB / 0.9792 GB (rm -f Buildings_8_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic.fmu > Buildings_8_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe 2>&1)