Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.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.LakeWaterHeatExchanger_T_Heating,fileNamePrefix="Buildings_8_0_0_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating,fileNamePrefix="Buildings_8_0_0_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating",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.618/2.618, allocations: 287.5 MB / 302.4 MB, free: 8.328 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.001322/0.001322, allocations: 182.5 kB / 371 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.111/2.111, allocations: 205.4 MB / 0.6297 GB, free: 10.6 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.0009449/0.0009448, allocations: 96.88 kB / 0.743 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005209/0.0005213, allocations: 15.34 kB / 0.8659 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2118/0.2124, allocations: 115.3 MB / 0.9785 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating): time 0.8241/1.037, allocations: 106.7 MB / 1.083 GB, free: 22.43 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.0508/1.087, allocations: 24.69 MB / 1.107 GB, free: 21.98 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005792/1.093, allocations: 115.5 kB / 1.107 GB, free: 21.98 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.005471/1.099, allocations: 0.8528 MB / 1.108 GB, free: 21.96 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01358/1.112, allocations: 2.762 MB / 1.11 GB, free: 21.34 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01067/1.123, allocations: 2.191 MB / 1.113 GB, free: 21.19 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01567/1.139, allocations: 8.101 MB / 1.12 GB, free: 17.92 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005054/1.144, allocations: 2.029 MB / 1.122 GB, free: 17.21 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007981/1.152, allocations: 2.39 MB / 1.125 GB, free: 16.31 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005389/1.157, allocations: 1.923 MB / 1.127 GB, free: 15.67 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001139/1.159, allocations: 105.4 kB / 1.127 GB, free: 15.67 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006461/1.165, allocations: 1.036 MB / 1.128 GB, free: 15.39 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001552/1.167, allocations: 473.3 kB / 1.128 GB, free: 15.15 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.002054/1.169, allocations: 0.6301 MB / 1.129 GB, free: 14.77 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.00772/1.177, allocations: 3.887 MB / 1.133 GB, free: 13.39 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 9.127e-06/1.177, allocations: 3.938 kB / 1.133 GB, free: 13.39 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.895e-06/1.177, allocations: 1.281 kB / 1.133 GB, free: 13.39 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001515/1.177, allocations: 0 / 1.133 GB, free: 13.39 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 470 * Number of variables: 470 Notification: Performance of Generate backend data structure: time 0.009475/1.186, allocations: 2.859 MB / 1.135 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.647e-05/1.186, allocations: 9.906 kB / 1.135 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008714/1.187, allocations: 265.5 kB / 1.136 GB, free: 11.18 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009855/1.197, allocations: 1.1 MB / 1.137 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006706/1.204, allocations: 2.382 MB / 1.139 GB, free: 8.891 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001678/1.204, allocations: 146.5 kB / 1.139 GB, free: 8.824 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005162/1.205, allocations: 192.9 kB / 1.139 GB, free: 8.762 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009101/1.214, allocations: 2.53 MB / 1.142 GB, free: 7.207 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.779e-05/1.214, allocations: 5.531 kB / 1.142 GB, free: 7.203 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000322/1.214, allocations: 74.69 kB / 1.142 GB, free: 7.148 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.415e-05/1.214, allocations: 54.44 kB / 1.142 GB, free: 7.141 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01105/1.225, allocations: 2.367 MB / 1.144 GB, free: 6.004 MB / 0.6823 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.0272/1.253, allocations: 12.13 MB / 1.156 GB, free: 11.43 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01516/1.268, allocations: 2.346 MB / 1.158 GB, free: 10.36 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004226/1.272, allocations: 0.943 MB / 1.159 GB, free: 9.914 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001838/1.274, allocations: 1.378 MB / 1.161 GB, free: 8.348 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.285e-05/1.274, allocations: 46.25 kB / 1.161 GB, free: 8.293 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002387/1.276, allocations: 229.3 kB / 1.161 GB, free: 8.168 MB / 0.698 GB Notification: Performance of pre-optimization done (n=105): time 4.749e-06/1.276, allocations: 0 / 1.161 GB, free: 8.168 MB / 0.698 GB Notification: Performance of matching and sorting (n=111): time 0.06536/1.342, allocations: 9.153 MB / 1.17 GB, free: 3.715 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/1.342, allocations: 163.2 kB / 1.17 GB, free: 3.52 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005028/1.347, allocations: 2.07 MB / 1.172 GB, free: 1.426 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004709/1.348, allocations: 49.7 kB / 1.172 GB, free: 1.371 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001514/1.349, allocations: 1.194 MB / 1.173 GB, free: 172 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007112/1.35, allocations: 389.6 kB / 1.174 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001762/1.35, allocations: 24 kB / 1.174 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001891/1.35, allocations: 365.9 kB / 1.174 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004526/1.355, allocations: 0.8979 MB / 1.175 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005273/1.36, allocations: 1.308 MB / 1.176 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005032/1.365, allocations: 0.9917 MB / 1.177 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.477e-05/1.365, allocations: 7.781 kB / 1.177 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.01548/1.381, allocations: 2.995 MB / 1.18 GB, free: 9.031 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003539/1.381, allocations: 375.6 kB / 1.18 GB, free: 8.531 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.09e-05/1.381, allocations: 12 kB / 1.18 GB, free: 8.52 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01149/1.393, allocations: 1.435 MB / 1.182 GB, free: 7.078 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002962/1.396, allocations: 335.5 kB / 1.182 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02415/1.42, allocations: 6.083 MB / 1.188 GB, free: 0.5078 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005722/1.426, allocations: 383.3 kB / 1.188 GB, free: 136 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004895/1.426, allocations: 75.95 kB / 1.189 GB, free: 60 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/1.426, allocations: 4 kB / 1.189 GB, free: 56 kB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01119/1.437, allocations: 2.367 MB / 1.191 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.911e-05/1.437, allocations: 8 kB / 1.191 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005074/1.442, allocations: 0.6822 MB / 1.192 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003523/1.446, allocations: 391.4 kB / 1.192 GB, free: 12.6 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02306/1.469, allocations: 6.762 MB / 1.199 GB, free: 5.586 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005198/1.474, allocations: 327.4 kB / 1.199 GB, free: 5.266 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00045/1.475, allocations: 75.95 kB / 1.199 GB, free: 5.191 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (127): * Single equations (assignments): 125 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 16,3 36} Notification: Performance of prepare postOptimizeDAE: time 0.002202/1.477, allocations: 0.6153 MB / 1.199 GB, free: 4.566 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008677/1.478, allocations: 233 kB / 1.2 GB, free: 4.336 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01176/1.49, allocations: 2.525 MB / 1.202 GB, free: 1.824 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.144e-05/1.49, allocations: 18.61 kB / 1.202 GB, free: 1.809 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/1.49, allocations: 0 / 1.202 GB, free: 1.809 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0101/1.5, allocations: 2.349 MB / 1.204 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02174/1.522, allocations: 5.126 MB / 1.21 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.79e-05/1.522, allocations: 0 / 1.21 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002568/1.524, allocations: 267.8 kB / 1.21 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006473/1.531, allocations: 0.8264 MB / 1.211 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000341/1.531, allocations: 35.97 kB / 1.211 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004496/1.536, allocations: 1.477 MB / 1.212 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.234e-06/1.536, allocations: 3.984 kB / 1.212 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01628/1.552, allocations: 3.553 MB / 1.216 GB, free: 4 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002377/1.555, allocations: 0.5251 MB / 1.216 GB, free: 3.453 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001119/1.556, allocations: 27.95 kB / 1.216 GB, free: 3.426 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005153/1.561, allocations: 311.3 kB / 1.216 GB, free: 3.125 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005404/1.562, allocations: 76.83 kB / 1.216 GB, free: 3.051 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004533/1.562, allocations: 47.95 kB / 1.216 GB, free: 3.004 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.005219/1.567, allocations: 1.395 MB / 1.218 GB, free: 1.598 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7.82e-07/1.567, allocations: 0 / 1.218 GB, free: 1.598 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.00842/1.576, allocations: 1.148 MB / 1.219 GB, free: 460 kB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (hex.valCoo.vol.dynBal.U,hex.valHea.vol.dynBal.U) * 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 (86): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 37} Notification: Performance of Backend phase and start with SimCode phase: time 0.02241/1.598, allocations: 4.496 MB / 1.223 GB, free: 11.97 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.02641/1.625, allocations: 3.829 MB / 1.227 GB, free: 8.113 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-05/1.625, allocations: 0 / 1.227 GB, free: 8.113 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.007631/1.632, allocations: 0.9955 MB / 1.228 GB, free: 7.117 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01679/1.649, allocations: 1.154 MB / 1.229 GB, free: 5.973 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1265/1.776, allocations: 17.07 MB / 1.246 GB, free: 3.691 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00289/1.779, allocations: 1.622 MB / 1.247 GB, free: 2.039 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.006009/1.785, allocations: 483.8 kB / 1.248 GB, free: 1.586 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003948/1.789, allocations: 1.052 MB / 1.249 GB, free: 0.5352 MB / 0.7761 GB Notification: Performance of SimCode: time 2.004e-06/1.789, allocations: 4 kB / 1.249 GB, free: 0.5312 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2344/2.023, allocations: 77.68 MB / 1.325 GB, free: 3.531 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003953/2.024, allocations: 312.8 kB / 1.325 GB, free: 3.168 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.748/7.772, allocations: 4 kB / 1.325 GB, free: 3.164 MB / 0.8542 GB (rm -f Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating.fmu > Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.pipe 2>&1)