Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.816/1.816, allocations: 289.9 MB / 297.4 MB, free: 6.355 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.001166/0.001166, allocations: 176.8 kB / 366.7 MB, free: 1.637 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.915/1.915, allocations: 205.2 MB / 0.626 GB, free: 7.18 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001162/0.001162, allocations: 80.12 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.513e-05/2.516e-05, allocations: 4 kB / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8937/0.8937, allocations: 116.3 MB / 0.9733 GB, free: 76.17 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.368/2.262, allocations: 447 MB / 1.41 GB, free: 110.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002741/2.262, allocations: 90.42 kB / 1.41 GB, free: 110.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.785/7.048, allocations: 1.272 GB / 2.682 GB, free: 35 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.313e-06/7.048, allocations: 0 / 2.682 GB, free: 35 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0003322/7.048, allocations: 83.05 kB / 2.682 GB, free: 34.93 MB / 0.9636 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.007827/7.056, allocations: 2.742 MB / 2.684 GB, free: 32.16 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/7.056, allocations: 12.03 kB / 2.684 GB, free: 32.15 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005549/7.062, allocations: 1.003 MB / 2.685 GB, free: 31.15 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006822/7.068, allocations: 2.915 MB / 2.688 GB, free: 28.21 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.24e-05/7.069, allocations: 60 kB / 2.688 GB, free: 28.16 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004113/7.069, allocations: 116 kB / 2.688 GB, free: 28.04 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003008/7.072, allocations: 1.577 MB / 2.69 GB, free: 26.46 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002973/7.075, allocations: 1.871 MB / 2.692 GB, free: 24.51 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.316e-05/7.075, allocations: 3.938 kB / 2.692 GB, free: 24.5 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001664/7.075, allocations: 4 kB / 2.692 GB, free: 24.5 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.314e-05/7.075, allocations: 47.98 kB / 2.692 GB, free: 24.45 MB / 0.9636 GB Warning: The model contains alias variables with conflicting start and/or 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.01754/7.093, allocations: 11.81 MB / 2.703 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005071/7.098, allocations: 1.62 MB / 2.705 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009961/7.099, allocations: 0.6573 MB / 2.706 GB, free: 9.562 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009961/7.1, allocations: 1.374 MB / 2.707 GB, free: 7.891 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/7.1, allocations: 43.88 kB / 2.707 GB, free: 7.84 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002101/7.102, allocations: 242.8 kB / 2.707 GB, free: 7.602 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=105): time 5.42e-06/7.102, allocations: 0 / 2.707 GB, free: 7.602 MB / 0.9636 GB Notification: Performance of matching and sorting (n=111): time 0.008671/7.111, allocations: 3.445 MB / 2.711 GB, free: 4.094 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.215e-05/7.111, allocations: 167.5 kB / 2.711 GB, free: 3.895 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002255/7.113, allocations: 1.551 MB / 2.712 GB, free: 2.32 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001772/7.113, allocations: 25.7 kB / 2.712 GB, free: 2.289 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.000693/7.114, allocations: 1.213 MB / 2.713 GB, free: 1.062 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002686/7.114, allocations: 370.5 kB / 2.714 GB, free: 0.6953 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.827e-05/7.114, allocations: 0 / 2.714 GB, free: 0.6953 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.971e-05/7.114, allocations: 357.9 kB / 2.714 GB, free: 348 kB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008669/7.115, allocations: 0.539 MB / 2.715 GB, free: 15.8 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001328/7.117, allocations: 1.002 MB / 2.716 GB, free: 14.61 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001733/7.118, allocations: 0.7188 MB / 2.716 GB, free: 13.89 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/7.118, allocations: 4 kB / 2.716 GB, free: 13.89 MB / 0.9792 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.007581/7.126, allocations: 2.386 MB / 2.719 GB, free: 11.48 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.001825/7.128, allocations: 3.706 MB / 2.722 GB, free: 7.395 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.985e-05/7.128, allocations: 8 kB / 2.722 GB, free: 7.387 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003359/7.131, allocations: 0.8567 MB / 2.723 GB, free: 6.523 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001791/7.133, allocations: 363.5 kB / 2.723 GB, free: 6.168 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01078/7.144, allocations: 5.291 MB / 2.729 GB, free: 0.707 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004566/7.149, allocations: 367.5 kB / 2.729 GB, free: 356 kB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003694/7.149, allocations: 75.95 kB / 2.729 GB, free: 280 kB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/7.149, allocations: 4 kB / 2.729 GB, free: 276 kB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.7606/7.91, allocations: 2.01 MB / 2.731 GB, free: 107 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.629e-05/7.91, allocations: 8.906 kB / 2.731 GB, free: 107 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002452/7.912, allocations: 0.5807 MB / 2.732 GB, free: 107 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002118/7.914, allocations: 390.7 kB / 2.732 GB, free: 107 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01171/7.926, allocations: 6.966 MB / 2.739 GB, free: 103.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003733/7.93, allocations: 325 kB / 2.739 GB, free: 103.2 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002811/7.93, allocations: 72.23 kB / 2.739 GB, free: 103.2 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (140): * Single equations (assignments): 137 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 16,1 19,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0004896/7.931, allocations: 140.2 kB / 2.739 GB, free: 103.1 MB / 0.9792 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003775/7.934, allocations: 1.45 MB / 2.741 GB, free: 103 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004242/7.935, allocations: 217.4 kB / 2.741 GB, free: 103 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004046/7.939, allocations: 1.778 MB / 2.743 GB, free: 102.9 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.107e-05/7.939, allocations: 13.33 kB / 2.743 GB, free: 102.9 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/7.939, allocations: 0.5625 kB / 2.743 GB, free: 102.9 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002757/7.942, allocations: 1.66 MB / 2.744 GB, free: 102.4 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008005/7.95, allocations: 3.996 MB / 2.748 GB, free: 102 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/7.95, allocations: 0 / 2.748 GB, free: 102 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001362/7.951, allocations: 296.2 kB / 2.748 GB, free: 102 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001299/7.952, allocations: 402.9 kB / 2.749 GB, free: 102 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.858e-05/7.952, allocations: 22.12 kB / 2.749 GB, free: 102 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001127/7.954, allocations: 1.543 MB / 2.75 GB, free: 100.9 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/7.954, allocations: 1.594 kB / 2.75 GB, free: 100.9 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004084/7.958, allocations: 2.513 MB / 2.753 GB, free: 100.5 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001234/7.959, allocations: 0.5026 MB / 2.753 GB, free: 100.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00028/7.959, allocations: 3.875 kB / 2.753 GB, free: 100.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002063/7.961, allocations: 298.7 kB / 2.754 GB, free: 100.3 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001379/7.962, allocations: 77.06 kB / 2.754 GB, free: 100.3 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001102/7.962, allocations: 53.12 kB / 2.754 GB, free: 100.3 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.00192/7.964, allocations: 1.162 MB / 2.755 GB, free: 100.1 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.4e-07/7.964, allocations: 0 / 2.755 GB, free: 100.1 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.005772/7.969, allocations: 1.261 MB / 2.756 GB, free: 100.1 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (hex.port_b1.h_outflow,hex.port_a2.h_outflow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 92 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 20,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.006027/7.975, allocations: 4.263 MB / 2.76 GB, free: 98.88 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.004986/7.98, allocations: 2.897 MB / 2.763 GB, free: 98.39 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 6.002e-06/7.98, allocations: 1.469 kB / 2.763 GB, free: 98.39 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001071/7.981, allocations: 0.6691 MB / 2.764 GB, free: 98.39 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006283/7.988, allocations: 1.038 MB / 2.765 GB, free: 98.38 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01259/8, allocations: 4.072 MB / 2.769 GB, free: 97.45 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001445/8.002, allocations: 1.681 MB / 2.77 GB, free: 96.71 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.003623/8.006, allocations: 0.5818 MB / 2.771 GB, free: 96.7 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001357/8.007, allocations: 1.007 MB / 2.772 GB, free: 96.69 MB / 0.9792 GB Notification: Performance of SimCode: time 1.623e-06/8.007, allocations: 0.9375 kB / 2.772 GB, free: 96.69 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1505/8.157, allocations: 77.55 MB / 2.848 GB, free: 93.68 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002714/8.158, allocations: 216.4 kB / 2.848 GB, free: 93.39 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.544/13.7, allocations: 2.922 kB / 2.848 GB, free: 93.39 MB / 0.9792 GB (rm -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.pipe ; mkfifo Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.pipe >> ../files/Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating.fmu > Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.pipe 2>&1)