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.807/1.807, allocations: 289.7 MB / 302.3 MB, free: 2.109 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.001032/0.001032, allocations: 188.5 kB / 371.6 MB, free: 3.438 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.607/1.607, allocations: 205.1 MB / 0.6309 GB, free: 11.78 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.0008677/0.0008677, allocations: 87.2 kB / 0.745 GB, free: 54.41 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.636e-05/3.637e-05, allocations: 0 / 0.8663 GB, free: 15 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2887/0.2887, allocations: 116.3 MB / 0.9799 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.4/6.689, allocations: 2.09 GB / 3.07 GB, free: 106.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004065/6.69, allocations: 86.64 kB / 3.07 GB, free: 106.5 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.425/14.11, allocations: 1.646 GB / 4.715 GB, free: 100.9 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.263e-06/14.11, allocations: 1.312 kB / 4.715 GB, free: 100.9 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0001844/14.11, allocations: 64.56 kB / 4.715 GB, free: 100.9 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.01174/14.13, allocations: 3.246 MB / 4.718 GB, free: 100.1 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/14.13, allocations: 9.156 kB / 4.718 GB, free: 100.1 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007825/14.13, allocations: 344 kB / 4.719 GB, free: 100.1 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005673/14.13, allocations: 0.7999 MB / 4.72 GB, free: 99.93 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003903/14.14, allocations: 1.662 MB / 4.721 GB, free: 99.61 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001348/14.14, allocations: 190.4 kB / 4.721 GB, free: 99.6 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000412/14.14, allocations: 249 kB / 4.722 GB, free: 99.6 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004728/14.14, allocations: 2.974 MB / 4.724 GB, free: 99.27 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.545e-05/14.14, allocations: 6.125 kB / 4.724 GB, free: 99.27 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002442/14.14, allocations: 100.7 kB / 4.725 GB, free: 99.27 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001148/14.14, allocations: 114.2 kB / 4.725 GB, free: 99.27 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004106/14.15, allocations: 2.652 MB / 4.727 GB, free: 99.23 MB / 1.01 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.01316/14.16, allocations: 12.37 MB / 4.739 GB, free: 92.23 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00246/14.16, allocations: 2.055 MB / 4.741 GB, free: 91.82 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001538/14.16, allocations: 1.213 MB / 4.743 GB, free: 91.81 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009745/14.16, allocations: 1.373 MB / 4.744 GB, free: 90.3 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.238e-05/14.16, allocations: 56.34 kB / 4.744 GB, free: 90.27 MB / 1.01 GB Notification: Performance of pre-optimization done (n=197): time 3.617e-06/14.16, allocations: 0 / 4.744 GB, free: 90.27 MB / 1.01 GB Notification: Performance of matching and sorting (n=197): time 0.003299/14.17, allocations: 1.991 MB / 4.746 GB, free: 90.09 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.572e-05/14.17, allocations: 70.69 kB / 4.746 GB, free: 90.02 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001347/14.17, allocations: 1.112 MB / 4.747 GB, free: 89.87 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0001379/14.17, allocations: 66.83 kB / 4.747 GB, free: 89.84 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005235/14.17, allocations: 0.9605 MB / 4.748 GB, free: 89.56 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005209/14.17, allocations: 0.6789 MB / 4.749 GB, free: 89.21 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.248e-05/14.17, allocations: 33.88 kB / 4.749 GB, free: 89.21 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.000107/14.17, allocations: 370.3 kB / 4.749 GB, free: 88.9 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001089/14.17, allocations: 0.749 MB / 4.75 GB, free: 88.9 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001237/14.17, allocations: 1.01 MB / 4.751 GB, free: 88.69 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001272/14.17, allocations: 0.8951 MB / 4.752 GB, free: 88.66 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/14.17, allocations: 3.344 kB / 4.752 GB, free: 88.66 MB / 1.01 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.003054/14.18, allocations: 2.1 MB / 4.754 GB, free: 88.49 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/14.18, allocations: 6.219 kB / 4.754 GB, free: 88.49 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/14.18, allocations: 3.344 kB / 4.754 GB, free: 88.49 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.581e-05/14.18, allocations: 10.53 kB / 4.754 GB, free: 88.49 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001658/14.18, allocations: 378.8 kB / 4.754 GB, free: 88.49 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.567e-05/14.18, allocations: 17.95 kB / 4.754 GB, free: 88.49 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00244/14.18, allocations: 296.6 kB / 4.754 GB, free: 88.44 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001584/14.18, allocations: 63.2 kB / 4.754 GB, free: 88.44 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 () * 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.0003023/14.18, allocations: 202.9 kB / 4.755 GB, free: 88.34 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003371/14.18, allocations: 192.1 kB / 4.755 GB, free: 88.24 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003782/14.19, allocations: 2.209 MB / 4.757 GB, free: 88.12 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.51e-05/14.19, allocations: 22.03 kB / 4.757 GB, free: 88.12 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/14.19, allocations: 2.844 kB / 4.757 GB, free: 88.12 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002351/14.19, allocations: 1.816 MB / 4.759 GB, free: 88.01 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008/14.2, allocations: 5.035 MB / 4.764 GB, free: 87.39 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.507e-06/14.2, allocations: 4.969 kB / 4.764 GB, free: 87.39 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00201/14.2, allocations: 441.8 kB / 4.764 GB, free: 87.39 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.869e-05/14.2, allocations: 10.09 kB / 4.764 GB, free: 87.39 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001403/14.2, allocations: 57.47 kB / 4.764 GB, free: 87.39 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.277e-05/14.2, allocations: 11.22 kB / 4.764 GB, free: 87.39 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/14.2, allocations: 4.906 kB / 4.764 GB, free: 87.39 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005132/14.2, allocations: 3.646 MB / 4.768 GB, free: 86.79 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001374/14.21, allocations: 0.5033 MB / 4.768 GB, free: 86.57 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002949/14.21, allocations: 38.12 kB / 4.768 GB, free: 86.57 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001842/14.21, allocations: 213.7 kB / 4.769 GB, free: 86.55 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002175/14.21, allocations: 117.4 kB / 4.769 GB, free: 86.55 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001491/14.21, allocations: 68.84 kB / 4.769 GB, free: 86.55 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001524/14.21, allocations: 0.8767 MB / 4.77 GB, free: 86.43 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.51e-07/14.21, allocations: 0.9688 kB / 4.77 GB, free: 86.43 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.004352/14.21, allocations: 1.226 MB / 4.771 GB, free: 86.31 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 () * 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.01246/14.23, allocations: 8.949 MB / 4.779 GB, free: 82.73 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.003566/14.23, allocations: 1.924 MB / 4.781 GB, free: 82.69 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 8.837e-06/14.23, allocations: 0.875 kB / 4.781 GB, free: 82.69 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001582/14.23, allocations: 1.034 MB / 4.782 GB, free: 82.69 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00592/14.24, allocations: 1.173 MB / 4.784 GB, free: 82.65 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008839/14.25, allocations: 5.117 MB / 4.789 GB, free: 81.54 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001252/14.25, allocations: 1.875 MB / 4.79 GB, free: 80.79 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.002704/14.25, allocations: 0.6257 MB / 4.791 GB, free: 80.77 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001302/14.25, allocations: 0.981 MB / 4.792 GB, free: 80.76 MB / 1.01 GB Notification: Performance of SimCode: time 7.41e-07/14.25, allocations: 0 / 4.792 GB, free: 80.76 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.204/14.46, allocations: 123.7 MB / 4.913 GB, free: 75.9 MB / 1.01 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002363/14.46, allocations: 190.5 kB / 4.913 GB, free: 75.68 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.072/20.53, allocations: 0 / 4.913 GB, free: 75.68 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)