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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001405/0.001406, allocations: 172.7 kB / 15.95 MB, free: 208 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.83/1.83, allocations: 205.4 MB / 222.1 MB, free: 5.887 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.61/1.61, allocations: 252 MB / 0.5102 GB, free: 4.867 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.0005654/0.0005655, allocations: 15.98 kB / 0.6243 GB, free: 1.141 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6938/0.6944, allocations: 106.3 MB / 0.7281 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling): time 0.1039/0.7984, allocations: 106.7 MB / 0.8324 GB, free: 416 kB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.03949/0.8379, allocations: 24.66 MB / 0.8564 GB, free: 7.711 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005913/0.8439, allocations: 115.1 kB / 0.8565 GB, free: 7.598 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004402/0.8483, allocations: 0.8419 MB / 0.8574 GB, free: 6.75 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01171/0.8601, allocations: 2.769 MB / 0.8601 GB, free: 3.969 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.008098/0.8682, allocations: 2.174 MB / 0.8622 GB, free: 1.824 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01324/0.8814, allocations: 8.076 MB / 0.8701 GB, free: 9.727 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004582/0.8861, allocations: 2.03 MB / 0.8721 GB, free: 7.66 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007695/0.8938, allocations: 2.372 MB / 0.8744 GB, free: 5.277 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005176/0.899, allocations: 1.925 MB / 0.8763 GB, free: 3.344 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0005817/0.8996, allocations: 104 kB / 0.8764 GB, free: 3.242 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004227/0.9038, allocations: 1.033 MB / 0.8774 GB, free: 2.207 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0005739/0.9044, allocations: 477.7 kB / 0.8778 GB, free: 1.738 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001445/0.9059, allocations: 0.6212 MB / 0.8784 GB, free: 1.109 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005231/0.9111, allocations: 3.869 MB / 0.8822 GB, free: 13.23 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.9111, allocations: 0 / 0.8822 GB, free: 13.23 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.735e-06/0.9112, allocations: 0 / 0.8822 GB, free: 13.23 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 7.736e-05/0.9112, allocations: 0 / 0.8822 GB, free: 13.23 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.005836/0.9171, allocations: 2.874 MB / 0.885 GB, free: 10.29 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.9171, allocations: 8.031 kB / 0.885 GB, free: 10.29 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004872/0.922, allocations: 1.101 MB / 0.8861 GB, free: 9.18 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004306/0.9263, allocations: 2.37 MB / 0.8884 GB, free: 6.738 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001057/0.9265, allocations: 143.7 kB / 0.8885 GB, free: 6.598 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002696/0.9267, allocations: 192 kB / 0.8887 GB, free: 6.41 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005293/0.932, allocations: 2.508 MB / 0.8912 GB, free: 3.812 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.778e-05/0.9321, allocations: 7.938 kB / 0.8912 GB, free: 3.805 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001806/0.9323, allocations: 72 kB / 0.8913 GB, free: 3.734 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.307e-05/0.9324, allocations: 56 kB / 0.8913 GB, free: 3.68 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005555/0.9379, allocations: 2.364 MB / 0.8936 GB, free: 1.312 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.01766/0.9556, allocations: 12.11 MB / 0.9054 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005915/0.9615, allocations: 2.096 MB / 0.9075 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002139/0.9637, allocations: 0.9482 MB / 0.9084 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6334/1.597, allocations: 1.372 MB / 0.9098 GB, free: 173.4 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.351e-05/1.597, allocations: 46.94 kB / 0.9098 GB, free: 173.4 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00216/1.599, allocations: 222 kB / 0.91 GB, free: 173.4 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=105): time 5.27e-06/1.599, allocations: 0 / 0.91 GB, free: 173.4 MB / 0.7169 GB Notification: Performance of matching and sorting (n=111): time 0.03626/1.636, allocations: 8.941 MB / 0.9187 GB, free: 171.9 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001291/1.636, allocations: 170.9 kB / 0.9189 GB, free: 171.7 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005557/1.642, allocations: 2.061 MB / 0.9209 GB, free: 171 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0005619/1.642, allocations: 55.61 kB / 0.921 GB, free: 170.9 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001332/1.643, allocations: 1.189 MB / 0.9221 GB, free: 170 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006429/1.644, allocations: 384.8 kB / 0.9225 GB, free: 169.7 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/1.644, allocations: 30.34 kB / 0.9225 GB, free: 169.7 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000198/1.644, allocations: 361 kB / 0.9229 GB, free: 169.4 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002538/1.647, allocations: 0.899 MB / 0.9238 GB, free: 169.1 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002555/1.65, allocations: 1.303 MB / 0.925 GB, free: 168.4 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002347/1.652, allocations: 0.9868 MB / 0.926 GB, free: 168 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/1.652, allocations: 3.969 kB / 0.926 GB, free: 168 MB / 0.7169 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.008051/1.66, allocations: 2.999 MB / 0.9289 GB, free: 166.6 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003032/1.66, allocations: 379.8 kB / 0.9293 GB, free: 166.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.106e-05/1.66, allocations: 10.56 kB / 0.9293 GB, free: 166.1 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005164/1.666, allocations: 1.406 MB / 0.9307 GB, free: 165.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001383/1.667, allocations: 330.6 kB / 0.931 GB, free: 165.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01127/1.678, allocations: 6.062 MB / 0.9369 GB, free: 160.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003527/1.682, allocations: 379.4 kB / 0.9373 GB, free: 160 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003656/1.682, allocations: 75.95 kB / 0.9373 GB, free: 159.9 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.978e-06/1.682, allocations: 4 kB / 0.9373 GB, free: 159.9 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005489/1.688, allocations: 2.363 MB / 0.9397 GB, free: 157.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.65e-05/1.688, allocations: 8 kB / 0.9397 GB, free: 157.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002287/1.69, allocations: 0.6821 MB / 0.9403 GB, free: 156.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00157/1.692, allocations: 401.2 kB / 0.9407 GB, free: 156.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01091/1.703, allocations: 6.777 MB / 0.9473 GB, free: 149.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003317/1.706, allocations: 327.4 kB / 0.9476 GB, free: 149.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003949/1.706, allocations: 67.97 kB / 0.9477 GB, free: 149.1 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.001887/1.708, allocations: 0.6271 MB / 0.9483 GB, free: 148.4 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009491/1.709, allocations: 229.1 kB / 0.9485 GB, free: 148.2 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006035/1.715, allocations: 2.505 MB / 0.951 GB, free: 145.7 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.493e-05/1.715, allocations: 15.98 kB / 0.951 GB, free: 145.7 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/1.715, allocations: 0 / 0.951 GB, free: 145.7 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004296/1.72, allocations: 2.337 MB / 0.9533 GB, free: 143.3 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01208/1.732, allocations: 5.107 MB / 0.9583 GB, free: 138.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.32e-05/1.732, allocations: 7.953 kB / 0.9583 GB, free: 138.1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001149/1.733, allocations: 263.9 kB / 0.9585 GB, free: 137.8 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002531/1.736, allocations: 0.7951 MB / 0.9593 GB, free: 137.1 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000117/1.736, allocations: 31.98 kB / 0.9593 GB, free: 137 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002123/1.738, allocations: 1.485 MB / 0.9608 GB, free: 135.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/1.738, allocations: 0 / 0.9608 GB, free: 135.5 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007506/1.745, allocations: 3.53 MB / 0.9642 GB, free: 131.9 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001637/1.747, allocations: 0.5178 MB / 0.9647 GB, free: 131.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008524/1.748, allocations: 24 kB / 0.9648 GB, free: 131.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002555/1.75, allocations: 312.1 kB / 0.9651 GB, free: 131.1 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001494/1.751, allocations: 76.83 kB / 0.9651 GB, free: 131 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000139/1.751, allocations: 51.94 kB / 0.9652 GB, free: 131 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002952/1.754, allocations: 1.395 MB / 0.9665 GB, free: 129.6 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.81e-07/1.754, allocations: 0 / 0.9665 GB, free: 129.6 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.005978/1.76, allocations: 1.147 MB / 0.9677 GB, free: 128.4 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.001452/1.761, allocations: 0.5047 MB / 0.9682 GB, free: 128 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0086/1.77, allocations: 3.825 MB / 0.9719 GB, free: 124.1 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 8.686e-06/1.77, allocations: 0 / 0.9719 GB, free: 124.1 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002268/1.772, allocations: 0.9838 MB / 0.9728 GB, free: 123.1 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006579/1.779, allocations: 1.152 MB / 0.974 GB, free: 122 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01295/1.792, allocations: 5.746 MB / 0.9796 GB, free: 116.2 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001716/1.794, allocations: 1.625 MB / 0.9812 GB, free: 114.6 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.00299/1.797, allocations: 491.6 kB / 0.9816 GB, free: 114.1 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007139/1.797, allocations: 175.3 kB / 0.9818 GB, free: 113.9 MB / 0.7169 GB Notification: Performance of SimCode: time 1.413e-06/1.797, allocations: 0 / 0.9818 GB, free: 113.9 MB / 0.7169 GB Notification: Performance of Templates: time 0.08229/1.88, allocations: 55.06 MB / 1.036 GB, free: 59.56 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: