Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.ThreeRoomsContam,fileNamePrefix="Buildings_8_0_0_Buildings_Airflow_Multizone_Validation_ThreeRoomsContam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.ThreeRoomsContam,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.774/2.774, allocations: 284.9 MB / 292.4 MB, free: 10.65 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.00139/0.00139, allocations: 188.8 kB / 360.6 MB, free: 7.328 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.018/2.018, allocations: 205.2 MB / 0.6191 GB, free: 12.24 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.00106/0.001059, allocations: 93.45 kB / 0.7321 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.98e-05/1.993e-05, allocations: 4 kB / 0.8508 GB, free: 3.367 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8069/0.807, allocations: 115.2 MB / 0.9634 GB, free: 78.85 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.9/6.707, allocations: 2.088 GB / 3.051 GB, free: 31.38 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003172/6.707, allocations: 88.64 kB / 3.051 GB, free: 31.33 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 8.981/15.69, allocations: 1.628 GB / 4.679 GB, free: 107.4 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.023e-06/15.69, allocations: 0 / 4.679 GB, free: 107.4 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.000279/15.69, allocations: 66.7 kB / 4.679 GB, free: 107.4 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.01825/15.71, allocations: 3.238 MB / 4.683 GB, free: 106.3 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.577e-05/15.71, allocations: 14.19 kB / 4.683 GB, free: 106.3 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009183/15.72, allocations: 0.7964 MB / 4.683 GB, free: 106.1 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006427/15.72, allocations: 1.658 MB / 4.685 GB, free: 105.8 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001218/15.72, allocations: 75.34 kB / 4.685 GB, free: 105.8 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006554/15.72, allocations: 159.5 kB / 4.685 GB, free: 105.8 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00664/15.73, allocations: 2.333 MB / 4.688 GB, free: 105.8 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007064/15.74, allocations: 2.63 MB / 4.69 GB, free: 105.5 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001042/15.74, allocations: 1.969 kB / 4.69 GB, free: 105.5 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003362/15.74, allocations: 3.594 kB / 4.69 GB, free: 105.5 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001746/15.74, allocations: 115.4 kB / 4.69 GB, free: 105.5 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.02244/15.76, allocations: 12.12 MB / 4.702 GB, free: 98.55 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005183/15.77, allocations: 2.609 MB / 4.705 GB, free: 97.57 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002599/15.77, allocations: 1.177 MB / 4.706 GB, free: 97.55 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00147/15.77, allocations: 1.377 MB / 4.707 GB, free: 96.05 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.586e-05/15.77, allocations: 57.25 kB / 4.707 GB, free: 96.01 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=197): time 5.33e-06/15.77, allocations: 3.812 kB / 4.707 GB, free: 96.01 MB / 0.9948 GB Notification: Performance of matching and sorting (n=197): time 0.005956/15.78, allocations: 2.012 MB / 4.709 GB, free: 95.84 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/15.78, allocations: 72.91 kB / 4.709 GB, free: 95.78 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00182/15.78, allocations: 0.8543 MB / 4.71 GB, free: 95.64 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003282/15.78, allocations: 25.7 kB / 4.71 GB, free: 95.61 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007138/15.78, allocations: 0.9568 MB / 4.711 GB, free: 95.21 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008464/15.78, allocations: 0.6525 MB / 4.712 GB, free: 94.77 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001509/15.78, allocations: 2.438 kB / 4.712 GB, free: 94.77 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001336/15.78, allocations: 373.6 kB / 4.712 GB, free: 94.47 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001724/15.78, allocations: 0.7602 MB / 4.713 GB, free: 94.46 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001847/15.78, allocations: 0.9995 MB / 4.714 GB, free: 94.26 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002521/15.79, allocations: 0.9405 MB / 4.715 GB, free: 94.25 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.699e-06/15.79, allocations: 3.938 kB / 4.715 GB, free: 94.25 MB / 0.9948 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.005438/15.79, allocations: 2.102 MB / 4.717 GB, free: 94.08 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.968e-05/15.79, allocations: 3.406 kB / 4.717 GB, free: 94.08 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.642e-05/15.79, allocations: 3.406 kB / 4.717 GB, free: 94.08 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.228e-05/15.79, allocations: 10.22 kB / 4.717 GB, free: 94.08 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003386/15.79, allocations: 399.8 kB / 4.717 GB, free: 94.08 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.897e-05/15.79, allocations: 9.656 kB / 4.717 GB, free: 94.08 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004178/15.8, allocations: 239.9 kB / 4.717 GB, free: 94.02 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00023/15.8, allocations: 65.58 kB / 4.717 GB, free: 94.02 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.0005004/15.8, allocations: 142.1 kB / 4.717 GB, free: 93.91 MB / 0.9948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005364/15.81, allocations: 1.973 MB / 4.719 GB, free: 93.73 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000679/15.81, allocations: 178.8 kB / 4.72 GB, free: 93.65 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006211/15.81, allocations: 2.182 MB / 4.722 GB, free: 93.54 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.998e-05/15.81, allocations: 24.45 kB / 4.722 GB, free: 93.53 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/15.81, allocations: 2.25 kB / 4.722 GB, free: 93.53 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005732/15.82, allocations: 1.845 MB / 4.724 GB, free: 93.42 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.01346/15.83, allocations: 5.093 MB / 4.729 GB, free: 92.57 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.284e-05/15.83, allocations: 3.312 kB / 4.729 GB, free: 92.57 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004141/15.84, allocations: 450.5 kB / 4.729 GB, free: 92.57 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.98e-05/15.84, allocations: 13.83 kB / 4.729 GB, free: 92.56 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002019/15.84, allocations: 38.42 kB / 4.729 GB, free: 92.56 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.374e-05/15.84, allocations: 8.656 kB / 4.729 GB, free: 92.56 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/15.84, allocations: 6.875 kB / 4.729 GB, free: 92.56 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007769/15.84, allocations: 3.679 MB / 4.733 GB, free: 92.02 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00209/15.85, allocations: 0.4977 MB / 4.733 GB, free: 91.8 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004452/15.85, allocations: 11.22 kB / 4.733 GB, free: 91.8 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003381/15.85, allocations: 176.2 kB / 4.733 GB, free: 91.79 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002593/15.85, allocations: 127 kB / 4.733 GB, free: 91.79 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002168/15.85, allocations: 76.31 kB / 4.733 GB, free: 91.79 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.00133/15.85, allocations: 0.6555 MB / 4.734 GB, free: 91.68 MB / 0.9948 GB Notification: Performance of sort global known variables: time 4.61e-07/15.85, allocations: 0 / 4.734 GB, free: 91.68 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.004375/15.86, allocations: 1.071 MB / 4.735 GB, free: 91.54 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.01679/15.87, allocations: 9.399 MB / 4.744 GB, free: 87.98 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.004839/15.88, allocations: 1.932 MB / 4.746 GB, free: 87.94 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 9.148e-06/15.88, allocations: 0 / 4.746 GB, free: 87.94 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.002198/15.88, allocations: 1.05 MB / 4.747 GB, free: 87.94 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008653/15.89, allocations: 0.9902 MB / 4.748 GB, free: 87.91 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01355/15.9, allocations: 5.003 MB / 4.753 GB, free: 86.79 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001773/15.9, allocations: 1.875 MB / 4.755 GB, free: 86.04 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.004391/15.91, allocations: 0.6095 MB / 4.756 GB, free: 86.02 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00251/15.91, allocations: 0.9682 MB / 4.756 GB, free: 86.02 MB / 0.9948 GB Notification: Performance of SimCode: time 2.735e-06/15.91, allocations: 3.391 kB / 4.756 GB, free: 86.02 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2031/16.11, allocations: 81.45 MB / 4.836 GB, free: 81.5 MB / 0.9948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002759/16.11, allocations: 173.2 kB / 4.836 GB, free: 81.31 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.067/22.18, allocations: 0 / 4.836 GB, free: 81.31 MB / 0.9948 GB (rm -f Buildings_8.0.0_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe ; mkfifo Buildings_8.0.0_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe >> ../files/Buildings_8.0.0_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Airflow_Multizone_Validation_ThreeRoomsContam_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Airflow_Multizone_Validation_ThreeRoomsContam.fmu > Buildings_8.0.0_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe 2>&1)