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.538/2.538, allocations: 284.9 MB / 292.4 MB, free: 10.5 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.001388/0.001388, allocations: 176.8 kB / 360.6 MB, free: 7.285 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.092/2.092, allocations: 205.3 MB / 0.6191 GB, free: 12.21 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.001108/0.001107, allocations: 98.23 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.069e-05/3.082e-05, allocations: 4 kB / 0.8509 GB, free: 3.359 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8574/0.8575, allocations: 115.2 MB / 0.9634 GB, free: 78.61 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.368/2.226, allocations: 445.8 MB / 1.399 GB, free: 123.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003436/2.226, allocations: 95.38 kB / 1.399 GB, free: 123.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.45/8.676, allocations: 1.272 GB / 2.671 GB, free: 1.574 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.904e-06/8.676, allocations: 0 / 2.671 GB, free: 1.574 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0005373/8.677, allocations: 75.92 kB / 2.671 GB, free: 1.5 MB / 0.948 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.01006/8.687, allocations: 2.742 MB / 2.673 GB, free: 14.71 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.508e-05/8.687, allocations: 8.031 kB / 2.673 GB, free: 14.7 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009767/8.697, allocations: 1.003 MB / 2.674 GB, free: 13.69 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01224/8.709, allocations: 2.922 MB / 2.677 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001462/8.709, allocations: 67.92 kB / 2.677 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008103/8.71, allocations: 116 kB / 2.677 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006154/8.716, allocations: 1.573 MB / 2.679 GB, free: 8.945 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007144/8.724, allocations: 1.876 MB / 2.681 GB, free: 6.98 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.461e-05/8.724, allocations: 8 kB / 2.681 GB, free: 6.973 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003027/8.724, allocations: 0 / 2.681 GB, free: 6.973 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.459e-05/8.724, allocations: 51.95 kB / 2.681 GB, free: 6.922 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.03097/8.755, allocations: 11.79 MB / 2.692 GB, free: 10.32 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01017/8.765, allocations: 1.626 MB / 2.694 GB, free: 8.684 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002228/8.768, allocations: 0.6613 MB / 2.695 GB, free: 8.016 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001916/8.77, allocations: 1.366 MB / 2.696 GB, free: 6.355 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.137e-05/8.77, allocations: 51.86 kB / 2.696 GB, free: 6.297 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002806/8.772, allocations: 234.8 kB / 2.696 GB, free: 6.066 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=105): time 9.959e-06/8.773, allocations: 0 / 2.696 GB, free: 6.066 MB / 0.9792 GB Notification: Performance of matching and sorting (n=111): time 0.01654/8.789, allocations: 3.449 MB / 2.7 GB, free: 2.555 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001254/8.789, allocations: 171.5 kB / 2.7 GB, free: 2.352 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004081/8.793, allocations: 1.551 MB / 2.701 GB, free: 0.7773 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0005081/8.794, allocations: 33.64 kB / 2.701 GB, free: 0.7383 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.7684/9.562, allocations: 1.193 MB / 2.702 GB, free: 108.4 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007529/9.563, allocations: 370.5 kB / 2.703 GB, free: 108.3 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001644/9.563, allocations: 0.625 kB / 2.703 GB, free: 108.3 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001443/9.564, allocations: 359.8 kB / 2.703 GB, free: 108 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001612/9.565, allocations: 0.5383 MB / 2.704 GB, free: 108 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001939/9.567, allocations: 1.002 MB / 2.705 GB, free: 107.5 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002698/9.57, allocations: 0.7177 MB / 2.705 GB, free: 107.5 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.196e-05/9.57, allocations: 3.281 kB / 2.705 GB, free: 107.5 MB / 0.9792 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.01324/9.583, allocations: 2.386 MB / 2.708 GB, free: 107.3 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009058/9.584, allocations: 3.716 MB / 2.711 GB, free: 103.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.148e-05/9.584, allocations: 8.906 kB / 2.711 GB, free: 103.3 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006542/9.591, allocations: 0.854 MB / 2.712 GB, free: 103.3 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003162/9.594, allocations: 368.7 kB / 2.712 GB, free: 103.3 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01531/9.609, allocations: 5.292 MB / 2.718 GB, free: 101 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005836/9.615, allocations: 366.9 kB / 2.718 GB, free: 101 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006201/9.616, allocations: 78.77 kB / 2.718 GB, free: 101 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/9.616, allocations: 6.141 kB / 2.718 GB, free: 101 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01235/9.628, allocations: 2.013 MB / 2.72 GB, free: 100.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.195e-05/9.628, allocations: 8.969 kB / 2.72 GB, free: 100.9 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004313/9.633, allocations: 0.5689 MB / 2.721 GB, free: 100.9 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003578/9.636, allocations: 396.8 kB / 2.721 GB, free: 100.9 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01775/9.654, allocations: 6.952 MB / 2.728 GB, free: 97.01 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005351/9.66, allocations: 323.6 kB / 2.728 GB, free: 97 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005732/9.66, allocations: 71 kB / 2.728 GB, free: 97 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.0006536/9.661, allocations: 143.7 kB / 2.728 GB, free: 96.89 MB / 0.9792 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005229/9.666, allocations: 1.452 MB / 2.73 GB, free: 96.7 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000916/9.667, allocations: 222.4 kB / 2.73 GB, free: 96.59 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006343/9.673, allocations: 1.785 MB / 2.732 GB, free: 96.46 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.332e-05/9.674, allocations: 18.12 kB / 2.732 GB, free: 96.45 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/9.674, allocations: 0 / 2.732 GB, free: 96.45 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004422/9.678, allocations: 1.657 MB / 2.733 GB, free: 95.97 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01182/9.69, allocations: 3.983 MB / 2.737 GB, free: 95.53 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.218e-05/9.69, allocations: 2.062 kB / 2.737 GB, free: 95.53 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002671/9.693, allocations: 294.2 kB / 2.737 GB, free: 95.53 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002375/9.695, allocations: 415.9 kB / 2.738 GB, free: 95.51 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003111/9.695, allocations: 17.34 kB / 2.738 GB, free: 95.51 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001794/9.697, allocations: 1.538 MB / 2.739 GB, free: 94.46 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.717e-06/9.697, allocations: 5.609 kB / 2.739 GB, free: 94.46 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006876/9.704, allocations: 2.504 MB / 2.742 GB, free: 94.04 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002132/9.706, allocations: 0.5035 MB / 2.742 GB, free: 93.82 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007937/9.707, allocations: 6.219 kB / 2.742 GB, free: 93.82 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00472/9.712, allocations: 309.2 kB / 2.743 GB, free: 93.82 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003692/9.712, allocations: 73.05 kB / 2.743 GB, free: 93.81 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002404/9.713, allocations: 49.45 kB / 2.743 GB, free: 93.81 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.002773/9.715, allocations: 1.162 MB / 2.744 GB, free: 93.67 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6.62e-07/9.715, allocations: 2.297 kB / 2.744 GB, free: 93.67 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.009363/9.725, allocations: 1.266 MB / 2.745 GB, free: 93.67 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.009193/9.734, allocations: 4.253 MB / 2.749 GB, free: 92.41 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.007854/9.742, allocations: 2.903 MB / 2.752 GB, free: 91.92 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/9.742, allocations: 0 / 2.752 GB, free: 91.92 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001838/9.744, allocations: 0.67 MB / 2.753 GB, free: 91.92 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009145/9.753, allocations: 1.038 MB / 2.754 GB, free: 91.9 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01988/9.773, allocations: 4.078 MB / 2.758 GB, free: 90.98 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001991/9.775, allocations: 1.672 MB / 2.759 GB, free: 90.24 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.00608/9.781, allocations: 0.5792 MB / 2.76 GB, free: 90.22 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002573/9.784, allocations: 1.012 MB / 2.761 GB, free: 90.21 MB / 0.9792 GB Notification: Performance of SimCode: time 1.262e-06/9.784, allocations: 0 / 2.761 GB, free: 90.21 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2255/10.01, allocations: 77.53 MB / 2.837 GB, free: 87 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002984/10.01, allocations: 223 kB / 2.837 GB, free: 86.71 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.269/16.28, allocations: 2.75 kB / 2.837 GB, free: 86.71 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)