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.681/2.681, allocations: 287.3 MB / 302.3 MB, free: 8.168 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.001603/0.001603, allocations: 178.9 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.188/2.188, 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.001184/0.001184, allocations: 90.36 kB / 0.7428 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005098/0.0005097, allocations: 12.55 kB / 0.8657 GB, free: 140.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.2234, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.41/1.634, allocations: 389.8 MB / 1.359 GB, free: 7.996 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003562/1.634, allocations: 90.38 kB / 1.359 GB, free: 7.945 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.2/4.834, allocations: 0.5673 GB / 1.926 GB, free: 200 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.174e-06/4.834, allocations: 3.281 kB / 1.926 GB, free: 200 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001259/4.834, allocations: 29.23 kB / 1.926 GB, free: 200 MB / 0.9323 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.004706/4.839, allocations: 1.355 MB / 1.928 GB, free: 199 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.47e-05/4.839, allocations: 7.312 kB / 1.928 GB, free: 199 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003076/4.839, allocations: 101 kB / 1.928 GB, free: 198.9 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004921/4.844, allocations: 0.4915 MB / 1.928 GB, free: 198.7 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02379/4.868, allocations: 7.158 MB / 1.935 GB, free: 194.5 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.058e-05/4.868, allocations: 55.19 kB / 1.935 GB, free: 194.5 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001859/4.868, allocations: 65.5 kB / 1.935 GB, free: 194.5 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003138/4.872, allocations: 0.8474 MB / 1.936 GB, free: 193.9 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.268e-05/4.872, allocations: 3.812 kB / 1.936 GB, free: 193.9 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001003/4.872, allocations: 27.66 kB / 1.936 GB, free: 193.9 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.886e-05/4.872, allocations: 15.25 kB / 1.936 GB, free: 193.9 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004139/4.876, allocations: 0.844 MB / 1.937 GB, free: 193.6 MB / 0.9323 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.008925/4.885, allocations: 4.632 MB / 1.942 GB, free: 189.3 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007112/4.892, allocations: 0.9578 MB / 1.943 GB, free: 188.9 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001081/4.893, allocations: 0.9359 MB / 1.943 GB, free: 187.9 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.656e-05/4.893, allocations: 34.56 kB / 1.944 GB, free: 187.8 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=35): time 3.627e-06/4.893, allocations: 0 / 1.944 GB, free: 187.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=35): time 0.006007/4.899, allocations: 1.118 MB / 1.945 GB, free: 187.3 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.871e-05/4.899, allocations: 58.75 kB / 1.945 GB, free: 187.3 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001243/4.901, allocations: 0.6304 MB / 1.945 GB, free: 186.9 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.00014/4.901, allocations: 33.45 kB / 1.945 GB, free: 186.9 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004106/4.901, allocations: 450.1 kB / 1.946 GB, free: 186.5 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001601/4.901, allocations: 123.5 kB / 1.946 GB, free: 186.4 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.836e-05/4.901, allocations: 7.938 kB / 1.946 GB, free: 186.4 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.44e-05/4.902, allocations: 328.2 kB / 1.946 GB, free: 186 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001836/4.903, allocations: 351 kB / 1.947 GB, free: 185.9 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002013/4.905, allocations: 0.5387 MB / 1.947 GB, free: 185.5 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001838/4.907, allocations: 371.7 kB / 1.947 GB, free: 185.4 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/4.907, allocations: 2.438 kB / 1.947 GB, free: 185.4 MB / 0.9323 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.004378/4.912, allocations: 0.9193 MB / 1.948 GB, free: 184.9 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003746/4.912, allocations: 1.662 MB / 1.95 GB, free: 183.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/4.912, allocations: 2.875 kB / 1.95 GB, free: 183.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.503e-05/4.912, allocations: 11.16 kB / 1.95 GB, free: 183.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001647/4.914, allocations: 188.1 kB / 1.95 GB, free: 183.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.438e-05/4.914, allocations: 3.562 kB / 1.95 GB, free: 183.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001925/4.916, allocations: 168.1 kB / 1.95 GB, free: 183.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001129/4.916, allocations: 31.28 kB / 1.95 GB, free: 183 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/4.916, allocations: 6.406 kB / 1.95 GB, free: 183 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004017/4.92, allocations: 0.8136 MB / 1.951 GB, free: 182.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/4.92, allocations: 11.42 kB / 1.951 GB, free: 182.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/4.92, allocations: 7.75 kB / 1.951 GB, free: 182.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00159/4.922, allocations: 186.3 kB / 1.951 GB, free: 182.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.459e-05/4.922, allocations: 11.98 kB / 1.951 GB, free: 182.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001883/4.924, allocations: 169 kB / 1.951 GB, free: 182.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001012/4.924, allocations: 27.98 kB / 1.952 GB, free: 182.4 MB / 0.9323 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 () * Number of clocked 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.0006506/4.924, allocations: 312.5 kB / 1.952 GB, free: 182.1 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002125/4.925, allocations: 78.97 kB / 1.952 GB, free: 182 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004538/4.929, allocations: 0.9919 MB / 1.953 GB, free: 181 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.002e-05/4.929, allocations: 10.48 kB / 1.953 GB, free: 181 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/4.929, allocations: 3.938 kB / 1.953 GB, free: 181 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/4.929, allocations: 3.938 kB / 1.953 GB, free: 181 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00654/4.936, allocations: 1.868 MB / 1.955 GB, free: 179.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.829e-06/4.936, allocations: 0 / 1.955 GB, free: 179.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001424/4.937, allocations: 154.1 kB / 1.955 GB, free: 179 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.109e-05/4.937, allocations: 1.25 kB / 1.955 GB, free: 179 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.631e-05/4.937, allocations: 11.98 kB / 1.955 GB, free: 179 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.152e-06/4.937, allocations: 6.812 kB / 1.955 GB, free: 179 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/4.937, allocations: 3.938 kB / 1.955 GB, free: 179 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006266/4.944, allocations: 1.517 MB / 1.956 GB, free: 177.4 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006561/4.944, allocations: 223.9 kB / 1.957 GB, free: 177.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001773/4.945, allocations: 15.95 kB / 1.957 GB, free: 177.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001506/4.946, allocations: 124.9 kB / 1.957 GB, free: 177.1 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/4.946, allocations: 34.17 kB / 1.957 GB, free: 177 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-05/4.946, allocations: 23.36 kB / 1.957 GB, free: 177 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0009352/4.947, allocations: 0.4912 MB / 1.957 GB, free: 176.5 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.182e-06/4.947, allocations: 0 / 1.957 GB, free: 176.5 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002088/4.949, allocations: 463.2 kB / 1.958 GB, free: 176.1 MB / 0.9323 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 () * Number of clocked 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.007569/4.957, allocations: 2.671 MB / 1.96 GB, free: 173.5 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.006028/4.963, allocations: 1.266 MB / 1.962 GB, free: 172.2 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/4.963, allocations: 4 kB / 1.962 GB, free: 172.2 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.00205/4.965, allocations: 443.8 kB / 1.962 GB, free: 171.8 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00277/4.968, allocations: 342.5 kB / 1.962 GB, free: 171.5 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02299/4.991, allocations: 8.563 MB / 1.971 GB, free: 162.7 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004963/4.992, allocations: 0.9868 MB / 1.972 GB, free: 161.7 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001727/4.993, allocations: 201.7 kB / 1.972 GB, free: 161.5 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007631/4.994, allocations: 335.3 kB / 1.972 GB, free: 161.2 MB / 0.9323 GB Notification: Performance of SimCode: time 1.663e-06/4.994, allocations: 0 / 1.972 GB, free: 161.2 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07113/5.065, allocations: 26.21 MB / 1.998 GB, free: 135.8 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000264/5.066, allocations: 239.3 kB / 1.998 GB, free: 135.6 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.514/8.58, allocations: 4 kB / 1.998 GB, free: 135.6 MB / 0.9323 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)