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.9248/0.9248, allocations: 141.8 MB / 149.3 MB, free: 9.195 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.001038/0.001038, allocations: 180.9 kB / 182.2 MB, free: 9.414 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.543/1.543, allocations: 221.5 MB / 436.4 MB, free: 13.32 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.0009242/0.0009239, allocations: 99.77 kB / 0.5074 GB, free: 10.14 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00168/0.00168, allocations: 278 kB / 0.5889 GB, free: 54.64 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.785e-05/1.797e-05, allocations: 4 kB / 0.6766 GB, free: 12.72 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4477/0.4477, allocations: 82.77 MB / 0.7574 GB, free: 31.9 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.809/5.257, allocations: 1.897 GB / 2.654 GB, free: 121.9 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000274/5.257, allocations: 79.83 kB / 2.654 GB, free: 121.9 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 3.826/9.084, allocations: 1.024 GB / 3.678 GB, free: 85.73 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.383e-06/9.084, allocations: 0 / 3.678 GB, free: 85.73 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001568/9.084, allocations: 57.81 kB / 3.678 GB, free: 85.72 MB / 0.7136 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.007374/9.091, allocations: 2.615 MB / 3.681 GB, free: 84.77 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/9.091, allocations: 11.22 kB / 3.681 GB, free: 84.77 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004605/9.096, allocations: 0.659 MB / 3.681 GB, free: 84.64 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003367/9.099, allocations: 1.575 MB / 3.683 GB, free: 84.27 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.541e-05/9.099, allocations: 63 kB / 3.683 GB, free: 84.27 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003357/9.1, allocations: 119.7 kB / 3.683 GB, free: 84.27 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003522/9.103, allocations: 2.259 MB / 3.685 GB, free: 84.26 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003334/9.107, allocations: 2.008 MB / 3.687 GB, free: 84.14 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.666e-05/9.107, allocations: 10.78 kB / 3.687 GB, free: 84.14 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001727/9.107, allocations: 0 / 3.687 GB, free: 84.14 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-05/9.107, allocations: 93.45 kB / 3.687 GB, free: 84.12 MB / 0.7136 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.01111/9.118, allocations: 7.645 MB / 3.695 GB, free: 80.98 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00287/9.121, allocations: 2.941 MB / 3.697 GB, free: 80.01 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001449/9.122, allocations: 1.211 MB / 3.699 GB, free: 79.96 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001088/9.123, allocations: 1.564 MB / 3.7 GB, free: 78.27 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.353e-05/9.124, allocations: 63.25 kB / 3.7 GB, free: 78.23 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=222): time 4.468e-06/9.124, allocations: 3.609 kB / 3.7 GB, free: 78.23 MB / 0.7136 GB Notification: Performance of matching and sorting (n=226): time 0.0111/9.135, allocations: 5.653 MB / 3.706 GB, free: 76.68 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/9.135, allocations: 154 kB / 3.706 GB, free: 76.52 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001119/9.136, allocations: 0.8586 MB / 3.707 GB, free: 76.39 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001694/9.136, allocations: 25.7 kB / 3.707 GB, free: 76.36 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004079/9.136, allocations: 0.7698 MB / 3.708 GB, free: 76.04 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005207/9.137, allocations: 0.7324 MB / 3.708 GB, free: 75.54 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.975e-05/9.137, allocations: 0 / 3.708 GB, free: 75.54 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001139/9.137, allocations: 380.8 kB / 3.709 GB, free: 75.23 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00101/9.138, allocations: 0.7639 MB / 3.709 GB, free: 75.23 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001101/9.139, allocations: 1.037 MB / 3.71 GB, free: 75 MB / 0.7136 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.00846/9.148, allocations: 3.278 MB / 3.714 GB, free: 74.77 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.216e-05/9.148, allocations: 0 / 3.714 GB, free: 74.77 MB / 0.7136 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.004093/9.152, allocations: 2.234 MB / 3.716 GB, free: 74.6 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.828e-05/9.152, allocations: 14.64 kB / 3.716 GB, free: 74.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/9.152, allocations: 6.5 kB / 3.716 GB, free: 74.6 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.615e-05/9.152, allocations: 14.78 kB / 3.716 GB, free: 74.6 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001591/9.154, allocations: 429.8 kB / 3.716 GB, free: 74.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.745e-05/9.154, allocations: 13.5 kB / 3.716 GB, free: 74.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002247/9.156, allocations: 111.7 kB / 3.716 GB, free: 74.58 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000163/9.156, allocations: 76.3 kB / 3.716 GB, free: 74.58 MB / 0.7136 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.0003473/9.156, allocations: 152.6 kB / 3.717 GB, free: 74.47 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00368/9.16, allocations: 2.073 MB / 3.719 GB, free: 74.3 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003581/9.161, allocations: 192.1 kB / 3.719 GB, free: 74.2 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003962/9.164, allocations: 2.331 MB / 3.721 GB, free: 74.08 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.899e-05/9.165, allocations: 20.94 kB / 3.721 GB, free: 74.08 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.23e-05/9.165, allocations: 7.625 kB / 3.721 GB, free: 74.08 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002915/9.167, allocations: 1.967 MB / 3.723 GB, free: 73.94 MB / 0.7136 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.008781/9.176, allocations: 5.338 MB / 3.728 GB, free: 72.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.265e-05/9.176, allocations: 10.19 kB / 3.728 GB, free: 72.88 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001881/9.178, allocations: 471.8 kB / 3.729 GB, free: 72.88 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.102e-05/9.178, allocations: 15.56 kB / 3.729 GB, free: 72.88 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001242/9.178, allocations: 30.09 kB / 3.729 GB, free: 72.88 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.341e-05/9.178, allocations: 16.09 kB / 3.729 GB, free: 72.88 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.937e-06/9.178, allocations: 15.73 kB / 3.729 GB, free: 72.88 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005246/9.184, allocations: 4.36 MB / 3.733 GB, free: 71.68 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001282/9.185, allocations: 479.7 kB / 3.733 GB, free: 71.49 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000288/9.185, allocations: 17.44 kB / 3.733 GB, free: 71.49 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001824/9.187, allocations: 109.9 kB / 3.734 GB, free: 71.48 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001964/9.187, allocations: 156.1 kB / 3.734 GB, free: 71.48 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000143/9.187, allocations: 85.33 kB / 3.734 GB, free: 71.48 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0009541/9.188, allocations: 0.6567 MB / 3.734 GB, free: 71.37 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.9e-07/9.188, allocations: 0 / 3.734 GB, free: 71.37 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002827/9.191, allocations: 0.7776 MB / 3.735 GB, free: 71.35 MB / 0.7136 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.009072/9.2, allocations: 9.462 MB / 3.744 GB, free: 66.91 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003097/9.204, allocations: 1.962 MB / 3.746 GB, free: 66.87 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.541e-05/9.204, allocations: 6.438 kB / 3.746 GB, free: 66.87 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001311/9.205, allocations: 1.054 MB / 3.747 GB, free: 66.87 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005113/9.21, allocations: 0.9739 MB / 3.748 GB, free: 66.84 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008167/9.218, allocations: 4.424 MB / 3.753 GB, free: 65.45 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001137/9.219, allocations: 1.689 MB / 3.754 GB, free: 64.64 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002713/9.222, allocations: 0.7229 MB / 3.755 GB, free: 64.62 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00114/9.223, allocations: 0.821 MB / 3.756 GB, free: 64.02 MB / 0.7136 GB Notification: Performance of SimCode: time 1.212e-06/9.223, allocations: 0 / 3.756 GB, free: 64.02 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1033/9.327, allocations: 69.29 MB / 3.823 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001456/9.327, allocations: 192.3 kB / 3.824 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.232/13.56, allocations: 0 / 3.824 GB, free: 12.56 MB / 0.7136 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)