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.775/2.775, allocations: 287.3 MB / 302.3 MB, free: 8.262 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.001501/0.001501, allocations: 186.4 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.236/2.236, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001204/0.001203, allocations: 93.36 kB / 0.7428 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004921/0.0004923, allocations: 10.06 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.215/0.2155, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T): time 0.03892/0.2545, allocations: 29.61 MB / 1.007 GB, free: 14.61 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01336/0.2679, allocations: 5.912 MB / 1.013 GB, free: 8.684 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001436/0.2694, allocations: 43.69 kB / 1.013 GB, free: 8.641 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002267/0.2717, allocations: 401.9 kB / 1.013 GB, free: 8.246 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.004995/0.2767, allocations: 1.08 MB / 1.014 GB, free: 7.164 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.004107/0.2809, allocations: 0.8698 MB / 1.015 GB, free: 6.305 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.003911/0.2848, allocations: 1.338 MB / 1.017 GB, free: 4.965 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001538/0.2864, allocations: 0.5791 MB / 1.017 GB, free: 4.375 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002737/0.2891, allocations: 0.7668 MB / 1.018 GB, free: 3.605 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001217/0.2904, allocations: 429.9 kB / 1.018 GB, free: 3.184 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002044/0.2906, allocations: 32 kB / 1.018 GB, free: 3.152 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002477/0.2931, allocations: 0.5851 MB / 1.019 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0003449/0.2935, allocations: 143.4 kB / 1.019 GB, free: 2.426 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.000467/0.294, allocations: 221.2 kB / 1.019 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002676/0.2967, allocations: 1.134 MB / 1.02 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.2967, allocations: 0 / 1.02 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.455e-06/0.2967, allocations: 0 / 1.02 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.239e-05/0.2968, allocations: 0 / 1.02 GB, free: 1.066 MB / 0.6355 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.003719/0.3005, allocations: 1.181 MB / 1.022 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.424e-05/0.3006, allocations: 8.031 kB / 1.022 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002442/0.3008, allocations: 98.52 kB / 1.022 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004939/0.3058, allocations: 0.5099 MB / 1.022 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002358/0.3082, allocations: 0.846 MB / 1.023 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.45e-05/0.3083, allocations: 45.31 kB / 1.023 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000189/0.3085, allocations: 71.97 kB / 1.023 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00343/0.312, allocations: 0.8514 MB / 1.024 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.258e-05/0.312, allocations: 3.938 kB / 1.024 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00011/0.3121, allocations: 28 kB / 1.024 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.248e-05/0.3122, allocations: 12 kB / 1.024 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004638/0.3168, allocations: 0.8598 MB / 1.025 GB, free: 12.41 MB / 0.6511 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.0105/0.3274, allocations: 4.703 MB / 1.029 GB, free: 7.305 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007498/0.3349, allocations: 0.9704 MB / 1.03 GB, free: 6.324 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001424/0.3364, allocations: 0.9454 MB / 1.031 GB, free: 5.176 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.908e-05/0.3364, allocations: 38.55 kB / 1.031 GB, free: 5.129 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=35): time 3.266e-06/0.3364, allocations: 4 kB / 1.031 GB, free: 5.125 MB / 0.6511 GB Notification: Performance of matching and sorting (n=35): time 0.006566/0.343, allocations: 1.137 MB / 1.032 GB, free: 3.98 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.146e-05/0.3431, allocations: 55.41 kB / 1.032 GB, free: 3.914 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001511/0.3446, allocations: 0.7239 MB / 1.033 GB, free: 3.18 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001457/0.3448, allocations: 33.7 kB / 1.033 GB, free: 3.141 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005012/0.3453, allocations: 444 kB / 1.034 GB, free: 2.703 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002078/0.3455, allocations: 130.2 kB / 1.034 GB, free: 2.574 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.094e-05/0.3456, allocations: 8 kB / 1.034 GB, free: 2.566 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.3458, allocations: 322 kB / 1.034 GB, free: 2.246 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002056/0.3478, allocations: 360.9 kB / 1.034 GB, free: 1.895 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002251/0.3501, allocations: 0.5462 MB / 1.035 GB, free: 1.27 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002095/0.3523, allocations: 375.5 kB / 1.035 GB, free: 0.9023 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.3523, allocations: 4 kB / 1.035 GB, free: 0.8984 MB / 0.6511 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.004808/0.3571, allocations: 0.9337 MB / 1.036 GB, free: 15.95 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.000797/0.358, allocations: 1.655 MB / 1.038 GB, free: 14.17 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/0.358, allocations: 8 kB / 1.038 GB, free: 14.16 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.316e-05/0.358, allocations: 8 kB / 1.038 GB, free: 14.16 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001934/0.36, allocations: 211.7 kB / 1.038 GB, free: 13.95 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.977e-05/0.36, allocations: 11.94 kB / 1.038 GB, free: 13.94 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001851/0.3619, allocations: 167.3 kB / 1.038 GB, free: 13.77 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001225/0.362, allocations: 27.98 kB / 1.038 GB, free: 13.75 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.3621, allocations: 7.953 kB / 1.038 GB, free: 13.74 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004473/0.3666, allocations: 0.8309 MB / 1.039 GB, free: 12.91 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.3666, allocations: 4 kB / 1.039 GB, free: 12.9 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.3666, allocations: 8 kB / 1.039 GB, free: 12.89 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001902/0.3685, allocations: 224.2 kB / 1.039 GB, free: 12.68 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.739e-05/0.3686, allocations: 7.938 kB / 1.039 GB, free: 12.67 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001849/0.3704, allocations: 159.5 kB / 1.039 GB, free: 12.51 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001096/0.3706, allocations: 23.98 kB / 1.039 GB, free: 12.49 MB / 0.6667 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.0007193/0.3713, allocations: 309 kB / 1.04 GB, free: 12.18 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002533/0.3716, allocations: 82.92 kB / 1.04 GB, free: 12.09 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005107/0.3767, allocations: 1.017 MB / 1.041 GB, free: 11.07 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-05/0.3768, allocations: 8 kB / 1.041 GB, free: 11.06 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/0.3768, allocations: 0 / 1.041 GB, free: 11.06 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.411e-05/0.3768, allocations: 3.984 kB / 1.041 GB, free: 11.05 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007464/0.3843, allocations: 1.91 MB / 1.043 GB, free: 9.078 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.329e-05/0.3843, allocations: 4 kB / 1.043 GB, free: 9.074 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001675/0.386, allocations: 171.9 kB / 1.043 GB, free: 8.906 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-05/0.3861, allocations: 8 kB / 1.043 GB, free: 8.898 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.612e-05/0.3861, allocations: 11.98 kB / 1.043 GB, free: 8.887 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.165e-06/0.3862, allocations: 4 kB / 1.043 GB, free: 8.883 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.3862, allocations: 0 / 1.043 GB, free: 8.883 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007094/0.3933, allocations: 1.55 MB / 1.044 GB, free: 7.285 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006386/0.394, allocations: 232 kB / 1.045 GB, free: 7.039 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001838/0.3942, allocations: 11.95 kB / 1.045 GB, free: 7.027 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001583/0.3958, allocations: 131.7 kB / 1.045 GB, free: 6.898 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001346/0.3959, allocations: 31.95 kB / 1.045 GB, free: 6.867 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.923e-05/0.396, allocations: 15.98 kB / 1.045 GB, free: 6.852 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001085/0.3971, allocations: 0.499 MB / 1.045 GB, free: 6.359 MB / 0.6667 GB Notification: Performance of sort global known variables: time 6.71e-07/0.3972, allocations: 96 / 1.045 GB, free: 6.359 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002121/0.3993, allocations: 439.1 kB / 1.046 GB, free: 5.93 MB / 0.6667 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.008381/0.4077, allocations: 2.499 MB / 1.048 GB, free: 3.395 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.006875/0.4146, allocations: 1.284 MB / 1.049 GB, free: 2.113 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.4147, allocations: 0 / 1.049 GB, free: 2.113 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.002335/0.417, allocations: 445.7 kB / 1.05 GB, free: 1.68 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003031/0.4201, allocations: 349.1 kB / 1.05 GB, free: 1.34 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02894/0.4491, allocations: 8.584 MB / 1.059 GB, free: 8.543 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007477/0.4499, allocations: 0.9868 MB / 1.06 GB, free: 7.531 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00181/0.4517, allocations: 215.5 kB / 1.06 GB, free: 7.324 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009034/0.4526, allocations: 339.3 kB / 1.06 GB, free: 6.992 MB / 0.6823 GB Notification: Performance of SimCode: time 1.042e-06/0.4527, allocations: 0 / 1.06 GB, free: 6.992 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6668/1.119, allocations: 23.34 MB / 1.083 GB, free: 87.22 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002662/1.12, allocations: 238.9 kB / 1.083 GB, free: 86.98 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.427/4.547, allocations: 0 / 1.083 GB, free: 86.98 MB / 0.6823 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)