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.46/1.46, 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.001248/0.001249, allocations: 186.5 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.03/2.03, allocations: 205.4 MB / 0.5786 GB, free: 20.12 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.000922/0.000922, allocations: 84.91 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003398/0.0003399, allocations: 7.469 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/0.2316, allocations: 106.3 MB / 0.9015 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating): time 0.09637/0.328, allocations: 112.9 MB / 1.012 GB, free: 14.23 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.03986/0.3679, allocations: 26.24 MB / 1.037 GB, free: 3.93 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00612/0.3741, allocations: 115.1 kB / 1.037 GB, free: 3.816 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.00483/0.379, allocations: 1.037 MB / 1.038 GB, free: 2.773 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0128/0.3918, allocations: 3.3 MB / 1.042 GB, free: 15.46 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.008542/0.4004, allocations: 2.938 MB / 1.045 GB, free: 12.55 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01378/0.4142, allocations: 9.375 MB / 1.054 GB, free: 3.152 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004762/0.419, allocations: 2.287 MB / 1.056 GB, free: 0.8047 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.6287/1.048, allocations: 2.59 MB / 1.058 GB, free: 26.79 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00506/1.053, allocations: 2.044 MB / 1.06 GB, free: 26.79 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0006996/1.054, allocations: 101 kB / 1.061 GB, free: 26.79 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004961/1.059, allocations: 1.372 MB / 1.062 GB, free: 26.79 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0008584/1.059, allocations: 496.4 kB / 1.062 GB, free: 26.79 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.003043/1.063, allocations: 1.438 MB / 1.064 GB, free: 26.5 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.008403/1.071, allocations: 3.939 MB / 1.068 GB, free: 26.39 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/1.071, allocations: 0 / 1.068 GB, free: 26.39 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.044e-06/1.071, allocations: 0 / 1.068 GB, free: 26.39 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002089/1.071, allocations: 0 / 1.068 GB, free: 26.39 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.009354/1.081, allocations: 2.839 MB / 1.07 GB, free: 25.02 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.753e-05/1.081, allocations: 9.938 kB / 1.07 GB, free: 25.02 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006697/1.087, allocations: 1.102 MB / 1.071 GB, free: 24.82 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005763/1.093, allocations: 2.453 MB / 1.074 GB, free: 24.24 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001638/1.093, allocations: 150.3 kB / 1.074 GB, free: 24.23 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004166/1.094, allocations: 196.5 kB / 1.074 GB, free: 24.23 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006215/1.1, allocations: 2.519 MB / 1.077 GB, free: 23.92 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.68e-05/1.1, allocations: 2.156 kB / 1.077 GB, free: 23.92 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002106/1.1, allocations: 75.62 kB / 1.077 GB, free: 23.92 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.506e-05/1.1, allocations: 54.75 kB / 1.077 GB, free: 23.92 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00682/1.107, allocations: 2.39 MB / 1.079 GB, free: 23.86 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.0201/1.127, allocations: 12.11 MB / 1.091 GB, free: 17.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008151/1.136, allocations: 2.344 MB / 1.093 GB, free: 17.71 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002392/1.138, allocations: 0.9426 MB / 1.094 GB, free: 17.67 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001091/1.139, allocations: 1.378 MB / 1.096 GB, free: 16.17 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.169e-05/1.139, allocations: 45.53 kB / 1.096 GB, free: 16.13 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002302/1.141, allocations: 224.1 kB / 1.096 GB, free: 16.06 MB / 0.698 GB Notification: Performance of pre-optimization done (n=105): time 6.222e-06/1.141, allocations: 0 / 1.096 GB, free: 16.06 MB / 0.698 GB Notification: Performance of matching and sorting (n=111): time 0.03601/1.177, allocations: 9.012 MB / 1.105 GB, free: 14.92 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.944e-05/1.178, allocations: 168.2 kB / 1.105 GB, free: 14.73 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005302/1.183, allocations: 2.083 MB / 1.107 GB, free: 14.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003496/1.183, allocations: 50.05 kB / 1.107 GB, free: 14.46 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001355/1.185, allocations: 1.201 MB / 1.108 GB, free: 14.05 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005784/1.185, allocations: 388.7 kB / 1.108 GB, free: 13.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002092/1.185, allocations: 26.62 kB / 1.108 GB, free: 13.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001494/1.186, allocations: 360.9 kB / 1.109 GB, free: 13.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003107/1.189, allocations: 0.9134 MB / 1.11 GB, free: 13.48 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00357/1.192, allocations: 1.321 MB / 1.111 GB, free: 13.02 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005111/1.197, allocations: 2.06 MB / 1.113 GB, free: 12.62 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.462e-05/1.198, allocations: 3.031 kB / 1.113 GB, free: 12.62 MB / 0.698 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.009514/1.207, allocations: 3.039 MB / 1.116 GB, free: 12.27 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002912/1.207, allocations: 381.1 kB / 1.116 GB, free: 11.82 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.639e-05/1.207, allocations: 13.56 kB / 1.116 GB, free: 11.82 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006402/1.214, allocations: 1.587 MB / 1.118 GB, free: 11.38 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001624/1.215, allocations: 332.2 kB / 1.118 GB, free: 11.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01278/1.228, allocations: 6.079 MB / 1.124 GB, free: 8.59 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004334/1.233, allocations: 381.4 kB / 1.124 GB, free: 8.457 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000572/1.233, allocations: 72.95 kB / 1.124 GB, free: 8.445 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/1.233, allocations: 4.594 kB / 1.125 GB, free: 8.445 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007071/1.24, allocations: 2.371 MB / 1.127 GB, free: 8.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.375e-05/1.24, allocations: 10.28 kB / 1.127 GB, free: 8.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002718/1.243, allocations: 0.6841 MB / 1.127 GB, free: 7.809 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001874/1.245, allocations: 393.6 kB / 1.128 GB, free: 7.734 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01256/1.258, allocations: 6.776 MB / 1.134 GB, free: 4.172 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004015/1.262, allocations: 330.2 kB / 1.135 GB, free: 4.059 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005099/1.262, allocations: 74.55 kB / 1.135 GB, free: 4.047 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.002374/1.265, allocations: 0.6163 MB / 1.135 GB, free: 3.836 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009764/1.266, allocations: 232.8 kB / 1.136 GB, free: 3.715 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007189/1.273, allocations: 2.52 MB / 1.138 GB, free: 3.113 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.699e-05/1.273, allocations: 13.22 kB / 1.138 GB, free: 3.113 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/1.273, allocations: 0 / 1.138 GB, free: 3.113 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005076/1.278, allocations: 2.356 MB / 1.14 GB, free: 2.309 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01428/1.292, allocations: 5.121 MB / 1.145 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.18e-05/1.292, allocations: 0 / 1.145 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001383/1.294, allocations: 262.1 kB / 1.146 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003144/1.297, allocations: 0.7989 MB / 1.147 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001554/1.297, allocations: 40.84 kB / 1.147 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002759/1.3, allocations: 1.471 MB / 1.148 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/1.3, allocations: 4 kB / 1.148 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009496/1.309, allocations: 3.542 MB / 1.151 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002072/1.311, allocations: 0.5169 MB / 1.152 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001027/1.313, allocations: 26.06 kB / 1.152 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00324/1.316, allocations: 313.2 kB / 1.152 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002254/1.316, allocations: 75.45 kB / 1.152 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001716/1.316, allocations: 43.28 kB / 1.152 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.003866/1.32, allocations: 1.416 MB / 1.154 GB, free: 9.004 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.844e-06/1.32, allocations: 0 / 1.154 GB, free: 9.004 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.007399/1.328, allocations: 1.15 MB / 1.155 GB, free: 7.945 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.001997/1.33, allocations: 0.5354 MB / 1.155 GB, free: 7.488 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.01111/1.341, allocations: 3.85 MB / 1.159 GB, free: 4.59 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.357e-06/1.341, allocations: 3.562 kB / 1.159 GB, free: 4.59 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002904/1.344, allocations: 0.9848 MB / 1.16 GB, free: 3.879 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008535/1.352, allocations: 1.149 MB / 1.161 GB, free: 2.938 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01703/1.369, allocations: 6.014 MB / 1.167 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002277/1.372, allocations: 1.614 MB / 1.169 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001274/1.373, allocations: 194.9 kB / 1.169 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of SimCode: time 1.683e-06/1.373, allocations: 0 / 1.169 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of Templates: time 0.09019/1.463, allocations: 61.49 MB / 1.229 GB, free: 14.18 MB / 0.7917 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)