Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.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.ThreeRoomsContam,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_Validation_ThreeRoomsContam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.ThreeRoomsContam,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.837/1.837, allocations: 292.6 MB / 307.5 MB, free: 5.211 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.001148/0.001148, allocations: 181.1 kB / 377.1 MB, free: 1.531 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.951/1.951, allocations: 205.4 MB / 0.6366 GB, free: 8.633 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.0009983/0.0009982, allocations: 87.17 kB / 0.7509 GB, free: 63.07 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003904/0.0003904, allocations: 8 kB / 0.8748 GB, free: 11.13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3116/0.3121, allocations: 116.3 MB / 0.9884 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.643/5.955, allocations: 2.09 GB / 3.078 GB, free: 135.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002608/5.955, allocations: 87.95 kB / 3.078 GB, free: 135 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 6.686/12.64, allocations: 1.647 GB / 4.725 GB, free: 102.2 MB / 1.01 GB Notification: Performance of FrontEnd: time 4.008e-06/12.64, allocations: 3.469 kB / 4.725 GB, free: 102.2 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0003593/12.64, allocations: 62.09 kB / 4.725 GB, free: 102.2 MB / 1.01 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.01718/12.66, allocations: 3.58 MB / 4.729 GB, free: 101.3 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/12.66, allocations: 10.84 kB / 4.729 GB, free: 101.3 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001942/12.66, allocations: 351 kB / 4.729 GB, free: 101.2 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007316/12.67, allocations: 0.7968 MB / 4.73 GB, free: 101.1 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006693/12.67, allocations: 1.673 MB / 4.732 GB, free: 100.8 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003045/12.68, allocations: 190.2 kB / 4.732 GB, free: 100.8 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00145/12.68, allocations: 257 kB / 4.732 GB, free: 100.8 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01032/12.69, allocations: 3.023 MB / 4.735 GB, free: 100.4 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.753e-05/12.69, allocations: 6.062 kB / 4.735 GB, free: 100.4 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003406/12.69, allocations: 97.56 kB / 4.735 GB, free: 100.4 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001565/12.69, allocations: 122.2 kB / 4.735 GB, free: 100.4 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005263/12.69, allocations: 2.72 MB / 4.738 GB, free: 100.4 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.01582/12.71, allocations: 12.37 MB / 4.75 GB, free: 93.41 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002819/12.71, allocations: 2.084 MB / 4.752 GB, free: 92.98 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001069/12.71, allocations: 1.377 MB / 4.753 GB, free: 91.48 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.622e-05/12.71, allocations: 61.22 kB / 4.753 GB, free: 91.44 MB / 1.01 GB Notification: Performance of pre-optimization done (n=197): time 3.917e-06/12.71, allocations: 3.656 kB / 4.753 GB, free: 91.44 MB / 1.01 GB Notification: Performance of matching and sorting (n=197): time 0.005373/12.72, allocations: 2.792 MB / 4.756 GB, free: 91.26 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.864e-05/12.72, allocations: 72.38 kB / 4.756 GB, free: 91.2 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002099/12.72, allocations: 1.131 MB / 4.757 GB, free: 91.05 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0002121/12.72, allocations: 63.11 kB / 4.757 GB, free: 91.02 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007244/12.72, allocations: 0.9555 MB / 4.758 GB, free: 90.74 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007275/12.72, allocations: 0.6763 MB / 4.759 GB, free: 90.39 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.681e-05/12.72, allocations: 34.09 kB / 4.759 GB, free: 90.39 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001447/12.72, allocations: 381.7 kB / 4.759 GB, free: 90.09 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00126/12.72, allocations: 0.766 MB / 4.76 GB, free: 90.08 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001513/12.73, allocations: 1.016 MB / 4.761 GB, free: 89.88 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001414/12.73, allocations: 0.9124 MB / 4.762 GB, free: 89.86 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/12.73, allocations: 3.125 kB / 4.762 GB, free: 89.86 MB / 1.01 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.00376/12.73, allocations: 2.137 MB / 4.764 GB, free: 89.69 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.644e-05/12.73, allocations: 9.188 kB / 4.764 GB, free: 89.69 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/12.73, allocations: 3.562 kB / 4.764 GB, free: 89.69 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.945e-05/12.73, allocations: 11.16 kB / 4.764 GB, free: 89.69 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001703/12.73, allocations: 379.1 kB / 4.765 GB, free: 89.69 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.006e-05/12.73, allocations: 13.06 kB / 4.765 GB, free: 89.69 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003153/12.74, allocations: 290.9 kB / 4.765 GB, free: 89.64 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000149/12.74, allocations: 63.55 kB / 4.765 GB, free: 89.64 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.00148/12.74, allocations: 0.6009 MB / 4.765 GB, free: 89.52 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004377/12.74, allocations: 198.6 kB / 4.766 GB, free: 89.42 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003835/12.74, allocations: 2.239 MB / 4.768 GB, free: 89.3 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.861e-05/12.74, allocations: 19.16 kB / 4.768 GB, free: 89.3 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/12.74, allocations: 0 / 4.768 GB, free: 89.3 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002558/12.74, allocations: 1.847 MB / 4.77 GB, free: 89.2 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009439/12.75, allocations: 5.084 MB / 4.775 GB, free: 88.57 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.867e-06/12.75, allocations: 2.219 kB / 4.775 GB, free: 88.57 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002043/12.76, allocations: 435.8 kB / 4.775 GB, free: 88.57 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.558e-05/12.76, allocations: 10.5 kB / 4.775 GB, free: 88.57 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001377/12.76, allocations: 52.52 kB / 4.775 GB, free: 88.57 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.038e-05/12.76, allocations: 15.58 kB / 4.775 GB, free: 88.57 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/12.76, allocations: 4.5 kB / 4.775 GB, free: 88.57 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005022/12.76, allocations: 3.683 MB / 4.779 GB, free: 87.97 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001588/12.76, allocations: 0.5037 MB / 4.779 GB, free: 87.75 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003131/12.76, allocations: 48.42 kB / 4.779 GB, free: 87.75 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00205/12.76, allocations: 203.3 kB / 4.779 GB, free: 87.73 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001943/12.76, allocations: 123.7 kB / 4.78 GB, free: 87.73 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001304/12.76, allocations: 65.75 kB / 4.78 GB, free: 87.73 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001399/12.77, allocations: 0.8889 MB / 4.78 GB, free: 87.62 MB / 1.01 GB Notification: Performance of sort global known variables: time 3.8e-07/12.77, allocations: 0 / 4.78 GB, free: 87.62 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.004277/12.77, allocations: 1.221 MB / 4.782 GB, free: 87.51 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.01251/12.78, allocations: 9.005 MB / 4.79 GB, free: 83.95 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.003714/12.79, allocations: 1.953 MB / 4.792 GB, free: 83.91 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.052e-05/12.79, allocations: 4.188 kB / 4.792 GB, free: 83.91 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001885/12.79, allocations: 1.054 MB / 4.793 GB, free: 83.9 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006081/12.79, allocations: 1.162 MB / 4.795 GB, free: 83.87 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03003/12.82, allocations: 16.18 MB / 4.81 GB, free: 77.31 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002204/12.83, allocations: 1.876 MB / 4.812 GB, free: 76.56 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.003528/12.83, allocations: 0.6205 MB / 4.813 GB, free: 76.54 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00148/12.83, allocations: 0.9808 MB / 4.814 GB, free: 76.54 MB / 1.01 GB Notification: Performance of SimCode: time 1.603e-06/12.83, allocations: 0 / 4.814 GB, free: 76.54 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2125/13.04, allocations: 114.2 MB / 4.925 GB, free: 72.16 MB / 1.01 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001786/13.04, allocations: 231.7 kB / 4.925 GB, free: 71.91 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.668/19.71, allocations: 0 / 4.925 GB, free: 71.91 MB / 1.01 GB (rm -f Buildings_8_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Airflow_Multizone_Validation_ThreeRoomsContam_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Airflow_Multizone_Validation_ThreeRoomsContam.fmu > Buildings_8_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe 2>&1)