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.709/1.709, allocations: 289.9 MB / 297.4 MB, free: 6.426 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.001116/0.001116, allocations: 176.8 kB / 366.7 MB, free: 1.691 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.61/1.61, allocations: 205.2 MB / 0.626 GB, free: 7.152 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.0009125/0.0009125, allocations: 79.08 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.347e-05/2.355e-05, allocations: 4 kB / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7149/0.715, allocations: 116.3 MB / 0.9733 GB, free: 76.46 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.149/5.864, allocations: 2.089 GB / 3.062 GB, free: 40.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002483/5.864, allocations: 87.95 kB / 3.062 GB, free: 40.11 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 7.202/13.07, allocations: 1.628 GB / 4.69 GB, free: 104 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.272e-06/13.07, allocations: 0 / 4.69 GB, free: 104 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0001788/13.07, allocations: 64.92 kB / 4.69 GB, free: 104 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.01324/13.08, allocations: 3.246 MB / 4.694 GB, free: 102.9 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/13.08, allocations: 9.5 kB / 4.694 GB, free: 102.9 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00671/13.09, allocations: 0.7992 MB / 4.694 GB, free: 102.8 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004566/13.09, allocations: 1.657 MB / 4.696 GB, free: 102.5 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.169e-05/13.09, allocations: 79.62 kB / 4.696 GB, free: 102.5 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004958/13.09, allocations: 150.4 kB / 4.696 GB, free: 102.5 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00465/13.1, allocations: 2.346 MB / 4.699 GB, free: 102.4 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004912/13.1, allocations: 2.623 MB / 4.701 GB, free: 102.1 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.96e-05/13.1, allocations: 5.953 kB / 4.701 GB, free: 102.1 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002275/13.1, allocations: 4.844 kB / 4.701 GB, free: 102.1 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001492/13.1, allocations: 115.2 kB / 4.701 GB, free: 102.1 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.01622/13.12, allocations: 12.12 MB / 4.713 GB, free: 95.18 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003223/13.12, allocations: 2.61 MB / 4.716 GB, free: 94.2 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001595/13.12, allocations: 1.176 MB / 4.717 GB, free: 94.19 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001048/13.12, allocations: 1.38 MB / 4.718 GB, free: 92.69 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.129e-05/13.12, allocations: 58.92 kB / 4.718 GB, free: 92.64 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=197): time 5.7e-06/13.12, allocations: 2.656 kB / 4.718 GB, free: 92.64 MB / 0.9948 GB Notification: Performance of matching and sorting (n=197): time 0.00409/13.13, allocations: 2.007 MB / 4.72 GB, free: 92.48 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.925e-05/13.13, allocations: 71.53 kB / 4.72 GB, free: 92.41 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001638/13.13, allocations: 0.8591 MB / 4.721 GB, free: 92.28 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001954/13.13, allocations: 25.7 kB / 4.721 GB, free: 92.25 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006806/13.13, allocations: 0.956 MB / 4.722 GB, free: 91.85 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000631/13.13, allocations: 0.6525 MB / 4.723 GB, free: 91.41 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.059e-05/13.13, allocations: 0 / 4.723 GB, free: 91.41 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001095/13.13, allocations: 372.4 kB / 4.723 GB, free: 91.1 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001043/13.13, allocations: 0.7675 MB / 4.724 GB, free: 91.09 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001214/13.13, allocations: 1.001 MB / 4.725 GB, free: 90.89 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001607/13.14, allocations: 0.9402 MB / 4.726 GB, free: 90.87 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/13.14, allocations: 1.312 kB / 4.726 GB, free: 90.87 MB / 0.9948 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.003605/13.14, allocations: 2.098 MB / 4.728 GB, free: 90.71 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/13.14, allocations: 7.062 kB / 4.728 GB, free: 90.71 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/13.14, allocations: 3.781 kB / 4.728 GB, free: 90.71 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.083e-05/13.14, allocations: 10.19 kB / 4.728 GB, free: 90.71 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001699/13.14, allocations: 404.8 kB / 4.728 GB, free: 90.71 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.077e-05/13.14, allocations: 10.41 kB / 4.728 GB, free: 90.71 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002947/13.14, allocations: 238.6 kB / 4.728 GB, free: 90.64 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000161/13.14, allocations: 69.03 kB / 4.728 GB, free: 90.64 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.0003449/13.14, allocations: 133.4 kB / 4.729 GB, free: 90.54 MB / 0.9948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003469/13.15, allocations: 1.973 MB / 4.73 GB, free: 90.37 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003095/13.15, allocations: 175.5 kB / 4.731 GB, free: 90.28 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003631/13.15, allocations: 2.175 MB / 4.733 GB, free: 90.17 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.618e-05/13.15, allocations: 18.09 kB / 4.733 GB, free: 90.17 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/13.15, allocations: 0 / 4.733 GB, free: 90.17 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002484/13.15, allocations: 1.85 MB / 4.735 GB, free: 90.05 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.009217/13.16, allocations: 5.092 MB / 4.74 GB, free: 89.21 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/13.16, allocations: 2.953 kB / 4.74 GB, free: 89.21 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002028/13.17, allocations: 459 kB / 4.74 GB, free: 89.21 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.554e-05/13.17, allocations: 7.25 kB / 4.74 GB, free: 89.21 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001274/13.17, allocations: 38.5 kB / 4.74 GB, free: 89.21 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.118e-05/13.17, allocations: 13.83 kB / 4.74 GB, free: 89.2 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/13.17, allocations: 3.938 kB / 4.74 GB, free: 89.2 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004894/13.17, allocations: 3.673 MB / 4.744 GB, free: 88.66 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001549/13.17, allocations: 0.4989 MB / 4.744 GB, free: 88.45 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002976/13.17, allocations: 13.38 kB / 4.744 GB, free: 88.45 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001826/13.17, allocations: 178.3 kB / 4.744 GB, free: 88.43 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002351/13.17, allocations: 125.4 kB / 4.744 GB, free: 88.43 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001415/13.17, allocations: 69.92 kB / 4.744 GB, free: 88.43 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001132/13.18, allocations: 0.6635 MB / 4.745 GB, free: 88.32 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.91e-07/13.18, allocations: 3.281 kB / 4.745 GB, free: 88.32 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.003757/13.18, allocations: 1.066 MB / 4.746 GB, free: 88.18 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.01143/13.19, allocations: 9.405 MB / 4.755 GB, free: 84.61 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.00335/13.19, allocations: 1.932 MB / 4.757 GB, free: 84.57 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.011e-05/13.19, allocations: 2.219 kB / 4.757 GB, free: 84.57 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001483/13.2, allocations: 1.05 MB / 4.758 GB, free: 84.57 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005628/13.2, allocations: 0.9809 MB / 4.759 GB, free: 84.54 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009356/13.21, allocations: 5.007 MB / 4.764 GB, free: 83.43 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001344/13.21, allocations: 1.868 MB / 4.766 GB, free: 82.68 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.002781/13.21, allocations: 0.6112 MB / 4.767 GB, free: 82.66 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001476/13.22, allocations: 0.9702 MB / 4.767 GB, free: 82.65 MB / 0.9948 GB Notification: Performance of SimCode: time 1.102e-06/13.22, allocations: 0 / 4.767 GB, free: 82.65 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1473/13.36, allocations: 81.45 MB / 4.847 GB, free: 78.06 MB / 0.9948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001748/13.36, allocations: 172 kB / 4.847 GB, free: 77.87 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.718/18.08, allocations: 2.516 kB / 4.847 GB, free: 77.87 MB / 0.9948 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)