Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.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.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T,fileNamePrefix="Buildings_8_0_0_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T,fileNamePrefix="Buildings_8_0_0_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T",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.335/2.335, allocations: 284.7 MB / 297.2 MB, free: 6.32 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.001438/0.001437, allocations: 176.9 kB / 365.6 MB, free: 2.613 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.994/1.994, allocations: 205.1 MB / 0.624 GB, free: 8.246 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.0011/0.0011, allocations: 94.31 kB / 0.7371 GB, free: 40.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.957e-05/3.969e-05, allocations: 0 / 0.8574 GB, free: 13.69 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.79/0.7901, allocations: 115.2 MB / 0.9699 GB, free: 78.21 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.245/2.035, allocations: 389.7 MB / 1.351 GB, free: 170.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003189/2.035, allocations: 92.12 kB / 1.351 GB, free: 170.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.467/4.503, allocations: 0.5656 GB / 1.916 GB, free: 80.12 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.794e-06/4.503, allocations: 4 kB / 1.916 GB, free: 80.11 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001118/4.503, allocations: 20 kB / 1.916 GB, free: 80.09 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 0.003124/4.506, allocations: 1.173 MB / 1.917 GB, free: 78.88 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/4.506, allocations: 8.031 kB / 1.917 GB, free: 78.87 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001727/4.506, allocations: 102.5 kB / 1.917 GB, free: 78.76 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00465/4.511, allocations: 498.2 kB / 1.918 GB, free: 78.27 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02247/4.533, allocations: 7.108 MB / 1.925 GB, free: 71.05 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.96e-05/4.534, allocations: 49.31 kB / 1.925 GB, free: 71.01 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001766/4.534, allocations: 56 kB / 1.925 GB, free: 70.95 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001573/4.535, allocations: 0.6963 MB / 1.926 GB, free: 70.21 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.437e-05/4.535, allocations: 3.938 kB / 1.926 GB, free: 70.21 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.451e-05/4.535, allocations: 23.95 kB / 1.926 GB, free: 70.18 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.164e-05/4.535, allocations: 16 kB / 1.926 GB, free: 70.17 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001355/4.537, allocations: 0.5167 MB / 1.926 GB, free: 69.65 MB / 0.948 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.008284/4.545, allocations: 4.629 MB / 1.931 GB, free: 64.63 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004241/4.549, allocations: 0.6237 MB / 1.931 GB, free: 64 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006051/4.55, allocations: 221.4 kB / 1.932 GB, free: 63.78 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009512/4.551, allocations: 0.9414 MB / 1.932 GB, free: 62.63 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/4.551, allocations: 38.56 kB / 1.933 GB, free: 62.59 MB / 0.948 GB Notification: Performance of pre-optimization done (n=35): time 3.226e-06/4.551, allocations: 0 / 1.933 GB, free: 62.59 MB / 0.948 GB Notification: Performance of matching and sorting (n=35): time 0.00149/4.553, allocations: 476.4 kB / 1.933 GB, free: 62.11 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.595e-05/4.553, allocations: 55.41 kB / 1.933 GB, free: 62.05 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001041/4.554, allocations: 0.6178 MB / 1.934 GB, free: 61.42 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.779e-05/4.554, allocations: 29.7 kB / 1.934 GB, free: 61.38 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003444/4.554, allocations: 451.9 kB / 1.934 GB, free: 60.94 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001307/4.554, allocations: 122.2 kB / 1.934 GB, free: 60.82 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.504e-05/4.554, allocations: 16 kB / 1.934 GB, free: 60.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.532e-05/4.554, allocations: 321.9 kB / 1.935 GB, free: 60.48 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004871/4.555, allocations: 185.1 kB / 1.935 GB, free: 60.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006253/4.556, allocations: 390.3 kB / 1.935 GB, free: 59.83 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005232/4.556, allocations: 206.1 kB / 1.935 GB, free: 59.63 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/4.556, allocations: 0 / 1.935 GB, free: 59.63 MB / 0.948 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001564/4.558, allocations: 0.5973 MB / 1.936 GB, free: 59.03 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003145/4.558, allocations: 1.657 MB / 1.937 GB, free: 57.24 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/4.558, allocations: 4 kB / 1.937 GB, free: 57.24 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.154e-05/4.558, allocations: 8 kB / 1.937 GB, free: 57.23 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001588/4.56, allocations: 191.7 kB / 1.938 GB, free: 57.04 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.649e-05/4.56, allocations: 15.89 kB / 1.938 GB, free: 57.03 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0019/4.562, allocations: 171.3 kB / 1.938 GB, free: 56.86 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001072/4.562, allocations: 27.98 kB / 1.938 GB, free: 56.83 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/4.562, allocations: 11.92 kB / 1.938 GB, free: 56.82 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001321/4.563, allocations: 0.4951 MB / 1.938 GB, free: 56.32 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/4.563, allocations: 8 kB / 1.938 GB, free: 56.32 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/4.563, allocations: 4 kB / 1.938 GB, free: 56.31 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001556/4.565, allocations: 192.3 kB / 1.939 GB, free: 56.12 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/4.565, allocations: 11.94 kB / 1.939 GB, free: 56.11 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001831/4.567, allocations: 155.5 kB / 1.939 GB, free: 55.96 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.85e-05/4.567, allocations: 23.98 kB / 1.939 GB, free: 55.94 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 55 * 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.000211/4.567, allocations: 140.8 kB / 1.939 GB, free: 55.79 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001772/4.567, allocations: 78.97 kB / 1.939 GB, free: 55.71 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001937/4.569, allocations: 0.6772 MB / 1.94 GB, free: 55.03 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.427e-05/4.569, allocations: 4 kB / 1.94 GB, free: 55.02 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/4.569, allocations: 4 kB / 1.94 GB, free: 55.02 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.597e-06/4.569, allocations: 3.984 kB / 1.94 GB, free: 55.02 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003648/4.573, allocations: 1.539 MB / 1.941 GB, free: 53.41 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.296e-06/4.573, allocations: 0 / 1.941 GB, free: 53.41 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001409/4.574, allocations: 151.9 kB / 1.941 GB, free: 53.26 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.516e-06/4.574, allocations: 4 kB / 1.941 GB, free: 53.26 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.557e-05/4.574, allocations: 15.98 kB / 1.941 GB, free: 53.24 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.202e-06/4.574, allocations: 4 kB / 1.941 GB, free: 53.24 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/4.574, allocations: 7.938 kB / 1.941 GB, free: 53.23 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002199/4.577, allocations: 1.035 MB / 1.942 GB, free: 52.15 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005156/4.577, allocations: 231.8 kB / 1.943 GB, free: 51.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001643/4.577, allocations: 11.94 kB / 1.943 GB, free: 51.89 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001506/4.579, allocations: 123.9 kB / 1.943 GB, free: 51.77 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/4.579, allocations: 35.94 kB / 1.943 GB, free: 51.73 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.23e-05/4.579, allocations: 19.98 kB / 1.943 GB, free: 51.71 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008561/4.58, allocations: 495.1 kB / 1.943 GB, free: 51.24 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.202e-06/4.58, allocations: 0 / 1.943 GB, free: 51.24 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001924/4.582, allocations: 463.2 kB / 1.944 GB, free: 50.79 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (pla.coo.outCon.T,pla.hea.outCon.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.003374/4.585, allocations: 2.2 MB / 1.946 GB, free: 48.54 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002047/4.587, allocations: 0.8107 MB / 1.947 GB, free: 47.73 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/4.587, allocations: 0 / 1.947 GB, free: 47.73 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006994/4.588, allocations: 273.4 kB / 1.947 GB, free: 47.46 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002722/4.591, allocations: 338.9 kB / 1.947 GB, free: 47.13 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01015/4.601, allocations: 1.816 MB / 1.949 GB, free: 45.27 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004374/4.602, allocations: 0.9845 MB / 1.95 GB, free: 44.25 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001975/4.604, allocations: 250.6 kB / 1.95 GB, free: 44 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006705/4.604, allocations: 327.3 kB / 1.95 GB, free: 43.68 MB / 0.948 GB Notification: Performance of SimCode: time 1.393e-06/4.604, allocations: 0 / 1.95 GB, free: 43.68 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07163/4.676, allocations: 27.95 MB / 1.978 GB, free: 16.02 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002804/4.676, allocations: 203.5 kB / 1.978 GB, free: 15.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.486/8.163, allocations: 0 / 1.978 GB, free: 15.8 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T.fmu > Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe 2>&1)