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.448/1.448, allocations: 251.5 MB / 267.4 MB, free: 11.07 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.001323/0.001323, allocations: 176.1 kB / 326.5 MB, free: 2.699 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.165/2.165, allocations: 205 MB / 0.5766 GB, free: 20.96 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.001071/0.001071, allocations: 91.98 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003331/0.0003331, allocations: 6.625 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2565/0.2568, allocations: 105.4 MB / 0.8967 GB, free: 68.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling): time 0.1001/0.3569, allocations: 114.5 MB / 1.009 GB, free: 1.324 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.04173/0.3987, allocations: 26.5 MB / 1.034 GB, free: 6.766 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006313/0.405, allocations: 119.2 kB / 1.035 GB, free: 6.648 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.005283/0.4104, allocations: 1.041 MB / 1.036 GB, free: 5.602 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01336/0.4238, allocations: 3.308 MB / 1.039 GB, free: 2.281 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.008758/0.4325, allocations: 2.927 MB / 1.042 GB, free: 15.38 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01351/0.4461, allocations: 9.386 MB / 1.051 GB, free: 5.973 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004534/0.4506, allocations: 2.251 MB / 1.053 GB, free: 3.66 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007562/0.4582, allocations: 2.59 MB / 1.056 GB, free: 1.059 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.64/1.098, allocations: 2.045 MB / 1.058 GB, free: 28.57 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0009061/1.099, allocations: 100.6 kB / 1.058 GB, free: 28.57 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004737/1.104, allocations: 1.381 MB / 1.059 GB, free: 28.57 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0007988/1.105, allocations: 494.6 kB / 1.059 GB, free: 28.57 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.002872/1.108, allocations: 1.407 MB / 1.061 GB, free: 28.57 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.007399/1.115, allocations: 3.944 MB / 1.065 GB, free: 28.46 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/1.115, allocations: 1.5 kB / 1.065 GB, free: 28.46 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.507e-06/1.115, allocations: 0.875 kB / 1.065 GB, free: 28.46 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001782/1.115, allocations: 3.688 kB / 1.065 GB, free: 28.46 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.008673/1.124, allocations: 2.836 MB / 1.067 GB, free: 27.12 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/1.124, allocations: 8.875 kB / 1.067 GB, free: 27.12 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006573/1.131, allocations: 1.103 MB / 1.069 GB, free: 26.95 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006012/1.137, allocations: 2.46 MB / 1.071 GB, free: 26.37 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001857/1.137, allocations: 154.5 kB / 1.071 GB, free: 26.36 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004752/1.137, allocations: 192.1 kB / 1.071 GB, free: 26.36 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006903/1.144, allocations: 2.512 MB / 1.074 GB, free: 26.05 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.05e-05/1.144, allocations: 4.188 kB / 1.074 GB, free: 26.05 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002155/1.145, allocations: 82.16 kB / 1.074 GB, free: 26.04 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.577e-05/1.145, allocations: 47.88 kB / 1.074 GB, free: 26.04 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006399/1.151, allocations: 2.383 MB / 1.076 GB, free: 25.99 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.02273/1.174, allocations: 12.12 MB / 1.088 GB, free: 19.93 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006562/1.181, allocations: 2.114 MB / 1.09 GB, free: 19.85 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002118/1.183, allocations: 0.9358 MB / 1.091 GB, free: 19.82 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001016/1.184, allocations: 1.378 MB / 1.092 GB, free: 18.31 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.763e-05/1.184, allocations: 42.97 kB / 1.092 GB, free: 18.27 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001969/1.186, allocations: 228.8 kB / 1.093 GB, free: 18.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=105): time 3.978e-06/1.186, allocations: 0 / 1.093 GB, free: 18.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=111): time 0.032/1.218, allocations: 9.008 MB / 1.101 GB, free: 17.06 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.124e-05/1.218, allocations: 169 kB / 1.102 GB, free: 16.88 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003541/1.221, allocations: 2.084 MB / 1.104 GB, free: 16.64 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002264/1.222, allocations: 47.92 kB / 1.104 GB, free: 16.61 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00091/1.223, allocations: 1.196 MB / 1.105 GB, free: 16.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003719/1.223, allocations: 387.2 kB / 1.105 GB, free: 15.95 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000187/1.223, allocations: 126.6 kB / 1.105 GB, free: 15.94 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.277e-05/1.223, allocations: 301.1 kB / 1.106 GB, free: 15.64 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002543/1.226, allocations: 0.9102 MB / 1.106 GB, free: 15.62 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003256/1.229, allocations: 1.325 MB / 1.108 GB, free: 15.16 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004599/1.234, allocations: 2.057 MB / 1.11 GB, free: 14.76 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.729e-06/1.234, allocations: 2.562 kB / 1.11 GB, free: 14.76 MB / 0.698 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.00802/1.242, allocations: 3.04 MB / 1.113 GB, free: 14.52 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002309/1.242, allocations: 373.2 kB / 1.113 GB, free: 14.09 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.951e-05/1.242, allocations: 15.56 kB / 1.113 GB, free: 14.09 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005805/1.248, allocations: 1.579 MB / 1.115 GB, free: 14.01 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001573/1.249, allocations: 337.7 kB / 1.115 GB, free: 14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01192/1.261, allocations: 6.089 MB / 1.121 GB, free: 11.58 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003827/1.265, allocations: 379.6 kB / 1.121 GB, free: 11.45 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002913/1.265, allocations: 81.98 kB / 1.121 GB, free: 11.43 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/1.266, allocations: 3.906 kB / 1.121 GB, free: 11.43 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005671/1.271, allocations: 2.362 MB / 1.124 GB, free: 11.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.885e-05/1.271, allocations: 14.16 kB / 1.124 GB, free: 11.01 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002514/1.274, allocations: 0.6864 MB / 1.124 GB, free: 10.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001602/1.275, allocations: 392.6 kB / 1.125 GB, free: 10.73 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01242/1.288, allocations: 6.781 MB / 1.131 GB, free: 7.168 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003999/1.292, allocations: 331.2 kB / 1.132 GB, free: 7.051 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005273/1.292, allocations: 74.94 kB / 1.132 GB, free: 7.043 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.002352/1.295, allocations: 0.6158 MB / 1.132 GB, free: 6.832 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001098/1.296, allocations: 234.7 kB / 1.133 GB, free: 6.707 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007123/1.303, allocations: 2.504 MB / 1.135 GB, free: 6.121 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.549e-05/1.303, allocations: 15.67 kB / 1.135 GB, free: 6.117 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/1.303, allocations: 4 kB / 1.135 GB, free: 6.113 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004942/1.308, allocations: 2.357 MB / 1.137 GB, free: 5.312 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01352/1.322, allocations: 5.119 MB / 1.142 GB, free: 3.758 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.367e-06/1.322, allocations: 3.812 kB / 1.142 GB, free: 3.758 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001213/1.323, allocations: 250.1 kB / 1.143 GB, free: 3.703 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002809/1.326, allocations: 0.8009 MB / 1.143 GB, free: 3.348 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001223/1.326, allocations: 38.22 kB / 1.143 GB, free: 3.328 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002219/1.328, allocations: 1.479 MB / 1.145 GB, free: 2.137 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/1.328, allocations: 2.812 kB / 1.145 GB, free: 2.137 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008093/1.336, allocations: 3.542 MB / 1.148 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001748/1.338, allocations: 496.3 kB / 1.149 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009409/1.339, allocations: 27.38 kB / 1.149 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002953/1.342, allocations: 302.5 kB / 1.149 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001893/1.342, allocations: 74.67 kB / 1.149 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001571/1.342, allocations: 58.27 kB / 1.149 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.003685/1.346, allocations: 1.412 MB / 1.151 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/1.346, allocations: 0 / 1.151 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.006959/1.353, allocations: 1.143 MB / 1.152 GB, free: 12.71 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.001729/1.355, allocations: 0.5404 MB / 1.152 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.009964/1.365, allocations: 3.843 MB / 1.156 GB, free: 8.941 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.805e-06/1.365, allocations: 1.062 kB / 1.156 GB, free: 8.941 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002578/1.367, allocations: 0.995 MB / 1.157 GB, free: 7.969 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007411/1.375, allocations: 1.152 MB / 1.158 GB, free: 6.84 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01466/1.389, allocations: 5.941 MB / 1.164 GB, free: 0.8906 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002062/1.391, allocations: 1.618 MB / 1.165 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001069/1.393, allocations: 185.5 kB / 1.166 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of SimCode: time 1.332e-06/1.393, allocations: 0 / 1.166 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of Templates: time 0.08523/1.478, allocations: 61.49 MB / 1.226 GB, free: 2.031 MB / 0.7761 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)