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.536/2.536, allocations: 287.3 MB / 302.3 MB, free: 8.355 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.001518/0.001517, allocations: 185.5 kB / 370.8 MB, free: 10.86 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.039/2.039, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001064/0.001064, allocations: 93.91 kB / 0.7428 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007468/0.0007469, allocations: 12.14 kB / 0.8657 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2937/0.2945, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.703/6.998, allocations: 2.089 GB / 3.067 GB, free: 186.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003289/6.998, allocations: 98.94 kB / 3.067 GB, free: 186.1 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.841/15.84, allocations: 1.647 GB / 4.714 GB, free: 13.5 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.625e-06/15.84, allocations: 0 / 4.714 GB, free: 13.5 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0003355/15.84, allocations: 63.98 kB / 4.714 GB, free: 13.43 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.02225/15.86, allocations: 3.58 MB / 4.718 GB, free: 9.789 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.929e-05/15.86, allocations: 8.031 kB / 4.718 GB, free: 9.781 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001893/15.86, allocations: 353.9 kB / 4.718 GB, free: 9.426 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01036/15.87, allocations: 0.8004 MB / 4.719 GB, free: 8.621 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007441/15.88, allocations: 1.665 MB / 4.72 GB, free: 6.898 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003691/15.88, allocations: 192.8 kB / 4.721 GB, free: 6.707 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001346/15.88, allocations: 251.9 kB / 4.721 GB, free: 6.461 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01283/15.9, allocations: 3.025 MB / 4.724 GB, free: 3.312 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001513/15.9, allocations: 0 / 4.724 GB, free: 3.312 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007853/15.9, allocations: 103.9 kB / 4.724 GB, free: 3.211 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000225/15.9, allocations: 112.7 kB / 4.724 GB, free: 3.098 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01134/15.91, allocations: 2.72 MB / 4.727 GB, free: 372 kB / 0.9948 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.03036/15.94, allocations: 12.38 MB / 4.739 GB, free: 2.914 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006226/15.95, allocations: 2.076 MB / 4.741 GB, free: 0.7578 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.8503/16.8, allocations: 1.377 MB / 4.742 GB, free: 121.4 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.494e-05/16.8, allocations: 59.17 kB / 4.742 GB, free: 121.4 MB / 1.01 GB Notification: Performance of pre-optimization done (n=197): time 5.63e-06/16.8, allocations: 0.5312 kB / 4.742 GB, free: 121.4 MB / 1.01 GB Notification: Performance of matching and sorting (n=197): time 0.01185/16.81, allocations: 2.797 MB / 4.745 GB, free: 121.3 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.501e-05/16.81, allocations: 73.91 kB / 4.745 GB, free: 121.2 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003673/16.81, allocations: 1.13 MB / 4.746 GB, free: 121.1 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0006178/16.81, allocations: 63.61 kB / 4.746 GB, free: 121 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.001141/16.81, allocations: 0.9541 MB / 4.747 GB, free: 120.8 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.001387/16.82, allocations: 0.6724 MB / 4.748 GB, free: 120.5 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002533/16.82, allocations: 37.66 kB / 4.748 GB, free: 120.5 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002415/16.82, allocations: 373.2 kB / 4.748 GB, free: 120.2 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002775/16.82, allocations: 0.7718 MB / 4.749 GB, free: 120.2 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003382/16.82, allocations: 1.021 MB / 4.75 GB, free: 120 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003366/16.83, allocations: 0.914 MB / 4.751 GB, free: 119.9 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.676e-05/16.83, allocations: 1.25 kB / 4.751 GB, free: 119.9 MB / 1.01 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.008385/16.83, allocations: 2.137 MB / 4.753 GB, free: 119.8 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 3.888e-05/16.83, allocations: 6.219 kB / 4.753 GB, free: 119.8 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.06e-05/16.83, allocations: 5.984 kB / 4.753 GB, free: 119.8 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.445e-05/16.83, allocations: 12.81 kB / 4.753 GB, free: 119.8 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003836/16.84, allocations: 375.6 kB / 4.753 GB, free: 119.8 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.377e-05/16.84, allocations: 10.33 kB / 4.753 GB, free: 119.8 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004627/16.84, allocations: 297.4 kB / 4.754 GB, free: 119.7 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005739/16.84, allocations: 62.45 kB / 4.754 GB, free: 119.7 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.002515/16.85, allocations: 0.6009 MB / 4.754 GB, free: 119.6 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008501/16.85, allocations: 199.9 kB / 4.754 GB, free: 119.5 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008198/16.85, allocations: 2.234 MB / 4.757 GB, free: 119.4 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.569e-05/16.85, allocations: 22.89 kB / 4.757 GB, free: 119.4 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.31e-05/16.85, allocations: 3.5 kB / 4.757 GB, free: 119.4 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006467/16.86, allocations: 1.856 MB / 4.758 GB, free: 119.3 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01889/16.88, allocations: 5.068 MB / 4.763 GB, free: 118.7 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.146e-05/16.88, allocations: 2.281 kB / 4.763 GB, free: 118.7 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004518/16.88, allocations: 436.8 kB / 4.764 GB, free: 118.7 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.185e-05/16.88, allocations: 10.12 kB / 4.764 GB, free: 118.7 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004881/16.89, allocations: 58.17 kB / 4.764 GB, free: 118.7 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.771e-05/16.89, allocations: 7.062 kB / 4.764 GB, free: 118.7 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.082e-06/16.89, allocations: 4.844 kB / 4.764 GB, free: 118.7 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01052/16.9, allocations: 3.689 MB / 4.767 GB, free: 118.1 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002504/16.9, allocations: 0.5019 MB / 4.768 GB, free: 117.9 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009052/16.9, allocations: 47.48 kB / 4.768 GB, free: 117.9 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004142/16.9, allocations: 206.5 kB / 4.768 GB, free: 117.9 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006165/16.9, allocations: 120.7 kB / 4.768 GB, free: 117.9 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003874/16.9, allocations: 76.14 kB / 4.768 GB, free: 117.9 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.003595/16.91, allocations: 0.8851 MB / 4.769 GB, free: 117.8 MB / 1.01 GB Notification: Performance of sort global known variables: time 8.51e-07/16.91, allocations: 3.75 kB / 4.769 GB, free: 117.8 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.005975/16.91, allocations: 1.225 MB / 4.77 GB, free: 117.7 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.0193/16.93, allocations: 8.99 MB / 4.779 GB, free: 114.2 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.006548/16.94, allocations: 1.955 MB / 4.781 GB, free: 114.2 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-05/16.94, allocations: 1 kB / 4.781 GB, free: 114.2 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.003436/16.94, allocations: 1.059 MB / 4.782 GB, free: 114.2 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01092/16.95, allocations: 1.163 MB / 4.783 GB, free: 114.1 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04493/17, allocations: 16.18 MB / 4.799 GB, free: 107.6 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004047/17, allocations: 1.872 MB / 4.801 GB, free: 106.8 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.009096/17.01, allocations: 0.6269 MB / 4.802 GB, free: 106.8 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004489/17.02, allocations: 0.984 MB / 4.802 GB, free: 106.8 MB / 1.01 GB Notification: Performance of SimCode: time 2.655e-06/17.02, allocations: 0 / 4.802 GB, free: 106.8 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.277/17.29, allocations: 114.2 MB / 4.914 GB, free: 103.1 MB / 1.01 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002981/17.3, allocations: 238.8 kB / 4.914 GB, free: 102.8 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.771/25.07, allocations: 0 / 4.914 GB, free: 102.8 MB / 1.01 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)