Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.809/1.809, allocations: 288.4 MB / 303.3 MB, free: 8.184 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.001033/0.001033, allocations: 177.6 kB / 372 MB, free: 10.28 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.506/1.506, allocations: 205.4 MB / 0.6307 GB, free: 9.98 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.0007695/0.0007695, allocations: 86.3 kB / 0.744 GB, free: 5.898 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004136/0.0004137, allocations: 11.28 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1985/0.1989, allocations: 115.3 MB / 0.9796 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T): time 0.02398/0.223, allocations: 32.49 MB / 1.011 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.009251/0.2323, allocations: 6.388 MB / 1.018 GB, free: 4.594 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001198/0.2335, allocations: 39.75 kB / 1.018 GB, free: 4.555 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001084/0.2346, allocations: 329.7 kB / 1.018 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002538/0.2371, allocations: 0.9869 MB / 1.019 GB, free: 3.238 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001965/0.2391, allocations: 0.7269 MB / 1.02 GB, free: 2.516 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.002845/0.242, allocations: 2.497 MB / 1.022 GB, free: 12 kB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008701/0.2428, allocations: 0.5633 MB / 1.023 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001441/0.2443, allocations: 0.797 MB / 1.023 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007536/0.2451, allocations: 0.5793 MB / 1.024 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 7.955e-05/0.2452, allocations: 32 kB / 1.024 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001507/0.2467, allocations: 0.6978 MB / 1.025 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.000144/0.2468, allocations: 147.3 kB / 1.025 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0002298/0.2471, allocations: 225.1 kB / 1.025 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.001307/0.2484, allocations: 1.181 MB / 1.026 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.2484, allocations: 7.938 kB / 1.026 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.104e-06/0.2484, allocations: 0 / 1.026 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.238e-05/0.2484, allocations: 0 / 1.026 GB, free: 11.76 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.002164/0.2506, allocations: 1.195 MB / 1.027 GB, free: 10.51 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.2506, allocations: 8.031 kB / 1.027 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001209/0.2508, allocations: 98.52 kB / 1.027 GB, free: 10.4 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002699/0.2535, allocations: 0.506 MB / 1.028 GB, free: 9.891 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001334/0.2548, allocations: 0.8538 MB / 1.029 GB, free: 8.996 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.26e-05/0.2549, allocations: 53.31 kB / 1.029 GB, free: 8.945 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001011/0.255, allocations: 63.94 kB / 1.029 GB, free: 8.883 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001913/0.2569, allocations: 0.867 MB / 1.03 GB, free: 7.969 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.2569, allocations: 4 kB / 1.03 GB, free: 7.965 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.337e-05/0.257, allocations: 24 kB / 1.03 GB, free: 7.941 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.025e-05/0.257, allocations: 19.98 kB / 1.03 GB, free: 7.922 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002356/0.2594, allocations: 0.856 MB / 1.031 GB, free: 7.066 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.006361/0.2658, allocations: 4.687 MB / 1.035 GB, free: 1.98 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003942/0.2697, allocations: 0.9705 MB / 1.036 GB, free: 1 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001046/0.2708, allocations: 402.8 kB / 1.037 GB, free: 0.6055 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000918/0.2717, allocations: 0.9533 MB / 1.037 GB, free: 15.45 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.2718, allocations: 38.5 kB / 1.038 GB, free: 15.4 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=35): time 2.585e-06/0.2718, allocations: 0 / 1.038 GB, free: 15.4 MB / 0.6667 GB Notification: Performance of matching and sorting (n=35): time 0.003327/0.2751, allocations: 1.137 MB / 1.039 GB, free: 14.26 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.925e-05/0.2752, allocations: 55.41 kB / 1.039 GB, free: 14.19 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008778/0.276, allocations: 0.72 MB / 1.039 GB, free: 13.46 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 5.158e-05/0.2761, allocations: 33.69 kB / 1.039 GB, free: 13.42 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003329/0.2764, allocations: 440 kB / 1.04 GB, free: 12.98 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001031/0.2766, allocations: 130.1 kB / 1.04 GB, free: 12.86 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.485e-05/0.2766, allocations: 12 kB / 1.04 GB, free: 12.84 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.2767, allocations: 322 kB / 1.04 GB, free: 12.52 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001039/0.2778, allocations: 356.9 kB / 1.041 GB, free: 12.18 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00118/0.2789, allocations: 0.5426 MB / 1.041 GB, free: 11.55 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001046/0.28, allocations: 379.2 kB / 1.042 GB, free: 11.18 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.28, allocations: 0 / 1.042 GB, free: 11.18 MB / 0.6667 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002423/0.2824, allocations: 0.937 MB / 1.042 GB, free: 10.23 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001283/0.2826, allocations: 213 kB / 1.043 GB, free: 9.965 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.2826, allocations: 8 kB / 1.043 GB, free: 9.957 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.2826, allocations: 8 kB / 1.043 GB, free: 9.949 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009646/0.2836, allocations: 211.8 kB / 1.043 GB, free: 9.742 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.28e-05/0.2836, allocations: 15.88 kB / 1.043 GB, free: 9.727 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009802/0.2846, allocations: 171.3 kB / 1.043 GB, free: 9.559 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.428e-05/0.2847, allocations: 27.98 kB / 1.043 GB, free: 9.531 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 6.673e-06/0.2847, allocations: 4 kB / 1.043 GB, free: 9.527 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002189/0.2869, allocations: 0.8269 MB / 1.044 GB, free: 8.699 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.2869, allocations: 11.94 kB / 1.044 GB, free: 8.688 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.2869, allocations: 7.953 kB / 1.044 GB, free: 8.68 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008971/0.2878, allocations: 216.2 kB / 1.044 GB, free: 8.469 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.2878, allocations: 11.94 kB / 1.044 GB, free: 8.457 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000909/0.2888, allocations: 155.5 kB / 1.044 GB, free: 8.305 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.369e-05/0.2888, allocations: 27.98 kB / 1.044 GB, free: 8.277 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.0004042/0.2892, allocations: 310.3 kB / 1.045 GB, free: 7.965 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/0.2894, allocations: 82.97 kB / 1.045 GB, free: 7.883 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002714/0.2921, allocations: 1.01 MB / 1.046 GB, free: 6.863 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-05/0.2921, allocations: 11.94 kB / 1.046 GB, free: 6.852 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.2921, allocations: 0 / 1.046 GB, free: 6.852 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.2921, allocations: 0 / 1.046 GB, free: 6.852 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003916/0.2961, allocations: 1.925 MB / 1.048 GB, free: 4.859 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.2961, allocations: 3.938 kB / 1.048 GB, free: 4.855 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008782/0.297, allocations: 171.9 kB / 1.048 GB, free: 4.688 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.795e-06/0.297, allocations: 11.98 kB / 1.048 GB, free: 4.676 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.465e-05/0.297, allocations: 15.98 kB / 1.048 GB, free: 4.66 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.297, allocations: 0 / 1.048 GB, free: 4.66 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.297, allocations: 4 kB / 1.048 GB, free: 4.656 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003606/0.3007, allocations: 1.506 MB / 1.049 GB, free: 3.121 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003147/0.301, allocations: 231.9 kB / 1.049 GB, free: 2.875 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.398e-05/0.3011, allocations: 4 kB / 1.049 GB, free: 2.871 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008229/0.3019, allocations: 135.8 kB / 1.05 GB, free: 2.738 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.989e-05/0.302, allocations: 27.95 kB / 1.05 GB, free: 2.711 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.765e-05/0.3021, allocations: 19.98 kB / 1.05 GB, free: 2.691 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.000627/0.3027, allocations: 0.4912 MB / 1.05 GB, free: 2.207 MB / 0.6667 GB Notification: Performance of sort global known variables: time 3.1e-07/0.3027, allocations: 0 / 1.05 GB, free: 2.207 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001205/0.3039, allocations: 431.2 kB / 1.05 GB, free: 1.785 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.00448/0.3084, allocations: 2.261 MB / 1.053 GB, free: 15.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003567/0.312, allocations: 1.283 MB / 1.054 GB, free: 14.21 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.312, allocations: 0 / 1.054 GB, free: 14.21 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001186/0.3132, allocations: 449.6 kB / 1.054 GB, free: 13.78 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001728/0.3149, allocations: 357.2 kB / 1.055 GB, free: 13.43 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01598/0.3309, allocations: 5.903 MB / 1.06 GB, free: 7.352 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005388/0.3315, allocations: 0.9702 MB / 1.061 GB, free: 6.355 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001113/0.3326, allocations: 213 kB / 1.062 GB, free: 6.148 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005289/0.3332, allocations: 335.3 kB / 1.062 GB, free: 5.82 MB / 0.6823 GB Notification: Performance of SimCode: time 1.272e-06/0.3332, allocations: 4 kB / 1.062 GB, free: 5.816 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3972/0.7304, allocations: 23.25 MB / 1.085 GB, free: 85.92 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001857/0.7306, allocations: 255.4 kB / 1.085 GB, free: 85.59 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.943/3.673, allocations: 0 / 1.085 GB, free: 85.59 MB / 0.6823 GB (rm -f Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T.fmu > Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe 2>&1)