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.748/2.748, allocations: 287.3 MB / 302.3 MB, free: 8.289 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.001556/0.001555, allocations: 184.4 kB / 370.8 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.137/2.137, allocations: 205.4 MB / 0.6295 GB, free: 10.54 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.001224/0.001224, allocations: 95.89 kB / 0.7428 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000536/0.000536, allocations: 15.17 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2309/0.2315, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.362/1.594, allocations: 446.6 MB / 1.414 GB, free: 448 kB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003586/1.594, allocations: 98.25 kB / 1.414 GB, free: 392 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 7.327/8.921, allocations: 1.281 GB / 2.696 GB, free: 104.4 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.876e-06/8.921, allocations: 0 / 2.696 GB, free: 104.4 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0005432/8.922, allocations: 88.22 kB / 2.696 GB, free: 104.4 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.01294/8.935, allocations: 3.23 MB / 2.699 GB, free: 103 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/8.935, allocations: 9.531 kB / 2.699 GB, free: 103 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001168/8.936, allocations: 266.9 kB / 2.699 GB, free: 102.9 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009309/8.945, allocations: 1.009 MB / 2.7 GB, free: 102.8 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.011/8.956, allocations: 2.943 MB / 2.703 GB, free: 102.3 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001998/8.957, allocations: 152.1 kB / 2.703 GB, free: 102.2 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007912/8.957, allocations: 200.6 kB / 2.703 GB, free: 102.2 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009339/8.967, allocations: 2.482 MB / 2.706 GB, free: 102 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001279/8.967, allocations: 6.484 kB / 2.706 GB, free: 102 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003627/8.967, allocations: 76.28 kB / 2.706 GB, free: 102 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.372e-05/8.967, allocations: 46.38 kB / 2.706 GB, free: 102 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01119/8.979, allocations: 2.355 MB / 2.708 GB, free: 101.9 MB / 0.9636 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.02775/9.006, allocations: 12.16 MB / 2.72 GB, free: 95.95 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01556/9.022, allocations: 2.331 MB / 2.722 GB, free: 95.92 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001579/9.024, allocations: 1.37 MB / 2.724 GB, free: 94.42 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.636e-05/9.024, allocations: 48.97 kB / 2.724 GB, free: 94.38 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003014/9.027, allocations: 274.1 kB / 2.724 GB, free: 94.32 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=105): time 1.783e-05/9.027, allocations: 0 / 2.724 GB, free: 94.32 MB / 0.9636 GB Notification: Performance of matching and sorting (n=111): time 0.05902/9.086, allocations: 8.303 MB / 2.732 GB, free: 93.43 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.853e-05/9.086, allocations: 170.2 kB / 2.732 GB, free: 93.24 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005069/9.091, allocations: 1.863 MB / 2.734 GB, free: 93.02 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0005044/9.092, allocations: 57.42 kB / 2.734 GB, free: 92.99 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001308/9.093, allocations: 1.193 MB / 2.735 GB, free: 92.59 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006379/9.094, allocations: 391.2 kB / 2.736 GB, free: 92.34 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002148/9.094, allocations: 31.41 kB / 2.736 GB, free: 92.34 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001165/9.094, allocations: 352.1 kB / 2.736 GB, free: 92.04 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004336/9.098, allocations: 0.9002 MB / 2.737 GB, free: 92.03 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004894/9.103, allocations: 1.364 MB / 2.738 GB, free: 91.51 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004732/9.108, allocations: 0.9899 MB / 2.739 GB, free: 91.48 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.505e-05/9.108, allocations: 3.688 kB / 2.739 GB, free: 91.48 MB / 0.9636 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.01521/9.123, allocations: 2.988 MB / 2.742 GB, free: 91.23 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008207/9.124, allocations: 3.745 MB / 2.746 GB, free: 87.24 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.089e-05/9.124, allocations: 6.281 kB / 2.746 GB, free: 87.24 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01011/9.134, allocations: 1.358 MB / 2.747 GB, free: 87.17 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002826/9.137, allocations: 328.7 kB / 2.747 GB, free: 87.16 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02306/9.16, allocations: 6.238 MB / 2.754 GB, free: 85.19 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006107/9.167, allocations: 389.9 kB / 2.754 GB, free: 85.15 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006482/9.167, allocations: 79.16 kB / 2.754 GB, free: 85.15 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/9.167, allocations: 6.625 kB / 2.754 GB, free: 85.14 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01099/9.178, allocations: 2.323 MB / 2.756 GB, free: 85.05 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-05/9.178, allocations: 7.75 kB / 2.756 GB, free: 85.05 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004982/9.183, allocations: 0.6623 MB / 2.757 GB, free: 85.02 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003492/9.187, allocations: 396.5 kB / 2.757 GB, free: 85.01 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02325/9.21, allocations: 6.858 MB / 2.764 GB, free: 82.23 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005568/9.216, allocations: 345 kB / 2.764 GB, free: 82.2 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005674/9.216, allocations: 75.41 kB / 2.764 GB, free: 82.2 MB / 0.9636 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 124 * 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 35} Notification: Performance of prepare postOptimizeDAE: time 0.002439/9.219, allocations: 0.6131 MB / 2.765 GB, free: 82 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009175/9.22, allocations: 235.6 kB / 2.765 GB, free: 81.88 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01218/9.232, allocations: 2.5 MB / 2.768 GB, free: 81.71 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.154e-05/9.232, allocations: 18.83 kB / 2.768 GB, free: 81.7 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/9.232, allocations: 0 / 2.768 GB, free: 81.7 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009765/9.242, allocations: 2.342 MB / 2.77 GB, free: 81.19 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01864/9.261, allocations: 4.872 MB / 2.775 GB, free: 80.34 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.136e-05/9.261, allocations: 3.938 kB / 2.775 GB, free: 80.34 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002532/9.263, allocations: 261.9 kB / 2.775 GB, free: 80.33 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005886/9.269, allocations: 0.809 MB / 2.776 GB, free: 80.16 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003611/9.27, allocations: 39.72 kB / 2.776 GB, free: 80.14 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004112/9.274, allocations: 1.473 MB / 2.777 GB, free: 79.27 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/9.274, allocations: 4.281 kB / 2.777 GB, free: 79.27 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01573/9.29, allocations: 3.6 MB / 2.781 GB, free: 77.82 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002246/9.292, allocations: 0.5175 MB / 2.781 GB, free: 77.45 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009508/9.293, allocations: 23.28 kB / 2.781 GB, free: 77.43 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004849/9.298, allocations: 315 kB / 2.782 GB, free: 77.38 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003996/9.298, allocations: 78.53 kB / 2.782 GB, free: 77.37 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002762/9.298, allocations: 46.52 kB / 2.782 GB, free: 77.36 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.004734/9.303, allocations: 1.443 MB / 2.783 GB, free: 76.79 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8.71e-07/9.303, allocations: 0 / 2.783 GB, free: 76.79 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.009184/9.313, allocations: 1.291 MB / 2.784 GB, free: 76.59 MB / 0.9636 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 (87): * Single equations (assignments): 79 * 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 36} Notification: Performance of Backend phase and start with SimCode phase: time 0.01882/9.331, allocations: 5.368 MB / 2.79 GB, free: 74.09 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.01615/9.348, allocations: 3.8 MB / 2.793 GB, free: 72.7 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.013e-05/9.348, allocations: 0 / 2.793 GB, free: 72.7 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.004665/9.352, allocations: 0.9955 MB / 2.794 GB, free: 72.41 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009869/9.362, allocations: 1.121 MB / 2.795 GB, free: 72.16 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02777/9.39, allocations: 13.76 MB / 2.809 GB, free: 61.26 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001733/9.392, allocations: 1.676 MB / 2.81 GB, free: 60.46 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.004138/9.396, allocations: 487.9 kB / 2.811 GB, free: 60.37 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002916/9.399, allocations: 1.047 MB / 2.812 GB, free: 59.55 MB / 0.9636 GB Notification: Performance of SimCode: time 1.462e-06/9.399, allocations: 0 / 2.812 GB, free: 59.55 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.223/9.622, allocations: 85.38 MB / 2.895 GB, free: 4.711 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003289/9.622, allocations: 296 kB / 2.896 GB, free: 4.355 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.413/16.04, allocations: 4 kB / 2.896 GB, free: 4.352 MB / 0.9792 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)