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.673/2.673, allocations: 287.5 MB / 302.4 MB, free: 8.223 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.001323/0.001323, allocations: 186.2 kB / 371 MB, free: 10.85 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.104/2.104, allocations: 205.4 MB / 0.6297 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.0009458/0.0009456, allocations: 98.94 kB / 0.743 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00071/0.0007104, allocations: 10.92 kB / 0.8659 GB, free: 140 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2122/0.2129, allocations: 115.3 MB / 0.9784 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T): time 0.03893/0.2519, allocations: 32.49 MB / 1.01 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01341/0.2654, allocations: 6.395 MB / 1.016 GB, free: 5.297 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001377/0.2668, allocations: 35.75 kB / 1.016 GB, free: 5.262 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.00162/0.2684, allocations: 329.7 kB / 1.017 GB, free: 4.938 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.004371/0.2728, allocations: 0.9958 MB / 1.018 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003403/0.2763, allocations: 0.7186 MB / 1.018 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.004804/0.2811, allocations: 2.502 MB / 1.021 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001406/0.2825, allocations: 0.5595 MB / 1.021 GB, free: 148 kB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002528/0.2851, allocations: 0.793 MB / 1.022 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001332/0.2865, allocations: 0.5949 MB / 1.023 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0001682/0.2866, allocations: 32 kB / 1.023 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002619/0.2893, allocations: 0.7056 MB / 1.024 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0003061/0.2896, allocations: 139.3 kB / 1.024 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0004551/0.2901, allocations: 233.1 kB / 1.024 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.002431/0.2925, allocations: 1.173 MB / 1.025 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.2926, allocations: 0 / 1.025 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.184e-06/0.2926, allocations: 4 kB / 1.025 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.608e-05/0.2926, allocations: 0 / 1.025 GB, free: 12.46 MB / 0.6511 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.003419/0.2961, allocations: 1.194 MB / 1.026 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.359e-05/0.2961, allocations: 12.03 kB / 1.026 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001896/0.2963, allocations: 102.4 kB / 1.026 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004648/0.301, allocations: 0.5021 MB / 1.027 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002214/0.3032, allocations: 0.8577 MB / 1.028 GB, free: 9.691 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.092e-05/0.3033, allocations: 45.31 kB / 1.028 GB, free: 9.648 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000168/0.3035, allocations: 60 kB / 1.028 GB, free: 9.59 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003139/0.3067, allocations: 0.8709 MB / 1.029 GB, free: 8.672 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.56e-05/0.3067, allocations: 0 / 1.029 GB, free: 8.672 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001168/0.3068, allocations: 31.94 kB / 1.029 GB, free: 8.641 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.243e-05/0.3069, allocations: 16 kB / 1.029 GB, free: 8.625 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004192/0.3111, allocations: 0.8559 MB / 1.029 GB, free: 7.77 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.00961/0.3207, allocations: 4.699 MB / 1.034 GB, free: 2.672 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007052/0.3278, allocations: 0.9664 MB / 1.035 GB, free: 1.695 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002025/0.3299, allocations: 400.6 kB / 1.035 GB, free: 1.301 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001321/0.3312, allocations: 0.9454 MB / 1.036 GB, free: 156 kB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.3313, allocations: 38.5 kB / 1.036 GB, free: 108 kB / 0.6511 GB Notification: Performance of pre-optimization done (n=35): time 3.367e-06/0.3313, allocations: 0 / 1.036 GB, free: 108 kB / 0.6511 GB Notification: Performance of matching and sorting (n=35): time 0.006168/0.3374, allocations: 1.144 MB / 1.037 GB, free: 14.95 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.038e-05/0.3375, allocations: 55.41 kB / 1.037 GB, free: 14.88 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001377/0.3389, allocations: 0.7122 MB / 1.038 GB, free: 14.16 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 9.884e-05/0.339, allocations: 37.7 kB / 1.038 GB, free: 14.12 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005006/0.3396, allocations: 447.9 kB / 1.039 GB, free: 13.68 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001749/0.3397, allocations: 130.2 kB / 1.039 GB, free: 13.55 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.411e-05/0.3398, allocations: 4 kB / 1.039 GB, free: 13.55 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.34, allocations: 322 kB / 1.039 GB, free: 13.23 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001935/0.3419, allocations: 368.8 kB / 1.039 GB, free: 12.87 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002166/0.3441, allocations: 0.5423 MB / 1.04 GB, free: 12.25 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001976/0.3461, allocations: 379.5 kB / 1.04 GB, free: 11.88 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.935e-06/0.3461, allocations: 3.953 kB / 1.04 GB, free: 11.87 MB / 0.6667 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.004568/0.3507, allocations: 0.9296 MB / 1.041 GB, free: 10.93 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001852/0.3509, allocations: 208.4 kB / 1.041 GB, free: 10.67 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/0.3509, allocations: 4 kB / 1.041 GB, free: 10.66 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.585e-05/0.351, allocations: 8 kB / 1.041 GB, free: 10.66 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001816/0.3528, allocations: 215.7 kB / 1.042 GB, free: 10.45 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.64e-05/0.3529, allocations: 15.92 kB / 1.042 GB, free: 10.43 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001856/0.3547, allocations: 167.3 kB / 1.042 GB, free: 10.27 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001417/0.3549, allocations: 27.97 kB / 1.042 GB, free: 10.24 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.3549, allocations: 4.094 kB / 1.042 GB, free: 10.23 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004393/0.3593, allocations: 0.827 MB / 1.043 GB, free: 9.406 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.711e-05/0.3594, allocations: 8.516 kB / 1.043 GB, free: 9.398 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.3594, allocations: 11.94 kB / 1.043 GB, free: 9.387 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001807/0.3612, allocations: 211.8 kB / 1.043 GB, free: 9.18 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.912e-05/0.3613, allocations: 11.94 kB / 1.043 GB, free: 9.168 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001796/0.3631, allocations: 159.5 kB / 1.043 GB, free: 9.012 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001203/0.3633, allocations: 27.98 kB / 1.043 GB, free: 8.984 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.0006566/0.3639, allocations: 310.3 kB / 1.043 GB, free: 8.672 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002497/0.3642, allocations: 82.97 kB / 1.043 GB, free: 8.59 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00502/0.3692, allocations: 1.02 MB / 1.044 GB, free: 7.559 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.386e-05/0.3693, allocations: 4 kB / 1.044 GB, free: 7.555 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.3693, allocations: 0 / 1.044 GB, free: 7.555 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.345e-05/0.3693, allocations: 3.984 kB / 1.044 GB, free: 7.551 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007213/0.3766, allocations: 1.91 MB / 1.046 GB, free: 5.574 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-05/0.3766, allocations: 0 / 1.046 GB, free: 5.574 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00165/0.3783, allocations: 179.9 kB / 1.046 GB, free: 5.398 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.209e-05/0.3783, allocations: 0 / 1.046 GB, free: 5.398 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.417e-05/0.3784, allocations: 23.92 kB / 1.047 GB, free: 5.375 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/0.3784, allocations: 0 / 1.047 GB, free: 5.375 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/0.3784, allocations: 4 kB / 1.047 GB, free: 5.371 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006859/0.3853, allocations: 1.51 MB / 1.048 GB, free: 3.832 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006359/0.386, allocations: 231.9 kB / 1.048 GB, free: 3.586 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001749/0.3862, allocations: 12 kB / 1.048 GB, free: 3.574 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001487/0.3877, allocations: 127.8 kB / 1.048 GB, free: 3.449 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/0.3878, allocations: 27.95 kB / 1.048 GB, free: 3.422 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.23e-05/0.3879, allocations: 19.98 kB / 1.048 GB, free: 3.402 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001085/0.389, allocations: 0.4912 MB / 1.049 GB, free: 2.918 MB / 0.6667 GB Notification: Performance of sort global known variables: time 3.51e-07/0.3891, allocations: 0 / 1.049 GB, free: 2.918 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001931/0.391, allocations: 431.2 kB / 1.049 GB, free: 2.496 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.007916/0.399, allocations: 2.261 MB / 1.051 GB, free: 220 kB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.006554/0.4056, allocations: 1.288 MB / 1.053 GB, free: 14.93 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.194e-06/0.4056, allocations: 0 / 1.053 GB, free: 14.93 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002199/0.4078, allocations: 453.6 kB / 1.053 GB, free: 14.48 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003115/0.411, allocations: 346.8 kB / 1.054 GB, free: 14.14 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02589/0.4369, allocations: 5.903 MB / 1.059 GB, free: 8.062 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000698/0.4377, allocations: 0.974 MB / 1.06 GB, free: 7.062 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001749/0.4394, allocations: 207.8 kB / 1.06 GB, free: 6.863 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008499/0.4403, allocations: 339.3 kB / 1.061 GB, free: 6.531 MB / 0.6823 GB Notification: Performance of SimCode: time 1.132e-06/0.4403, allocations: 0 / 1.061 GB, free: 6.531 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6721/1.112, allocations: 23.23 MB / 1.083 GB, free: 86.78 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002438/1.113, allocations: 256.8 kB / 1.084 GB, free: 86.45 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.506/4.618, allocations: 0 / 1.084 GB, free: 86.45 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)