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_Cooling.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_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling") translateModel(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.455/1.455, allocations: 252 MB / 268 MB, free: 10.86 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.001089/0.001089, allocations: 186.7 kB / 327.6 MB, free: 2.094 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.119/2.119, allocations: 205.4 MB / 0.5786 GB, free: 20.16 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.0009114/0.000911, allocations: 81.69 kB / 0.6832 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003661/0.0003662, allocations: 10.06 kB / 0.7976 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.259/0.2593, allocations: 106.3 MB / 0.9014 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling): time 0.0942/0.3536, allocations: 113 MB / 1.012 GB, free: 14.21 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.03717/0.3908, allocations: 26.25 MB / 1.037 GB, free: 3.906 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005713/0.3966, allocations: 115.1 kB / 1.038 GB, free: 3.793 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.004283/0.4009, allocations: 1.045 MB / 1.039 GB, free: 2.742 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01166/0.4126, allocations: 3.298 MB / 1.042 GB, free: 15.43 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.007698/0.4203, allocations: 2.945 MB / 1.045 GB, free: 12.52 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01188/0.4322, allocations: 9.38 MB / 1.054 GB, free: 3.113 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004236/0.4365, allocations: 2.275 MB / 1.056 GB, free: 0.7773 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.5754/1.012, allocations: 2.591 MB / 1.059 GB, free: 26.82 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005535/1.018, allocations: 2.037 MB / 1.061 GB, free: 26.82 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0008902/1.018, allocations: 101 kB / 1.061 GB, free: 26.82 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005307/1.024, allocations: 1.383 MB / 1.062 GB, free: 26.82 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001028/1.025, allocations: 493.6 kB / 1.062 GB, free: 26.82 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.004077/1.029, allocations: 1.434 MB / 1.064 GB, free: 26.54 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01067/1.04, allocations: 3.939 MB / 1.068 GB, free: 26.43 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.142e-05/1.04, allocations: 0 / 1.068 GB, free: 26.43 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.629e-06/1.04, allocations: 4.5 kB / 1.068 GB, free: 26.43 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002679/1.04, allocations: 0.5625 kB / 1.068 GB, free: 26.43 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.01057/1.051, allocations: 2.831 MB / 1.07 GB, free: 25.06 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.467e-05/1.051, allocations: 10.81 kB / 1.07 GB, free: 25.06 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006864/1.057, allocations: 1.103 MB / 1.072 GB, free: 24.86 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00645/1.064, allocations: 2.459 MB / 1.074 GB, free: 24.28 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001905/1.064, allocations: 154.4 kB / 1.074 GB, free: 24.27 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000617/1.065, allocations: 201.1 kB / 1.074 GB, free: 24.27 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007015/1.072, allocations: 2.513 MB / 1.077 GB, free: 23.95 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.412e-05/1.072, allocations: 5.75 kB / 1.077 GB, free: 23.95 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002235/1.072, allocations: 77.12 kB / 1.077 GB, free: 23.95 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.321e-05/1.072, allocations: 50.16 kB / 1.077 GB, free: 23.95 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007249/1.08, allocations: 2.385 MB / 1.079 GB, free: 23.89 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.02114/1.101, allocations: 12.11 MB / 1.091 GB, free: 17.84 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006478/1.107, allocations: 2.11 MB / 1.093 GB, free: 17.76 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002265/1.11, allocations: 0.943 MB / 1.094 GB, free: 17.72 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001059/1.111, allocations: 1.375 MB / 1.095 GB, free: 16.22 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.767e-05/1.111, allocations: 51.91 kB / 1.095 GB, free: 16.18 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002209/1.113, allocations: 229.6 kB / 1.096 GB, free: 16.11 MB / 0.698 GB Notification: Performance of pre-optimization done (n=105): time 5.73e-06/1.113, allocations: 0 / 1.096 GB, free: 16.11 MB / 0.698 GB Notification: Performance of matching and sorting (n=111): time 0.03435/1.147, allocations: 9.01 MB / 1.104 GB, free: 14.97 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.542e-05/1.147, allocations: 166.6 kB / 1.105 GB, free: 14.78 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003988/1.151, allocations: 2.084 MB / 1.107 GB, free: 14.55 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003898/1.152, allocations: 51.55 kB / 1.107 GB, free: 14.52 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00122/1.153, allocations: 1.195 MB / 1.108 GB, free: 14.11 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000519/1.154, allocations: 387.6 kB / 1.108 GB, free: 13.86 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/1.154, allocations: 26.25 kB / 1.108 GB, free: 13.86 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001203/1.154, allocations: 366.9 kB / 1.109 GB, free: 13.55 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002753/1.157, allocations: 0.907 MB / 1.109 GB, free: 13.53 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003266/1.16, allocations: 1.323 MB / 1.111 GB, free: 13.07 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004763/1.165, allocations: 2.062 MB / 1.113 GB, free: 12.68 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.33e-05/1.165, allocations: 3.344 kB / 1.113 GB, free: 12.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.008739/1.173, allocations: 3.033 MB / 1.116 GB, free: 12.33 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002762/1.174, allocations: 376.9 kB / 1.116 GB, free: 11.88 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.589e-05/1.174, allocations: 9.469 kB / 1.116 GB, free: 11.88 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006049/1.18, allocations: 1.587 MB / 1.118 GB, free: 11.44 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001653/1.182, allocations: 333.2 kB / 1.118 GB, free: 11.37 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01228/1.194, allocations: 6.083 MB / 1.124 GB, free: 8.652 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004038/1.198, allocations: 378.9 kB / 1.124 GB, free: 8.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003721/1.198, allocations: 73.42 kB / 1.124 GB, free: 8.508 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/1.198, allocations: 2.594 kB / 1.124 GB, free: 8.508 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005801/1.204, allocations: 2.371 MB / 1.127 GB, free: 8.086 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.171e-05/1.204, allocations: 12.78 kB / 1.127 GB, free: 8.082 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00259/1.207, allocations: 0.6872 MB / 1.127 GB, free: 7.875 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001746/1.209, allocations: 396.1 kB / 1.128 GB, free: 7.797 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01197/1.221, allocations: 6.773 MB / 1.134 GB, free: 4.238 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004034/1.225, allocations: 331.5 kB / 1.135 GB, free: 4.121 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003705/1.225, allocations: 73.58 kB / 1.135 GB, free: 4.109 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.001918/1.227, allocations: 0.618 MB / 1.135 GB, free: 3.898 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006734/1.228, allocations: 231 kB / 1.136 GB, free: 3.777 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006016/1.234, allocations: 2.515 MB / 1.138 GB, free: 3.184 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.992e-05/1.234, allocations: 17.23 kB / 1.138 GB, free: 3.18 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/1.234, allocations: 3.938 kB / 1.138 GB, free: 3.176 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004728/1.238, allocations: 2.349 MB / 1.14 GB, free: 2.375 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01219/1.251, allocations: 5.115 MB / 1.145 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.969e-06/1.251, allocations: 0 / 1.145 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0013/1.252, allocations: 269 kB / 1.146 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002991/1.255, allocations: 0.7919 MB / 1.146 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001625/1.255, allocations: 36.78 kB / 1.146 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002486/1.258, allocations: 1.476 MB / 1.148 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/1.258, allocations: 6.625 kB / 1.148 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008948/1.267, allocations: 3.545 MB / 1.151 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001887/1.269, allocations: 0.5235 MB / 1.152 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003523/1.269, allocations: 25.19 kB / 1.152 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002186/1.271, allocations: 308.2 kB / 1.152 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001811/1.271, allocations: 74.52 kB / 1.152 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001407/1.272, allocations: 52.28 kB / 1.152 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002632/1.274, allocations: 1.41 MB / 1.154 GB, free: 9.219 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.01e-07/1.274, allocations: 0 / 1.154 GB, free: 9.219 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.005126/1.279, allocations: 1.146 MB / 1.155 GB, free: 8.16 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.001548/1.281, allocations: 0.5383 MB / 1.155 GB, free: 7.695 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.009937/1.291, allocations: 3.851 MB / 1.159 GB, free: 4.797 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/1.291, allocations: 256 / 1.159 GB, free: 4.797 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002706/1.294, allocations: 0.9925 MB / 1.16 GB, free: 4.082 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006936/1.301, allocations: 1.152 MB / 1.161 GB, free: 3.145 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01431/1.315, allocations: 6.011 MB / 1.167 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001378/1.316, allocations: 1.618 MB / 1.169 GB, free: 11.65 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001082/1.318, allocations: 183.4 kB / 1.169 GB, free: 11.47 MB / 0.7292 GB Notification: Performance of SimCode: time 1.362e-06/1.318, allocations: 4 kB / 1.169 GB, free: 11.47 MB / 0.7292 GB Notification: Performance of Templates: time 0.0889/1.406, allocations: 61.5 MB / 1.229 GB, free: 14.43 MB / 0.7917 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.makefile (rm -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.sim & ./Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe 2>&1)