Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating") translateModel(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.304/2.304, allocations: 251.3 MB / 266.2 MB, free: 11.52 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001304/0.001303, allocations: 190.2 kB / 325.8 MB, free: 2.797 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.342/2.342, allocations: 205.4 MB / 0.5767 GB, free: 20.76 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001264/0.001264, allocations: 93.3 kB / 0.6812 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004895/0.0004898, allocations: 11.03 kB / 0.7953 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2221/0.2226, allocations: 106.3 MB / 0.899 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating): time 0.1475/0.3702, allocations: 106.7 MB / 1.003 GB, free: 6.477 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.05273/0.423, allocations: 24.65 MB / 1.027 GB, free: 13.79 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004952/0.428, allocations: 115.1 kB / 1.027 GB, free: 13.68 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.004743/0.4328, allocations: 0.8575 MB / 1.028 GB, free: 12.81 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01318/0.446, allocations: 2.752 MB / 1.031 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01001/0.4561, allocations: 2.169 MB / 1.033 GB, free: 7.91 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01479/0.4709, allocations: 8.125 MB / 1.041 GB, free: 15.76 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005742/0.4767, allocations: 2.217 MB / 1.043 GB, free: 13.51 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007834/0.4846, allocations: 2.379 MB / 1.045 GB, free: 11.12 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005077/0.4897, allocations: 1.921 MB / 1.047 GB, free: 9.188 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0009357/0.4907, allocations: 104 kB / 1.047 GB, free: 9.086 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005146/0.4959, allocations: 1.037 MB / 1.048 GB, free: 8.047 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001305/0.4972, allocations: 469.7 kB / 1.049 GB, free: 7.586 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001572/0.4988, allocations: 0.6251 MB / 1.05 GB, free: 6.953 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.007583/0.5065, allocations: 3.873 MB / 1.053 GB, free: 3.07 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.5065, allocations: 0 / 1.053 GB, free: 3.07 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.205e-06/0.5065, allocations: 0 / 1.053 GB, free: 3.07 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001448/0.5067, allocations: 0 / 1.053 GB, free: 3.07 MB / 0.698 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.009297/0.516, allocations: 2.862 MB / 1.056 GB, free: 148 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.516, allocations: 8.031 kB / 1.056 GB, free: 140 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5911/1.107, allocations: 1.097 MB / 1.057 GB, free: 151.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006798/1.114, allocations: 2.371 MB / 1.059 GB, free: 150.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001897/1.114, allocations: 146.3 kB / 1.06 GB, free: 150.9 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007067/1.115, allocations: 193.6 kB / 1.06 GB, free: 150.9 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009956/1.125, allocations: 2.503 MB / 1.062 GB, free: 150.6 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-05/1.125, allocations: 7 kB / 1.062 GB, free: 150.6 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000334/1.125, allocations: 79.84 kB / 1.062 GB, free: 150.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.979e-05/1.126, allocations: 56.2 kB / 1.062 GB, free: 150.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01208/1.138, allocations: 2.365 MB / 1.065 GB, free: 150.5 MB / 0.698 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.03043/1.168, allocations: 12.12 MB / 1.077 GB, free: 143.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01634/1.184, allocations: 2.334 MB / 1.079 GB, free: 142.4 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004631/1.189, allocations: 0.9361 MB / 1.08 GB, free: 141.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001624/1.191, allocations: 1.375 MB / 1.081 GB, free: 140.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.135e-05/1.191, allocations: 48.25 kB / 1.081 GB, free: 140.3 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002471/1.193, allocations: 227.2 kB / 1.081 GB, free: 140.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=105): time 9.587e-06/1.193, allocations: 1.031 kB / 1.081 GB, free: 140.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=111): time 0.06495/1.258, allocations: 8.939 MB / 1.09 GB, free: 135.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.441e-05/1.259, allocations: 170.6 kB / 1.09 GB, free: 135.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004737/1.263, allocations: 2.063 MB / 1.092 GB, free: 134.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004434/1.264, allocations: 45.58 kB / 1.092 GB, free: 134.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001224/1.265, allocations: 1.203 MB / 1.093 GB, free: 133.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006384/1.266, allocations: 390.5 kB / 1.094 GB, free: 133 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000177/1.266, allocations: 27.75 kB / 1.094 GB, free: 133 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001163/1.266, allocations: 357.6 kB / 1.094 GB, free: 132.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004407/1.27, allocations: 0.8996 MB / 1.095 GB, free: 132.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004901/1.275, allocations: 1.302 MB / 1.096 GB, free: 131.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004699/1.28, allocations: 0.9886 MB / 1.097 GB, free: 130.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-05/1.28, allocations: 4 kB / 1.097 GB, free: 130.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.0147/1.295, allocations: 2.994 MB / 1.1 GB, free: 127.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002192/1.295, allocations: 379.2 kB / 1.101 GB, free: 127 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.957e-05/1.295, allocations: 12 kB / 1.101 GB, free: 127 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01052/1.306, allocations: 1.395 MB / 1.102 GB, free: 125.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002814/1.309, allocations: 336.6 kB / 1.102 GB, free: 125.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02178/1.33, allocations: 6.075 MB / 1.108 GB, free: 119.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005554/1.336, allocations: 380.6 kB / 1.109 GB, free: 118.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004378/1.337, allocations: 75.95 kB / 1.109 GB, free: 118.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/1.337, allocations: 4 kB / 1.109 GB, free: 118.7 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01011/1.347, allocations: 2.355 MB / 1.111 GB, free: 116.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.607e-05/1.347, allocations: 12.69 kB / 1.111 GB, free: 116.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004832/1.352, allocations: 0.6829 MB / 1.112 GB, free: 115.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003397/1.355, allocations: 395.5 kB / 1.112 GB, free: 115.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02064/1.376, allocations: 6.774 MB / 1.119 GB, free: 108.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004946/1.381, allocations: 331.4 kB / 1.119 GB, free: 107.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004053/1.381, allocations: 75.91 kB / 1.119 GB, free: 107.8 MB / 0.698 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.001817/1.383, allocations: 0.61 MB / 1.12 GB, free: 107.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008035/1.384, allocations: 237.1 kB / 1.12 GB, free: 106.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01069/1.395, allocations: 2.505 MB / 1.122 GB, free: 104.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.061e-05/1.395, allocations: 27.92 kB / 1.122 GB, free: 104.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/1.395, allocations: 0 / 1.122 GB, free: 104.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008956/1.404, allocations: 2.337 MB / 1.125 GB, free: 102 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01929/1.423, allocations: 5.115 MB / 1.13 GB, free: 96.82 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.54e-05/1.423, allocations: 0 / 1.13 GB, free: 96.82 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00247/1.425, allocations: 259.8 kB / 1.13 GB, free: 96.57 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005296/1.431, allocations: 0.7977 MB / 1.131 GB, free: 95.77 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003039/1.431, allocations: 31.98 kB / 1.131 GB, free: 95.73 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003875/1.435, allocations: 1.477 MB / 1.132 GB, free: 94.23 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/1.435, allocations: 0 / 1.132 GB, free: 94.23 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01438/1.449, allocations: 3.538 MB / 1.136 GB, free: 90.66 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001825/1.451, allocations: 0.5212 MB / 1.136 GB, free: 90.12 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006664/1.452, allocations: 20 kB / 1.136 GB, free: 90.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004348/1.456, allocations: 311.5 kB / 1.136 GB, free: 89.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002716/1.457, allocations: 72.83 kB / 1.136 GB, free: 89.73 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002285/1.457, allocations: 47.97 kB / 1.136 GB, free: 89.68 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.003363/1.46, allocations: 1.399 MB / 1.138 GB, free: 88.27 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.91e-07/1.46, allocations: 0 / 1.138 GB, free: 88.27 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.006192/1.466, allocations: 1.139 MB / 1.139 GB, free: 87.16 MB / 0.698 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.001398/1.468, allocations: 0.5128 MB / 1.139 GB, free: 86.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01533/1.483, allocations: 3.816 MB / 1.143 GB, free: 82.85 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/1.483, allocations: 0 / 1.143 GB, free: 82.85 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00436/1.488, allocations: 0.9875 MB / 1.144 GB, free: 81.86 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009909/1.498, allocations: 1.152 MB / 1.145 GB, free: 80.71 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01942/1.517, allocations: 5.761 MB / 1.151 GB, free: 74.91 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001304/1.518, allocations: 1.625 MB / 1.152 GB, free: 73.26 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003737/1.522, allocations: 490.3 kB / 1.153 GB, free: 72.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001032/1.523, allocations: 171.4 kB / 1.153 GB, free: 72.63 MB / 0.698 GB Notification: Performance of SimCode: time 1.502e-06/1.523, allocations: 0 / 1.153 GB, free: 72.63 MB / 0.698 GB Notification: Performance of Templates: time 0.125/1.648, allocations: 55.05 MB / 1.207 GB, free: 18 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.makefile (rm -f Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.pipe ; mkfifo Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.pipe >> ../files/Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.sim & ./Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.pipe 2>&1)