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.48/1.48, allocations: 251.5 MB / 267.4 MB, free: 11.05 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.001096/0.001096, allocations: 168.9 kB / 326.5 MB, free: 2.672 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.081/2.081, allocations: 205 MB / 0.5766 GB, free: 20.95 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.0009316/0.0009316, allocations: 97.22 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003553/0.0003553, allocations: 8.781 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.238, allocations: 105.4 MB / 0.8967 GB, free: 68.15 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating): time 0.0878/0.3258, allocations: 114.4 MB / 1.008 GB, free: 1.359 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.03874/0.3646, allocations: 26.52 MB / 1.034 GB, free: 6.781 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007315/0.372, allocations: 123.1 kB / 1.034 GB, free: 6.66 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.005801/0.3779, allocations: 1.045 MB / 1.035 GB, free: 5.609 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01288/0.3908, allocations: 3.298 MB / 1.039 GB, free: 2.301 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.008367/0.3992, allocations: 2.935 MB / 1.042 GB, free: 15.39 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01309/0.4123, allocations: 9.377 MB / 1.051 GB, free: 5.992 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005407/0.4177, allocations: 2.251 MB / 1.053 GB, free: 3.68 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007487/0.4252, allocations: 2.593 MB / 1.055 GB, free: 1.074 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.6422/1.067, allocations: 2.039 MB / 1.057 GB, free: 28.51 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001611/1.069, allocations: 104.4 kB / 1.058 GB, free: 28.51 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006465/1.076, allocations: 1.377 MB / 1.059 GB, free: 28.51 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.00225/1.078, allocations: 490.9 kB / 1.059 GB, free: 28.51 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.005617/1.084, allocations: 1.414 MB / 1.061 GB, free: 28.51 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.009627/1.093, allocations: 3.939 MB / 1.065 GB, free: 28.4 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/1.093, allocations: 4.344 kB / 1.065 GB, free: 28.4 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.315e-06/1.093, allocations: 1.094 kB / 1.065 GB, free: 28.4 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002853/1.094, allocations: 0 / 1.065 GB, free: 28.4 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.01124/1.105, allocations: 2.838 MB / 1.067 GB, free: 27.07 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.909e-05/1.105, allocations: 10.77 kB / 1.067 GB, free: 27.07 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007532/1.112, allocations: 1.098 MB / 1.068 GB, free: 26.88 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007977/1.121, allocations: 2.466 MB / 1.071 GB, free: 26.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003481/1.121, allocations: 147.2 kB / 1.071 GB, free: 26.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001207/1.122, allocations: 191.9 kB / 1.071 GB, free: 26.3 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01078/1.133, allocations: 2.521 MB / 1.074 GB, free: 25.98 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001376/1.133, allocations: 2.531 kB / 1.074 GB, free: 25.98 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007589/1.134, allocations: 82.34 kB / 1.074 GB, free: 25.98 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001223/1.134, allocations: 51.31 kB / 1.074 GB, free: 25.98 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008752/1.143, allocations: 2.385 MB / 1.076 GB, free: 25.93 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.02611/1.169, allocations: 12.11 MB / 1.088 GB, free: 19.87 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009057/1.178, allocations: 2.343 MB / 1.09 GB, free: 19.78 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00253/1.181, allocations: 0.9428 MB / 1.091 GB, free: 19.74 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001162/1.182, allocations: 1.38 MB / 1.092 GB, free: 18.24 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.976e-05/1.182, allocations: 46.09 kB / 1.093 GB, free: 18.2 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00238/1.184, allocations: 225.9 kB / 1.093 GB, free: 18.13 MB / 0.698 GB Notification: Performance of pre-optimization done (n=105): time 1.112e-05/1.184, allocations: 1.438 kB / 1.093 GB, free: 18.13 MB / 0.698 GB Notification: Performance of matching and sorting (n=111): time 0.0367/1.221, allocations: 9.01 MB / 1.102 GB, free: 16.99 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001436/1.221, allocations: 165.3 kB / 1.102 GB, free: 16.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008683/1.23, allocations: 2.082 MB / 1.104 GB, free: 16.57 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0008453/1.231, allocations: 51.05 kB / 1.104 GB, free: 16.54 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002042/1.233, allocations: 1.197 MB / 1.105 GB, free: 16.13 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001159/1.234, allocations: 386.1 kB / 1.105 GB, free: 15.88 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007439/1.235, allocations: 131.1 kB / 1.105 GB, free: 15.86 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001016/1.235, allocations: 301.1 kB / 1.106 GB, free: 15.57 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004116/1.239, allocations: 0.9138 MB / 1.107 GB, free: 15.54 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003919/1.243, allocations: 1.32 MB / 1.108 GB, free: 15.09 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0055/1.249, allocations: 2.057 MB / 1.11 GB, free: 14.69 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.046e-05/1.249, allocations: 4.656 kB / 1.11 GB, free: 14.69 MB / 0.698 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.009649/1.258, allocations: 3.043 MB / 1.113 GB, free: 14.45 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003253/1.259, allocations: 375.5 kB / 1.113 GB, free: 14.01 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.402e-05/1.259, allocations: 16.3 kB / 1.113 GB, free: 14.01 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006199/1.265, allocations: 1.573 MB / 1.115 GB, free: 13.93 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001654/1.267, allocations: 335.2 kB / 1.115 GB, free: 13.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01311/1.28, allocations: 6.075 MB / 1.121 GB, free: 11.41 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004351/1.284, allocations: 380.8 kB / 1.121 GB, free: 11.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005942/1.285, allocations: 76.52 kB / 1.122 GB, free: 11.26 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/1.285, allocations: 1.938 kB / 1.122 GB, free: 11.26 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007135/1.292, allocations: 2.374 MB / 1.124 GB, free: 10.84 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.014e-05/1.292, allocations: 10.41 kB / 1.124 GB, free: 10.84 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002643/1.295, allocations: 0.6823 MB / 1.125 GB, free: 10.63 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001878/1.297, allocations: 393 kB / 1.125 GB, free: 10.55 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01299/1.31, allocations: 6.781 MB / 1.132 GB, free: 6.996 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003971/1.314, allocations: 333.8 kB / 1.132 GB, free: 6.879 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005407/1.314, allocations: 71.34 kB / 1.132 GB, free: 6.871 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,16), (3,36)} Notification: Performance of prepare postOptimizeDAE: time 0.002338/1.317, allocations: 0.6219 MB / 1.132 GB, free: 6.656 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001108/1.318, allocations: 228.8 kB / 1.133 GB, free: 6.535 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007194/1.325, allocations: 2.512 MB / 1.135 GB, free: 5.945 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.786e-05/1.325, allocations: 15.52 kB / 1.135 GB, free: 5.941 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/1.325, allocations: 0 / 1.135 GB, free: 5.941 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00504/1.33, allocations: 2.354 MB / 1.137 GB, free: 5.145 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0134/1.344, allocations: 5.117 MB / 1.142 GB, free: 3.59 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.126e-05/1.344, allocations: 0 / 1.142 GB, free: 3.59 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001262/1.345, allocations: 265.9 kB / 1.143 GB, free: 3.527 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002818/1.348, allocations: 0.7917 MB / 1.144 GB, free: 3.043 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001512/1.348, allocations: 38.97 kB / 1.144 GB, free: 3.023 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002255/1.35, allocations: 1.469 MB / 1.145 GB, free: 1.84 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/1.35, allocations: 4 kB / 1.145 GB, free: 1.836 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008602/1.359, allocations: 3.548 MB / 1.148 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00183/1.361, allocations: 0.4889 MB / 1.149 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009982/1.362, allocations: 24.88 kB / 1.149 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003094/1.365, allocations: 311 kB / 1.149 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000197/1.365, allocations: 76.27 kB / 1.149 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001596/1.365, allocations: 46.59 kB / 1.149 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.003635/1.369, allocations: 1.414 MB / 1.151 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.4e-07/1.369, allocations: 0 / 1.151 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.007747/1.377, allocations: 1.146 MB / 1.152 GB, free: 12.41 MB / 0.7136 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,37)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002248/1.379, allocations: 0.5262 MB / 1.152 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.01256/1.392, allocations: 3.85 MB / 1.156 GB, free: 8.586 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-05/1.392, allocations: 0 / 1.156 GB, free: 8.586 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.003246/1.395, allocations: 1 MB / 1.157 GB, free: 7.617 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009367/1.404, allocations: 1.154 MB / 1.158 GB, free: 6.484 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01661/1.421, allocations: 5.94 MB / 1.164 GB, free: 0.5312 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002312/1.423, allocations: 1.618 MB / 1.166 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00114/1.424, allocations: 183.4 kB / 1.166 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of SimCode: time 1.993e-06/1.425, allocations: 0 / 1.166 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of Templates: time 0.0965/1.521, allocations: 61.49 MB / 1.226 GB, free: 1.672 MB / 0.7761 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)