Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 182.7 kB / 13.19 MB, free: 2.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5849/0.5849, allocations: 90.81 MB / 104.5 MB, free: 13.93 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.524/1.524, allocations: 221.3 MB / 348.3 MB, free: 12.59 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009112/0.0009112, allocations: 102.5 kB / 421.2 MB, free: 5.738 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.528e-05/3.55e-05, allocations: 4 kB / 0.4897 GB, free: 46.54 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.171, allocations: 72.31 MB / 0.5603 GB, free: 6.32 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.629/5.8, allocations: 1.891 GB / 2.451 GB, free: 7.598 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003307/5.801, allocations: 83.95 kB / 2.451 GB, free: 7.516 MB / 0.6042 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 5.259/11.06, allocations: 1.041 GB / 3.492 GB, free: 65.42 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.112e-06/11.06, allocations: 0 / 3.492 GB, free: 65.42 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0002437/11.06, allocations: 64.22 kB / 3.492 GB, free: 65.41 MB / 0.6355 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.008331/11.07, allocations: 2.63 MB / 3.495 GB, free: 64.46 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/11.07, allocations: 15.39 kB / 3.495 GB, free: 64.46 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001047/11.07, allocations: 284.9 kB / 3.495 GB, free: 64.41 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005239/11.07, allocations: 0.666 MB / 3.496 GB, free: 64.28 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00442/11.08, allocations: 1.613 MB / 3.497 GB, free: 63.9 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001434/11.08, allocations: 150 kB / 3.497 GB, free: 63.89 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007419/11.08, allocations: 203 kB / 3.498 GB, free: 63.89 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006061/11.09, allocations: 2.286 MB / 3.5 GB, free: 63.76 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.919e-05/11.09, allocations: 0 / 3.5 GB, free: 63.76 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004837/11.09, allocations: 80.45 kB / 3.5 GB, free: 63.76 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001111/11.09, allocations: 88.77 kB / 3.5 GB, free: 63.75 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004877/11.09, allocations: 2.453 MB / 3.502 GB, free: 63.73 MB / 0.6355 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.01235/11.1, allocations: 8.033 MB / 3.51 GB, free: 60.52 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00301/11.11, allocations: 2.271 MB / 3.512 GB, free: 60.38 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001771/11.11, allocations: 1.299 MB / 3.514 GB, free: 60.34 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001123/11.11, allocations: 1.557 MB / 3.515 GB, free: 58.65 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.515e-05/11.11, allocations: 70.62 kB / 3.515 GB, free: 58.61 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=222): time 4.098e-06/11.11, allocations: 2.094 kB / 3.515 GB, free: 58.61 MB / 0.6355 GB Notification: Performance of matching and sorting (n=226): time 0.01212/11.12, allocations: 5.791 MB / 3.521 GB, free: 57.05 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.701e-05/11.12, allocations: 155 kB / 3.521 GB, free: 56.89 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00146/11.12, allocations: 1.036 MB / 3.522 GB, free: 56.74 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0003189/11.12, allocations: 74.33 kB / 3.522 GB, free: 56.71 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003824/11.12, allocations: 0.7599 MB / 3.523 GB, free: 56.41 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005458/11.13, allocations: 0.7676 MB / 3.524 GB, free: 55.91 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.675e-05/11.13, allocations: 40.53 kB / 3.524 GB, free: 55.91 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.86e-05/11.13, allocations: 388.6 kB / 3.524 GB, free: 55.61 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00114/11.13, allocations: 0.8346 MB / 3.525 GB, free: 55.6 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001291/11.13, allocations: 1.097 MB / 3.526 GB, free: 55.39 MB / 0.6355 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.05454/11.18, allocations: 9.654 MB / 3.535 GB, free: 55.15 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.105e-05/11.18, allocations: 3.562 kB / 3.535 GB, free: 55.15 MB / 0.6355 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.003619/11.19, allocations: 2.349 MB / 3.538 GB, free: 54.98 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/11.19, allocations: 7.344 kB / 3.538 GB, free: 54.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/11.19, allocations: 7.094 kB / 3.538 GB, free: 54.98 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.204e-05/11.19, allocations: 15.28 kB / 3.538 GB, free: 54.98 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001645/11.19, allocations: 427.6 kB / 3.538 GB, free: 54.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.303e-05/11.19, allocations: 13.69 kB / 3.538 GB, free: 54.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002285/11.19, allocations: 197.2 kB / 3.538 GB, free: 54.96 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001559/11.19, allocations: 73.59 kB / 3.538 GB, free: 54.96 MB / 0.6355 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.0003423/11.19, allocations: 224.1 kB / 3.539 GB, free: 54.85 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003603/11.19, allocations: 194.6 kB / 3.539 GB, free: 54.76 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003772/11.19, allocations: 2.48 MB / 3.541 GB, free: 54.64 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.59e-05/11.19, allocations: 24.34 kB / 3.541 GB, free: 54.64 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/11.19, allocations: 5.859 kB / 3.541 GB, free: 54.64 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002495/11.2, allocations: 2.051 MB / 3.543 GB, free: 54.49 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007919/11.21, allocations: 5.308 MB / 3.548 GB, free: 53.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/11.21, allocations: 3.594 kB / 3.548 GB, free: 53.85 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001914/11.21, allocations: 463.5 kB / 3.549 GB, free: 53.85 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.928e-05/11.21, allocations: 15.81 kB / 3.549 GB, free: 53.85 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001479/11.21, allocations: 61.59 kB / 3.549 GB, free: 53.85 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.486e-05/11.21, allocations: 26.3 kB / 3.549 GB, free: 53.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/11.21, allocations: 10.16 kB / 3.549 GB, free: 53.84 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004659/11.21, allocations: 4.368 MB / 3.553 GB, free: 52.55 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001388/11.21, allocations: 0.5 MB / 3.554 GB, free: 52.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002786/11.21, allocations: 55.7 kB / 3.554 GB, free: 52.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001779/11.22, allocations: 152 kB / 3.554 GB, free: 52.34 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002089/11.22, allocations: 154.7 kB / 3.554 GB, free: 52.33 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001365/11.22, allocations: 78.55 kB / 3.554 GB, free: 52.33 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001036/11.22, allocations: 0.8176 MB / 3.555 GB, free: 52.21 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.51e-07/11.22, allocations: 0 / 3.555 GB, free: 52.21 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00301/11.22, allocations: 0.9265 MB / 3.556 GB, free: 52.2 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 12 (bouADis.dynBal.medium.Xi[1],bouADis.dynBal.U,bouBDis.dynBal.medium.Xi[1],bouBDis.dynBal.U,bouBDis.dynBal.m,bouA.dynBal.medium.Xi[1],bouA.dynBal.U,bouB.dynBal.medium.Xi[1],bouB.dynBal.U,bouB.dynBal.m,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.008087/11.23, allocations: 9.208 MB / 3.565 GB, free: 47.77 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002945/11.23, allocations: 2.135 MB / 3.567 GB, free: 47.27 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.041e-05/11.23, allocations: 2.656 kB / 3.567 GB, free: 47.27 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.00133/11.23, allocations: 1.144 MB / 3.568 GB, free: 46.93 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005036/11.24, allocations: 1.086 MB / 3.569 GB, free: 46.73 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00733/11.24, allocations: 4.695 MB / 3.574 GB, free: 44.73 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001009/11.25, allocations: 1.691 MB / 3.575 GB, free: 43.9 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0026/11.25, allocations: 0.757 MB / 3.576 GB, free: 43.81 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001095/11.25, allocations: 0.8348 MB / 3.577 GB, free: 43.2 MB / 0.6355 GB Notification: Performance of SimCode: time 1.022e-06/11.25, allocations: 0 / 3.577 GB, free: 43.2 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5693/11.82, allocations: 98.1 MB / 3.673 GB, free: 83.51 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001524/11.82, allocations: 208.5 kB / 3.673 GB, free: 83.28 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.465/17.28, allocations: 2.75 kB / 3.673 GB, free: 83.28 MB / 0.6511 GB (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe 2>&1)