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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 94.66 kB / 15.06 MB, free: 1.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00122/0.001221, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.765/1.765, allocations: 205.4 MB / 222.1 MB, free: 5.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.642/1.642, allocations: 252 MB / 0.5102 GB, free: 4.746 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006105/0.0006106, allocations: 12 kB / 0.6243 GB, free: 1.102 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6891/0.6898, allocations: 106.3 MB / 0.7281 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating): time 0.104/0.7938, allocations: 106.7 MB / 0.8323 GB, free: 448 kB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.03788/0.8318, allocations: 24.65 MB / 0.8564 GB, free: 7.746 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006389/0.8382, allocations: 115.1 kB / 0.8565 GB, free: 7.633 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004383/0.8426, allocations: 0.8497 MB / 0.8573 GB, free: 6.777 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01202/0.8547, allocations: 2.767 MB / 0.86 GB, free: 4 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.008179/0.8629, allocations: 2.169 MB / 0.8621 GB, free: 1.859 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01334/0.8762, allocations: 8.083 MB / 0.87 GB, free: 9.754 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004581/0.8809, allocations: 2.014 MB / 0.872 GB, free: 7.703 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007284/0.8882, allocations: 2.379 MB / 0.8743 GB, free: 5.312 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005254/0.8935, allocations: 1.925 MB / 0.8762 GB, free: 3.379 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0009731/0.8945, allocations: 104 kB / 0.8763 GB, free: 3.277 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004948/0.8995, allocations: 1.037 MB / 0.8773 GB, free: 2.238 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0008541/0.9003, allocations: 469.7 kB / 0.8778 GB, free: 1.777 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001699/0.902, allocations: 0.6251 MB / 0.8784 GB, free: 1.145 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.006547/0.9086, allocations: 3.869 MB / 0.8821 GB, free: 13.27 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 7.824e-06/0.9087, allocations: 0 / 0.8821 GB, free: 13.27 MB / 0.7012 GB Notification: Performance of FrontEnd: time 3.016e-06/0.9087, allocations: 3.938 kB / 0.8821 GB, free: 13.26 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0001538/0.9088, allocations: 0 / 0.8821 GB, free: 13.26 MB / 0.7012 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.007035/0.9159, allocations: 2.87 MB / 0.8849 GB, free: 10.33 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/0.9159, allocations: 8.031 kB / 0.885 GB, free: 10.32 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005333/0.9213, allocations: 1.105 MB / 0.886 GB, free: 9.211 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005507/0.9268, allocations: 2.373 MB / 0.8883 GB, free: 6.77 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001184/0.927, allocations: 143.7 kB / 0.8885 GB, free: 6.629 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000318/0.9273, allocations: 192 kB / 0.8887 GB, free: 6.441 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005732/0.933, allocations: 2.504 MB / 0.8911 GB, free: 3.848 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.511e-05/0.9331, allocations: 3.938 kB / 0.8911 GB, free: 3.844 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001975/0.9333, allocations: 80 kB / 0.8912 GB, free: 3.766 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.189e-05/0.9334, allocations: 51.98 kB / 0.8912 GB, free: 3.715 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005858/0.9393, allocations: 2.367 MB / 0.8936 GB, free: 1.344 MB / 0.7012 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.02016/0.9594, allocations: 12.12 MB / 0.9054 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007472/0.967, allocations: 2.327 MB / 0.9077 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002229/0.9692, allocations: 0.9465 MB / 0.9086 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6288/1.598, allocations: 1.37 MB / 0.9099 GB, free: 173.2 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.737e-05/1.598, allocations: 44.77 kB / 0.91 GB, free: 173.2 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002625/1.601, allocations: 225.2 kB / 0.9102 GB, free: 173.2 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=105): time 5.36e-06/1.601, allocations: 0.6562 kB / 0.9102 GB, free: 173.2 MB / 0.7169 GB Notification: Performance of matching and sorting (n=111): time 0.0393/1.64, allocations: 8.939 MB / 0.9189 GB, free: 171.7 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001094/1.64, allocations: 166.2 kB / 0.9191 GB, free: 171.5 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005782/1.646, allocations: 2.063 MB / 0.9211 GB, free: 170.7 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002295/1.646, allocations: 53.64 kB / 0.9211 GB, free: 170.7 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001144/1.647, allocations: 1.194 MB / 0.9223 GB, free: 169.8 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004366/1.648, allocations: 388.2 kB / 0.9227 GB, free: 169.5 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/1.648, allocations: 29.88 kB / 0.9227 GB, free: 169.5 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001044/1.648, allocations: 359.9 kB / 0.923 GB, free: 169.1 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002165/1.65, allocations: 0.9002 MB / 0.9239 GB, free: 168.9 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002173/1.653, allocations: 1.304 MB / 0.9252 GB, free: 168.1 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002035/1.655, allocations: 0.9797 MB / 0.9262 GB, free: 167.8 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/1.655, allocations: 3.938 kB / 0.9262 GB, free: 167.8 MB / 0.7169 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.007077/1.662, allocations: 2.995 MB / 0.9291 GB, free: 166.3 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001912/1.662, allocations: 378.3 kB / 0.9294 GB, free: 165.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/1.662, allocations: 11.88 kB / 0.9295 GB, free: 165.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004923/1.667, allocations: 1.407 MB / 0.9308 GB, free: 165.3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001401/1.668, allocations: 333.3 kB / 0.9311 GB, free: 165.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01149/1.68, allocations: 6.068 MB / 0.9371 GB, free: 160.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003561/1.683, allocations: 381.6 kB / 0.9374 GB, free: 159.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002557/1.684, allocations: 75.95 kB / 0.9375 GB, free: 159.6 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/1.684, allocations: 4 kB / 0.9375 GB, free: 159.6 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005342/1.689, allocations: 2.359 MB / 0.9398 GB, free: 157.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.728e-05/1.689, allocations: 8 kB / 0.9398 GB, free: 157.3 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002254/1.691, allocations: 0.6871 MB / 0.9405 GB, free: 156.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001507/1.693, allocations: 391.4 kB / 0.9409 GB, free: 156.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01045/1.703, allocations: 6.774 MB / 0.9475 GB, free: 149.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003148/1.706, allocations: 335.4 kB / 0.9478 GB, free: 148.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002131/1.707, allocations: 75.95 kB / 0.9479 GB, free: 148.8 MB / 0.7169 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.001428/1.708, allocations: 0.6138 MB / 0.9485 GB, free: 148.2 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004928/1.709, allocations: 234.8 kB / 0.9487 GB, free: 147.9 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00506/1.714, allocations: 2.508 MB / 0.9512 GB, free: 145.4 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.98e-05/1.714, allocations: 12 kB / 0.9512 GB, free: 145.4 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/1.714, allocations: 4 kB / 0.9512 GB, free: 145.4 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003929/1.718, allocations: 2.341 MB / 0.9535 GB, free: 143 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01013/1.728, allocations: 5.101 MB / 0.9584 GB, free: 137.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/1.728, allocations: 3.953 kB / 0.9584 GB, free: 137.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001131/1.729, allocations: 267.8 kB / 0.9587 GB, free: 137.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002436/1.731, allocations: 0.7905 MB / 0.9595 GB, free: 136.8 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001014/1.732, allocations: 43.97 kB / 0.9595 GB, free: 136.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001953/1.733, allocations: 1.469 MB / 0.9609 GB, free: 135.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/1.734, allocations: 4.031 kB / 0.9609 GB, free: 135.2 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00699/1.74, allocations: 3.522 MB / 0.9644 GB, free: 131.7 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001418/1.742, allocations: 0.529 MB / 0.9649 GB, free: 131.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000275/1.742, allocations: 20 kB / 0.9649 GB, free: 131.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001782/1.744, allocations: 322.8 kB / 0.9652 GB, free: 130.8 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000129/1.744, allocations: 72.83 kB / 0.9653 GB, free: 130.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.89e-05/1.744, allocations: 47.97 kB / 0.9653 GB, free: 130.7 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002095/1.746, allocations: 1.395 MB / 0.9667 GB, free: 129.3 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.6e-07/1.746, allocations: 0 / 0.9667 GB, free: 129.3 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003724/1.75, allocations: 1.144 MB / 0.9678 GB, free: 128.2 MB / 0.7169 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.0009433/1.751, allocations: 0.5086 MB / 0.9683 GB, free: 127.7 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.007831/1.759, allocations: 3.811 MB / 0.972 GB, free: 123.9 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/1.759, allocations: 0 / 0.972 GB, free: 123.9 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002002/1.761, allocations: 0.9948 MB / 0.973 GB, free: 122.9 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00514/1.766, allocations: 1.152 MB / 0.9741 GB, free: 121.7 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01058/1.777, allocations: 5.757 MB / 0.9798 GB, free: 115.9 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000945/1.778, allocations: 1.625 MB / 0.9813 GB, free: 114.3 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002536/1.78, allocations: 478.5 kB / 0.9818 GB, free: 113.8 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004293/1.781, allocations: 183.3 kB / 0.982 GB, free: 113.7 MB / 0.7169 GB Notification: Performance of SimCode: time 1.122e-06/1.781, allocations: 0 / 0.982 GB, free: 113.7 MB / 0.7169 GB Notification: Performance of Templates: time 0.073/1.854, allocations: 55.05 MB / 1.036 GB, free: 59.3 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: