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 2.116/2.116, allocations: 285.6 MB / 293.1 MB, free: 10.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.001565/0.001566, allocations: 180.9 kB / 361.4 MB, free: 6.824 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.848/1.848, allocations: 205.3 MB / 0.62 GB, free: 11.64 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.001093/0.001093, allocations: 84.95 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.441e-05/2.445e-05, allocations: 0 / 0.8518 GB, free: 2.629 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.128/1.128, allocations: 115.3 MB / 0.9644 GB, free: 78.82 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.433/8.561, allocations: 2.088 GB / 3.053 GB, free: 26.76 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003619/8.562, allocations: 87.41 kB / 3.053 GB, free: 26.72 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 11.11/19.67, allocations: 1.628 GB / 4.681 GB, free: 107.9 MB / 0.9948 GB Notification: Performance of FrontEnd: time 4.399e-06/19.67, allocations: 3.188 kB / 4.681 GB, free: 107.9 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0004025/19.67, allocations: 63.89 kB / 4.681 GB, free: 107.9 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.01573/19.69, allocations: 3.246 MB / 4.684 GB, free: 106.8 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.395e-05/19.69, allocations: 12.66 kB / 4.684 GB, free: 106.8 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007726/19.7, allocations: 0.7954 MB / 4.685 GB, free: 106.6 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007357/19.71, allocations: 1.668 MB / 4.686 GB, free: 106.3 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002417/19.71, allocations: 76.45 kB / 4.686 GB, free: 106.3 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001328/19.71, allocations: 146.3 kB / 4.686 GB, free: 106.3 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006648/19.71, allocations: 2.341 MB / 4.689 GB, free: 106.3 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008349/19.72, allocations: 2.622 MB / 4.691 GB, free: 106 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001611/19.72, allocations: 4.531 kB / 4.691 GB, free: 106 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007969/19.72, allocations: 11.17 kB / 4.691 GB, free: 106 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002066/19.72, allocations: 114.2 kB / 4.691 GB, free: 106 MB / 0.9948 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.02614/19.75, allocations: 12.12 MB / 4.703 GB, free: 99.02 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005437/19.76, allocations: 2.604 MB / 4.706 GB, free: 98.03 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002624/19.76, allocations: 1.174 MB / 4.707 GB, free: 98.01 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001425/19.76, allocations: 1.382 MB / 4.708 GB, free: 96.51 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.527e-05/19.76, allocations: 65.28 kB / 4.708 GB, free: 96.47 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=197): time 6.331e-06/19.76, allocations: 0 / 4.708 GB, free: 96.47 MB / 0.9948 GB Notification: Performance of matching and sorting (n=197): time 0.006405/19.77, allocations: 2.004 MB / 4.71 GB, free: 96.3 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.137e-05/19.77, allocations: 73.25 kB / 4.71 GB, free: 96.24 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002622/19.77, allocations: 0.8597 MB / 4.711 GB, free: 96.1 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005119/19.77, allocations: 25.7 kB / 4.711 GB, free: 96.07 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001086/19.77, allocations: 0.9552 MB / 4.712 GB, free: 95.65 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001248/19.77, allocations: 0.6489 MB / 4.713 GB, free: 95.2 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000144/19.77, allocations: 0 / 4.713 GB, free: 95.2 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0002252/19.77, allocations: 382.7 kB / 4.713 GB, free: 94.89 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002184/19.77, allocations: 0.7637 MB / 4.714 GB, free: 94.89 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002213/19.78, allocations: 1.001 MB / 4.715 GB, free: 94.69 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003102/19.78, allocations: 0.937 MB / 4.716 GB, free: 94.67 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.217e-05/19.78, allocations: 0 / 4.716 GB, free: 94.67 MB / 0.9948 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.007019/19.79, allocations: 2.107 MB / 4.718 GB, free: 94.5 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 4.368e-05/19.79, allocations: 4.438 kB / 4.718 GB, free: 94.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.401e-05/19.79, allocations: 5.375 kB / 4.718 GB, free: 94.5 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.026e-05/19.79, allocations: 11.53 kB / 4.718 GB, free: 94.5 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003376/19.79, allocations: 392.7 kB / 4.718 GB, free: 94.5 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.475e-05/19.79, allocations: 8.844 kB / 4.718 GB, free: 94.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005234/19.8, allocations: 237.7 kB / 4.718 GB, free: 94.44 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005088/19.8, allocations: 70.19 kB / 4.719 GB, free: 94.44 MB / 0.9948 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 () * 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.0006804/19.8, allocations: 133.6 kB / 4.719 GB, free: 94.33 MB / 0.9948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006574/19.8, allocations: 1.969 MB / 4.721 GB, free: 94.17 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009825/19.8, allocations: 174.4 kB / 4.721 GB, free: 94.08 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007094/19.81, allocations: 2.177 MB / 4.723 GB, free: 93.97 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.57e-05/19.81, allocations: 22.7 kB / 4.723 GB, free: 93.97 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.354e-05/19.81, allocations: 1.125 kB / 4.723 GB, free: 93.97 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005048/19.82, allocations: 1.847 MB / 4.725 GB, free: 93.86 MB / 0.9948 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.01748/19.83, allocations: 5.101 MB / 4.73 GB, free: 93 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.516e-05/19.83, allocations: 3.344 kB / 4.73 GB, free: 93 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003976/19.84, allocations: 453.7 kB / 4.73 GB, free: 93 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.333e-05/19.84, allocations: 12.31 kB / 4.73 GB, free: 93 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002592/19.84, allocations: 36.44 kB / 4.73 GB, free: 93 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.397e-05/19.84, allocations: 18.98 kB / 4.73 GB, free: 93 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.025e-06/19.84, allocations: 0 / 4.73 GB, free: 93 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009382/19.85, allocations: 3.679 MB / 4.734 GB, free: 92.45 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002492/19.85, allocations: 0.4971 MB / 4.734 GB, free: 92.24 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007584/19.85, allocations: 10.88 kB / 4.734 GB, free: 92.24 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004361/19.86, allocations: 181.5 kB / 4.734 GB, free: 92.22 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002998/19.86, allocations: 130.4 kB / 4.735 GB, free: 92.21 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002637/19.86, allocations: 72.44 kB / 4.735 GB, free: 92.21 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001714/19.86, allocations: 0.6553 MB / 4.735 GB, free: 92.11 MB / 0.9948 GB Notification: Performance of sort global known variables: time 4.4e-07/19.86, allocations: 2.297 kB / 4.735 GB, free: 92.11 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.00586/19.86, allocations: 1.066 MB / 4.736 GB, free: 91.97 MB / 0.9948 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 () * 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.0191/19.88, allocations: 9.396 MB / 4.746 GB, free: 88.41 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.005518/19.89, allocations: 1.929 MB / 4.747 GB, free: 88.38 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-05/19.89, allocations: 3.656 kB / 4.747 GB, free: 88.38 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.002544/19.89, allocations: 1.058 MB / 4.748 GB, free: 88.38 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01023/19.9, allocations: 0.9818 MB / 4.749 GB, free: 88.34 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02141/19.92, allocations: 4.998 MB / 4.754 GB, free: 87.23 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00238/19.93, allocations: 1.872 MB / 4.756 GB, free: 86.48 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.005557/19.93, allocations: 0.6096 MB / 4.757 GB, free: 86.46 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002759/19.93, allocations: 0.9695 MB / 4.758 GB, free: 86.45 MB / 0.9948 GB Notification: Performance of SimCode: time 2.755e-06/19.93, allocations: 1.781 kB / 4.758 GB, free: 86.45 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1752/20.11, allocations: 81.46 MB / 4.837 GB, free: 79.39 MB / 0.9948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001676/20.11, allocations: 181.3 kB / 4.837 GB, free: 79.2 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.215/26.32, allocations: 4 kB / 4.837 GB, free: 79.2 MB / 0.9948 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)