Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.ThreeRoomsContam,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Validation_ThreeRoomsContam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.ThreeRoomsContam,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Validation_ThreeRoomsContam",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.734/1.734, allocations: 288.2 MB / 303.2 MB, free: 8.18 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.001097/0.001097, allocations: 177 kB / 371.8 MB, free: 10.29 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.655/1.655, allocations: 205.4 MB / 0.6305 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008588/0.0008588, allocations: 98.59 kB / 0.7439 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004888/0.000489, allocations: 10.38 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2605/0.261, allocations: 115.3 MB / 0.9795 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.462/5.723, allocations: 2.089 GB / 3.068 GB, free: 182.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002505/5.724, allocations: 89.7 kB / 3.068 GB, free: 182.4 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 5.553/11.28, allocations: 1.647 GB / 4.715 GB, free: 8.074 MB / 0.9948 GB Notification: Performance of FrontEnd: time 3.096e-06/11.28, allocations: 0 / 4.715 GB, free: 8.074 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0003354/11.28, allocations: 67.92 kB / 4.716 GB, free: 8.008 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 627 * Number of variables: 627 Notification: Performance of Generate backend data structure: time 0.01793/11.29, allocations: 3.581 MB / 4.719 GB, free: 4.367 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 6.284e-05/11.3, allocations: 8.031 kB / 4.719 GB, free: 4.359 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001986/11.3, allocations: 346 kB / 4.719 GB, free: 4.012 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007621/11.3, allocations: 0.8004 MB / 4.72 GB, free: 3.207 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007423/11.31, allocations: 1.669 MB / 4.722 GB, free: 1.48 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003273/11.31, allocations: 184.8 kB / 4.722 GB, free: 1.297 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001465/11.31, allocations: 259.9 kB / 4.722 GB, free: 1.043 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01113/11.33, allocations: 3.017 MB / 4.725 GB, free: 13.9 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001509/11.33, allocations: 7.938 kB / 4.725 GB, free: 13.89 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008925/11.33, allocations: 99.98 kB / 4.725 GB, free: 13.8 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001685/11.33, allocations: 120.7 kB / 4.725 GB, free: 13.68 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007671/11.33, allocations: 2.72 MB / 4.728 GB, free: 10.94 MB / 1.01 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.6915/12.03, allocations: 12.36 MB / 4.74 GB, free: 117.2 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003985/12.03, allocations: 2.085 MB / 4.742 GB, free: 116.8 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001287/12.03, allocations: 1.377 MB / 4.743 GB, free: 115.3 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.218e-05/12.03, allocations: 63.91 kB / 4.744 GB, free: 115.3 MB / 1.01 GB Notification: Performance of pre-optimization done (n=197): time 5.099e-06/12.03, allocations: 0 / 4.744 GB, free: 115.3 MB / 1.01 GB Notification: Performance of matching and sorting (n=197): time 0.006531/12.04, allocations: 2.802 MB / 4.746 GB, free: 115.2 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.439e-05/12.04, allocations: 72.91 kB / 4.746 GB, free: 115.1 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002803/12.04, allocations: 1.132 MB / 4.747 GB, free: 115 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.000263/12.04, allocations: 65.42 kB / 4.748 GB, free: 115 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008661/12.04, allocations: 0.9574 MB / 4.748 GB, free: 114.7 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007295/12.04, allocations: 0.6732 MB / 4.749 GB, free: 114.4 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/12.04, allocations: 32.91 kB / 4.749 GB, free: 114.4 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.000134/12.04, allocations: 371.1 kB / 4.749 GB, free: 114.1 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001598/12.04, allocations: 0.7727 MB / 4.75 GB, free: 114 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001773/12.05, allocations: 1.017 MB / 4.751 GB, free: 113.8 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001762/12.05, allocations: 0.9166 MB / 4.752 GB, free: 113.8 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.127e-06/12.05, allocations: 2.234 kB / 4.752 GB, free: 113.8 MB / 1.01 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.004979/12.05, allocations: 2.132 MB / 4.754 GB, free: 113.6 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 3.033e-05/12.05, allocations: 6.938 kB / 4.754 GB, free: 113.6 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/12.05, allocations: 3.406 kB / 4.754 GB, free: 113.6 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.599e-05/12.05, allocations: 13.97 kB / 4.754 GB, free: 113.6 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001922/12.05, allocations: 380 kB / 4.755 GB, free: 113.6 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.194e-05/12.06, allocations: 16.28 kB / 4.755 GB, free: 113.6 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003509/12.06, allocations: 297.2 kB / 4.755 GB, free: 113.6 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002167/12.06, allocations: 63.3 kB / 4.755 GB, free: 113.6 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (219): * Single equations (assignments): 219 * 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.00185/12.06, allocations: 0.5955 MB / 4.756 GB, free: 113.5 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006547/12.06, allocations: 198.8 kB / 4.756 GB, free: 113.4 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004423/12.07, allocations: 2.24 MB / 4.758 GB, free: 113.3 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.358e-05/12.07, allocations: 18.31 kB / 4.758 GB, free: 113.3 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/12.07, allocations: 1.844 kB / 4.758 GB, free: 113.3 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003262/12.07, allocations: 1.852 MB / 4.76 GB, free: 113.2 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01335/12.08, allocations: 5.066 MB / 4.765 GB, free: 112.6 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-05/12.08, allocations: 2.844 kB / 4.765 GB, free: 112.6 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002279/12.08, allocations: 437.2 kB / 4.765 GB, free: 112.6 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.526e-05/12.08, allocations: 12.03 kB / 4.765 GB, free: 112.6 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001716/12.08, allocations: 53.62 kB / 4.765 GB, free: 112.6 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.777e-05/12.09, allocations: 14.81 kB / 4.765 GB, free: 112.6 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-05/12.09, allocations: 5.031 kB / 4.765 GB, free: 112.6 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005984/12.09, allocations: 3.694 MB / 4.769 GB, free: 112 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001879/12.09, allocations: 0.4997 MB / 4.769 GB, free: 111.8 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003793/12.09, allocations: 41.23 kB / 4.769 GB, free: 111.8 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002081/12.1, allocations: 209.6 kB / 4.77 GB, free: 111.8 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002652/12.1, allocations: 122.6 kB / 4.77 GB, free: 111.8 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001416/12.1, allocations: 67.75 kB / 4.77 GB, free: 111.8 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001457/12.1, allocations: 0.8897 MB / 4.771 GB, free: 111.7 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.41e-07/12.1, allocations: 1.75 kB / 4.771 GB, free: 111.7 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.004199/12.1, allocations: 1.221 MB / 4.772 GB, free: 111.6 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 16 (volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mXi[1],volEas.dynBal.mC[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mXi[1],volWes.dynBal.mC[1],oriEasTop.mExc,volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mXi[1],volTop.dynBal.mC[1]) * 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 (201): * Single equations (assignments): 201 * 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.01304/12.11, allocations: 9.002 MB / 4.781 GB, free: 108.1 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.003908/12.12, allocations: 1.957 MB / 4.782 GB, free: 108 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.032e-05/12.12, allocations: 2.031 kB / 4.782 GB, free: 108 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001825/12.12, allocations: 1.049 MB / 4.784 GB, free: 108 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006332/12.13, allocations: 1.173 MB / 4.785 GB, free: 108 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02971/12.16, allocations: 16.17 MB / 4.8 GB, free: 101.5 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001552/12.16, allocations: 1.875 MB / 4.802 GB, free: 100.7 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.00343/12.16, allocations: 0.6275 MB / 4.803 GB, free: 100.7 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001725/12.16, allocations: 0.9803 MB / 4.804 GB, free: 100.7 MB / 1.01 GB Notification: Performance of SimCode: time 7.11e-07/12.16, allocations: 1.859 kB / 4.804 GB, free: 100.7 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1711/12.33, allocations: 114.2 MB / 4.915 GB, free: 96.88 MB / 1.01 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001951/12.33, allocations: 235 kB / 4.916 GB, free: 96.64 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.352/18.69, allocations: 0 / 4.916 GB, free: 96.64 MB / 1.01 GB (rm -f Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Validation_ThreeRoomsContam_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Validation_ThreeRoomsContam.fmu > Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe 2>&1)