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.439/1.439, allocations: 252 MB / 267.6 MB, free: 10.92 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.001174/0.001174, allocations: 187.3 kB / 327.3 MB, free: 2.223 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.911/1.911, allocations: 205.4 MB / 0.5783 GB, free: 20.29 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.0007918/0.0007917, allocations: 89.98 kB / 0.6829 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003435/0.0003435, allocations: 10.41 kB / 0.797 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2328/0.2332, allocations: 106.3 MB / 0.9008 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling): time 0.08512/0.3183, allocations: 106.7 MB / 1.005 GB, free: 4.887 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.03794/0.3563, allocations: 24.65 MB / 1.029 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005683/0.362, allocations: 119.1 kB / 1.029 GB, free: 12.09 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.004325/0.3664, allocations: 0.8575 MB / 1.03 GB, free: 11.22 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0114/0.3778, allocations: 2.752 MB / 1.033 GB, free: 8.461 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.007967/0.3858, allocations: 2.173 MB / 1.035 GB, free: 6.316 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01233/0.3982, allocations: 8.076 MB / 1.043 GB, free: 14.22 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004158/0.4024, allocations: 2.026 MB / 1.045 GB, free: 12.16 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00976/0.4122, allocations: 2.379 MB / 1.047 GB, free: 9.766 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00663/0.4189, allocations: 1.925 MB / 1.049 GB, free: 7.832 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001089/0.42, allocations: 100 kB / 1.049 GB, free: 7.734 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006359/0.4264, allocations: 1.037 MB / 1.05 GB, free: 6.695 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001109/0.4275, allocations: 473.7 kB / 1.051 GB, free: 6.23 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.002167/0.4297, allocations: 0.6212 MB / 1.051 GB, free: 5.602 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.006984/0.4367, allocations: 3.869 MB / 1.055 GB, free: 1.723 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.096e-06/0.4368, allocations: 0 / 1.055 GB, free: 1.723 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.198e-06/0.4368, allocations: 0 / 1.055 GB, free: 1.723 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001444/0.4369, allocations: 0 / 1.055 GB, free: 1.723 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.5474/0.9843, allocations: 2.863 MB / 1.058 GB, free: 149.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/0.9844, allocations: 9.719 kB / 1.058 GB, free: 149.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006748/0.9912, allocations: 1.101 MB / 1.059 GB, free: 149.5 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008072/0.9993, allocations: 2.372 MB / 1.061 GB, free: 149 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000151/0.9996, allocations: 144.9 kB / 1.061 GB, free: 149 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003952/1, allocations: 196.6 kB / 1.061 GB, free: 149 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007353/1.007, allocations: 2.508 MB / 1.064 GB, free: 148.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.702e-05/1.007, allocations: 7.375 kB / 1.064 GB, free: 148.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002237/1.008, allocations: 76.5 kB / 1.064 GB, free: 148.7 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-05/1.008, allocations: 51.97 kB / 1.064 GB, free: 148.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007278/1.015, allocations: 2.366 MB / 1.066 GB, free: 148.7 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.02121/1.036, allocations: 12.11 MB / 1.078 GB, free: 141.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006998/1.043, allocations: 2.097 MB / 1.08 GB, free: 140.7 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002414/1.046, allocations: 0.949 MB / 1.081 GB, free: 140.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001093/1.047, allocations: 1.384 MB / 1.082 GB, free: 138.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.592e-05/1.047, allocations: 44.22 kB / 1.083 GB, free: 138.6 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002066/1.049, allocations: 226.8 kB / 1.083 GB, free: 138.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=105): time 4.719e-06/1.049, allocations: 0 / 1.083 GB, free: 138.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=111): time 0.03524/1.084, allocations: 8.935 MB / 1.091 GB, free: 134.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.519e-05/1.084, allocations: 166.7 kB / 1.092 GB, free: 133.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003253/1.088, allocations: 2.061 MB / 1.094 GB, free: 132.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002595/1.088, allocations: 57.64 kB / 1.094 GB, free: 132.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008141/1.089, allocations: 1.19 MB / 1.095 GB, free: 131.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000393/1.089, allocations: 381.9 kB / 1.095 GB, free: 131.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.152e-05/1.089, allocations: 27.97 kB / 1.095 GB, free: 131.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001024/1.089, allocations: 365.8 kB / 1.096 GB, free: 131 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002215/1.092, allocations: 0.8918 MB / 1.096 GB, free: 130.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002331/1.094, allocations: 1.304 MB / 1.098 GB, free: 129.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002236/1.096, allocations: 0.9911 MB / 1.099 GB, free: 128.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/1.096, allocations: 0 / 1.099 GB, free: 128.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.007539/1.104, allocations: 2.994 MB / 1.102 GB, free: 125.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002004/1.104, allocations: 380 kB / 1.102 GB, free: 125.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/1.104, allocations: 14.98 kB / 1.102 GB, free: 125.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005423/1.109, allocations: 1.401 MB / 1.103 GB, free: 123.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001468/1.111, allocations: 334.2 kB / 1.104 GB, free: 123.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01168/1.123, allocations: 6.075 MB / 1.11 GB, free: 117.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003927/1.127, allocations: 375.4 kB / 1.11 GB, free: 116.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002823/1.127, allocations: 75.95 kB / 1.11 GB, free: 116.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/1.127, allocations: 8 kB / 1.11 GB, free: 116.8 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005458/1.132, allocations: 2.353 MB / 1.112 GB, free: 114.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.663e-05/1.132, allocations: 12 kB / 1.112 GB, free: 114.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002506/1.135, allocations: 0.681 MB / 1.113 GB, free: 113.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001741/1.137, allocations: 399.4 kB / 1.113 GB, free: 113.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01165/1.148, allocations: 6.778 MB / 1.12 GB, free: 106.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003548/1.152, allocations: 332.3 kB / 1.12 GB, free: 106 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003952/1.152, allocations: 71.95 kB / 1.12 GB, free: 105.9 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.00186/1.154, allocations: 0.614 MB / 1.121 GB, free: 105.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001024/1.155, allocations: 233 kB / 1.121 GB, free: 105.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007453/1.163, allocations: 2.507 MB / 1.124 GB, free: 102.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.53e-05/1.163, allocations: 12 kB / 1.124 GB, free: 102.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.143e-05/1.163, allocations: 0 / 1.124 GB, free: 102.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005054/1.168, allocations: 2.341 MB / 1.126 GB, free: 100.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01299/1.181, allocations: 5.102 MB / 1.131 GB, free: 94.97 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.295e-05/1.181, allocations: 4.094 kB / 1.131 GB, free: 94.97 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001248/1.182, allocations: 263.7 kB / 1.131 GB, free: 94.71 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002916/1.185, allocations: 0.8078 MB / 1.132 GB, free: 93.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002076/1.185, allocations: 36.08 kB / 1.132 GB, free: 93.87 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002406/1.188, allocations: 1.477 MB / 1.133 GB, free: 92.36 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/1.188, allocations: 4 kB / 1.133 GB, free: 92.36 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00828/1.196, allocations: 3.523 MB / 1.137 GB, free: 88.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001942/1.198, allocations: 0.5174 MB / 1.137 GB, free: 88.27 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000872/1.199, allocations: 31.95 kB / 1.137 GB, free: 88.23 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002984/1.202, allocations: 303.5 kB / 1.138 GB, free: 87.94 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001655/1.202, allocations: 80.81 kB / 1.138 GB, free: 87.86 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001387/1.202, allocations: 47.97 kB / 1.138 GB, free: 87.81 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002983/1.205, allocations: 1.391 MB / 1.139 GB, free: 86.41 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.4e-07/1.205, allocations: 0 / 1.139 GB, free: 86.41 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.006383/1.212, allocations: 1.151 MB / 1.14 GB, free: 85.29 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.001537/1.213, allocations: 0.5025 MB / 1.141 GB, free: 84.84 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00958/1.223, allocations: 3.819 MB / 1.145 GB, free: 80.99 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.307e-05/1.223, allocations: 4 kB / 1.145 GB, free: 80.99 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002493/1.226, allocations: 0.9918 MB / 1.146 GB, free: 79.99 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007369/1.233, allocations: 1.151 MB / 1.147 GB, free: 78.86 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01409/1.247, allocations: 5.814 MB / 1.152 GB, free: 73 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001664/1.249, allocations: 1.622 MB / 1.154 GB, free: 71.34 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000992/1.25, allocations: 191.3 kB / 1.154 GB, free: 71.16 MB / 0.698 GB Notification: Performance of SimCode: time 1.482e-06/1.25, allocations: 0 / 1.154 GB, free: 71.16 MB / 0.698 GB Notification: Performance of Templates: time 0.07169/1.322, allocations: 61.53 MB / 1.214 GB, free: 9.887 MB / 0.698 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)