Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.416/1.416, allocations: 252 MB / 267.6 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001052/0.001052, allocations: 175.8 kB / 327.3 MB, free: 2.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.905/1.905, allocations: 205.4 MB / 0.5783 GB, free: 20.56 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008501/0.0008501, allocations: 92.59 kB / 0.6829 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003494/0.0003495, allocations: 16.16 kB / 0.797 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.2519, allocations: 106.3 MB / 0.9008 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating): time 0.08947/0.3414, allocations: 106.7 MB / 1.005 GB, free: 5.367 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.03851/0.38, allocations: 24.65 MB / 1.029 GB, free: 12.68 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005698/0.3857, allocations: 115.1 kB / 1.029 GB, free: 12.56 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.004645/0.3904, allocations: 0.8536 MB / 1.03 GB, free: 11.7 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01154/0.402, allocations: 2.758 MB / 1.033 GB, free: 8.934 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.008338/0.4104, allocations: 2.167 MB / 1.035 GB, free: 6.797 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01464/0.425, allocations: 8.075 MB / 1.043 GB, free: 14.7 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005754/0.4308, allocations: 2.038 MB / 1.045 GB, free: 12.62 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007511/0.4384, allocations: 2.376 MB / 1.047 GB, free: 10.24 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005101/0.4435, allocations: 1.921 MB / 1.049 GB, free: 8.309 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001438/0.445, allocations: 104 kB / 1.049 GB, free: 8.207 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005219/0.4503, allocations: 1.033 MB / 1.05 GB, free: 7.172 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001464/0.4518, allocations: 473.7 kB / 1.05 GB, free: 6.707 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.002081/0.4539, allocations: 0.629 MB / 1.051 GB, free: 6.07 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.007096/0.461, allocations: 3.869 MB / 1.055 GB, free: 2.191 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 9.438e-06/0.4611, allocations: 0 / 1.055 GB, free: 2.191 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.358e-06/0.4611, allocations: 0 / 1.055 GB, free: 2.191 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000236/0.4613, allocations: 0 / 1.055 GB, free: 2.191 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.543/1.004, allocations: 2.857 MB / 1.058 GB, free: 149.8 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.403e-05/1.004, allocations: 9.969 kB / 1.058 GB, free: 149.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006422/1.011, allocations: 1.104 MB / 1.059 GB, free: 149.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004916/1.016, allocations: 2.364 MB / 1.061 GB, free: 149.2 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001086/1.016, allocations: 151.3 kB / 1.061 GB, free: 149.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003038/1.016, allocations: 197 kB / 1.061 GB, free: 149.2 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005746/1.022, allocations: 2.502 MB / 1.064 GB, free: 148.9 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.11e-05/1.022, allocations: 6.844 kB / 1.064 GB, free: 148.9 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001806/1.022, allocations: 80.72 kB / 1.064 GB, free: 148.9 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.337e-05/1.022, allocations: 52.52 kB / 1.064 GB, free: 148.9 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006504/1.029, allocations: 2.36 MB / 1.066 GB, free: 148.8 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.02083/1.05, allocations: 12.11 MB / 1.078 GB, free: 142 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009751/1.06, allocations: 2.339 MB / 1.08 GB, free: 140.9 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003329/1.063, allocations: 0.9425 MB / 1.081 GB, free: 140.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00139/1.064, allocations: 1.379 MB / 1.083 GB, free: 138.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.997e-05/1.064, allocations: 45.03 kB / 1.083 GB, free: 138.9 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002763/1.067, allocations: 241.8 kB / 1.083 GB, free: 138.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=105): time 7.484e-06/1.067, allocations: 0 / 1.083 GB, free: 138.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=111): time 0.03581/1.103, allocations: 8.928 MB / 1.092 GB, free: 134.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.179e-05/1.103, allocations: 167.1 kB / 1.092 GB, free: 134.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003196/1.106, allocations: 2.066 MB / 1.094 GB, free: 133 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002444/1.107, allocations: 49.64 kB / 1.094 GB, free: 133 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007968/1.107, allocations: 1.199 MB / 1.095 GB, free: 131.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003348/1.108, allocations: 378.8 kB / 1.095 GB, free: 131.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.757e-05/1.108, allocations: 27.91 kB / 1.095 GB, free: 131.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001111/1.108, allocations: 369.7 kB / 1.096 GB, free: 131.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00217/1.11, allocations: 0.8914 MB / 1.097 GB, free: 130.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002337/1.113, allocations: 1.305 MB / 1.098 GB, free: 129.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002271/1.115, allocations: 0.99 MB / 1.099 GB, free: 128.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/1.115, allocations: 4 kB / 1.099 GB, free: 128.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.00757/1.122, allocations: 2.993 MB / 1.102 GB, free: 125.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002079/1.123, allocations: 381.5 kB / 1.102 GB, free: 125.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.57e-05/1.123, allocations: 11.95 kB / 1.102 GB, free: 125.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005365/1.128, allocations: 1.394 MB / 1.104 GB, free: 123.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00151/1.13, allocations: 339.5 kB / 1.104 GB, free: 123.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01157/1.141, allocations: 6.073 MB / 1.11 GB, free: 117.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004039/1.145, allocations: 375.9 kB / 1.11 GB, free: 117 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002929/1.146, allocations: 75.95 kB / 1.11 GB, free: 116.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/1.146, allocations: 4 kB / 1.11 GB, free: 116.9 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005401/1.151, allocations: 2.355 MB / 1.113 GB, free: 114.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/1.151, allocations: 12 kB / 1.113 GB, free: 114.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002506/1.154, allocations: 0.6876 MB / 1.113 GB, free: 113.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00165/1.155, allocations: 391.4 kB / 1.114 GB, free: 113.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01137/1.167, allocations: 6.779 MB / 1.12 GB, free: 106.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003503/1.17, allocations: 331.4 kB / 1.121 GB, free: 106.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000218/1.17, allocations: 75.95 kB / 1.121 GB, free: 106 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.001573/1.172, allocations: 0.6147 MB / 1.121 GB, free: 105.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005387/1.173, allocations: 233 kB / 1.121 GB, free: 105.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005527/1.178, allocations: 2.503 MB / 1.124 GB, free: 102.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.438e-05/1.178, allocations: 16 kB / 1.124 GB, free: 102.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.299e-06/1.178, allocations: 0 / 1.124 GB, free: 102.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004403/1.183, allocations: 2.349 MB / 1.126 GB, free: 100.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01087/1.193, allocations: 5.102 MB / 1.131 GB, free: 95.05 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.265e-06/1.194, allocations: 3.938 kB / 1.131 GB, free: 95.05 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00121/1.195, allocations: 267.8 kB / 1.131 GB, free: 94.79 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002759/1.197, allocations: 0.7907 MB / 1.132 GB, free: 94 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001036/1.198, allocations: 43.91 kB / 1.132 GB, free: 93.95 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002092/1.2, allocations: 1.469 MB / 1.134 GB, free: 92.46 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/1.2, allocations: 0 / 1.134 GB, free: 92.46 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007601/1.207, allocations: 3.528 MB / 1.137 GB, free: 88.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001749/1.209, allocations: 0.5251 MB / 1.138 GB, free: 88.35 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003149/1.209, allocations: 27.95 kB / 1.138 GB, free: 88.32 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002073/1.212, allocations: 311.5 kB / 1.138 GB, free: 88.02 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001333/1.212, allocations: 76.88 kB / 1.138 GB, free: 87.95 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001062/1.212, allocations: 51.97 kB / 1.138 GB, free: 87.89 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00205/1.214, allocations: 1.391 MB / 1.139 GB, free: 86.49 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/1.214, allocations: 0 / 1.139 GB, free: 86.49 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003704/1.218, allocations: 1.147 MB / 1.141 GB, free: 85.37 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.0009443/1.219, allocations: 0.5147 MB / 1.141 GB, free: 84.92 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.008479/1.227, allocations: 3.812 MB / 1.145 GB, free: 81.07 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/1.227, allocations: 0 / 1.145 GB, free: 81.07 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00239/1.229, allocations: 0.9987 MB / 1.146 GB, free: 80.07 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006051/1.236, allocations: 1.141 MB / 1.147 GB, free: 78.94 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01151/1.247, allocations: 5.828 MB / 1.153 GB, free: 73.07 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000917/1.248, allocations: 1.618 MB / 1.154 GB, free: 71.42 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007632/1.249, allocations: 195.3 kB / 1.154 GB, free: 71.23 MB / 0.698 GB Notification: Performance of SimCode: time 1.382e-06/1.249, allocations: 0 / 1.154 GB, free: 71.23 MB / 0.698 GB Notification: Performance of Templates: time 0.06828/1.317, allocations: 61.52 MB / 1.214 GB, free: 9.969 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.makefile (rm -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.sim & ./Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.pipe 2>&1)