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.699/1.699, allocations: 289.9 MB / 297.4 MB, free: 6.449 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.001344/0.001344, allocations: 180.9 kB / 366.7 MB, free: 1.707 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.783/1.783, allocations: 205.2 MB / 0.626 GB, free: 7.188 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.0008484/0.0008484, allocations: 87.28 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.226e-05/2.228e-05, allocations: 4 kB / 0.8598 GB, free: 13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7964/0.7964, allocations: 116.3 MB / 0.9733 GB, free: 76.32 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.332/7.128, allocations: 2.091 GB / 3.065 GB, free: 279.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003188/7.129, allocations: 85.45 kB / 3.065 GB, free: 279.5 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 3.47/10.6, allocations: 1.01 GB / 4.075 GB, free: 44 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.223e-06/10.6, allocations: 0 / 4.075 GB, free: 44 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002193/10.6, allocations: 59.92 kB / 4.075 GB, free: 43.95 MB / 0.948 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.007641/10.61, allocations: 2.628 MB / 4.078 GB, free: 41.26 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/10.61, allocations: 12.03 kB / 4.078 GB, free: 41.25 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004929/10.61, allocations: 0.6566 MB / 4.078 GB, free: 40.59 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004136/10.62, allocations: 1.574 MB / 4.08 GB, free: 38.96 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.252e-05/10.62, allocations: 64 kB / 4.08 GB, free: 38.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003169/10.62, allocations: 112 kB / 4.08 GB, free: 38.79 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003604/10.62, allocations: 2.26 MB / 4.082 GB, free: 36.53 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00315/10.62, allocations: 2.008 MB / 4.084 GB, free: 34.49 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.885e-05/10.62, allocations: 4 kB / 4.084 GB, free: 34.49 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001682/10.62, allocations: 4 kB / 4.084 GB, free: 34.48 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.107e-05/10.62, allocations: 92.27 kB / 4.084 GB, free: 34.39 MB / 0.948 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.01062/10.63, allocations: 7.657 MB / 4.092 GB, free: 26.23 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002699/10.64, allocations: 2.926 MB / 4.094 GB, free: 23.11 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00135/10.64, allocations: 1.213 MB / 4.096 GB, free: 21.89 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001104/10.64, allocations: 1.564 MB / 4.097 GB, free: 20 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.342e-05/10.64, allocations: 60.44 kB / 4.097 GB, free: 19.93 MB / 0.948 GB Notification: Performance of pre-optimization done (n=222): time 4.198e-06/10.64, allocations: 0 / 4.097 GB, free: 19.93 MB / 0.948 GB Notification: Performance of matching and sorting (n=226): time 0.01036/10.65, allocations: 5.655 MB / 4.103 GB, free: 14.15 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/10.65, allocations: 158.6 kB / 4.103 GB, free: 13.97 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/10.65, allocations: 0.8563 MB / 4.104 GB, free: 13.11 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001435/10.65, allocations: 33.77 kB / 4.104 GB, free: 13.07 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000353/10.65, allocations: 0.756 MB / 4.105 GB, free: 12.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004405/10.65, allocations: 0.7388 MB / 4.105 GB, free: 11.55 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.81e-05/10.65, allocations: 0 / 4.105 GB, free: 11.55 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.827e-05/10.65, allocations: 385.9 kB / 4.106 GB, free: 11.17 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000929/10.65, allocations: 0.7654 MB / 4.106 GB, free: 10.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001031/10.65, allocations: 1.037 MB / 4.107 GB, free: 9.281 MB / 0.948 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.00825/10.66, allocations: 3.275 MB / 4.111 GB, free: 5.969 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.536e-06/10.66, allocations: 0 / 4.111 GB, free: 5.969 MB / 0.948 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.00355/10.67, allocations: 2.231 MB / 4.113 GB, free: 3.738 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/10.67, allocations: 8.594 kB / 4.113 GB, free: 3.73 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.477e-05/10.67, allocations: 11.95 kB / 4.113 GB, free: 3.719 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.426e-05/10.67, allocations: 16 kB / 4.113 GB, free: 3.703 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001582/10.67, allocations: 427.4 kB / 4.113 GB, free: 3.285 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.22e-05/10.67, allocations: 16 kB / 4.113 GB, free: 3.27 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002119/10.67, allocations: 119.5 kB / 4.113 GB, free: 3.152 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000147/10.67, allocations: 75.98 kB / 4.113 GB, free: 3.078 MB / 0.948 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.0003159/10.67, allocations: 140.5 kB / 4.114 GB, free: 2.934 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003296/10.67, allocations: 2.075 MB / 4.116 GB, free: 0.8516 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003022/10.67, allocations: 185.8 kB / 4.116 GB, free: 0.668 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004333/10.68, allocations: 2.337 MB / 4.118 GB, free: 14.32 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.16e-05/10.68, allocations: 24 kB / 4.118 GB, free: 14.29 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/10.68, allocations: 0 / 4.118 GB, free: 14.29 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003309/10.68, allocations: 1.975 MB / 4.12 GB, free: 12.3 MB / 0.9636 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 postOpt removeSimpleEquations (simulation): time 0.009343/10.69, allocations: 5.333 MB / 4.125 GB, free: 6.754 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.184e-05/10.69, allocations: 8 kB / 4.125 GB, free: 6.746 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002036/10.69, allocations: 471.4 kB / 4.126 GB, free: 6.285 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.145e-05/10.69, allocations: 16.44 kB / 4.126 GB, free: 6.27 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001203/10.69, allocations: 27.98 kB / 4.126 GB, free: 6.242 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.725e-05/10.69, allocations: 19.94 kB / 4.126 GB, free: 6.223 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.067e-05/10.69, allocations: 11.94 kB / 4.126 GB, free: 6.211 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005821/10.7, allocations: 4.353 MB / 4.13 GB, free: 1.652 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001102/10.7, allocations: 486.7 kB / 4.13 GB, free: 1.156 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002459/10.7, allocations: 12 kB / 4.13 GB, free: 1.145 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001658/10.7, allocations: 111.6 kB / 4.131 GB, free: 1.035 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000217/10.7, allocations: 153.5 kB / 4.131 GB, free: 0.8828 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001468/10.7, allocations: 79.97 kB / 4.131 GB, free: 0.8047 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0009748/10.7, allocations: 0.6604 MB / 4.131 GB, free: 144 kB / 0.9636 GB Notification: Performance of sort global known variables: time 1.693e-06/10.7, allocations: 112 / 4.131 GB, free: 144 kB / 0.9636 GB Notification: Performance of remove unused functions: time 0.6161/11.32, allocations: 0.7757 MB / 4.132 GB, free: 142 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 () * 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.01268/11.33, allocations: 9.451 MB / 4.141 GB, free: 137.8 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.003596/11.34, allocations: 1.961 MB / 4.143 GB, free: 137.8 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-05/11.34, allocations: 3.438 kB / 4.143 GB, free: 137.8 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001644/11.34, allocations: 1.058 MB / 4.144 GB, free: 137.8 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005484/11.34, allocations: 0.9622 MB / 4.145 GB, free: 137.8 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008502/11.35, allocations: 4.414 MB / 4.15 GB, free: 136.7 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001283/11.35, allocations: 1.689 MB / 4.151 GB, free: 136 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.003103/11.36, allocations: 0.7236 MB / 4.152 GB, free: 136 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001311/11.36, allocations: 0.8241 MB / 4.153 GB, free: 136 MB / 0.9636 GB Notification: Performance of SimCode: time 2.204e-06/11.36, allocations: 0 / 4.153 GB, free: 136 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1331/11.49, allocations: 69.26 MB / 4.22 GB, free: 134.1 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001532/11.49, allocations: 177.2 kB / 4.221 GB, free: 133.9 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.322/15.81, allocations: 3.75 kB / 4.221 GB, free: 133.9 MB / 0.9636 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)