Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating") translateModel(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.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.00094/0.0009398, allocations: 92 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.001308/0.001308, 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.715/1.715, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.783/1.783, allocations: 292.7 MB / 0.5499 GB, free: 14.54 MB / 462.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.0005022/0.0005027, allocations: 13.56 kB / 0.6737 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.2368, allocations: 116.3 MB / 0.7873 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating): time 0.1033/0.3401, allocations: 106.7 MB / 0.8915 GB, free: 0.9492 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.6279/0.9681, allocations: 24.67 MB / 0.9156 GB, free: 28.62 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005826/0.9739, allocations: 113.9 kB / 0.9157 GB, free: 28.62 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00433/0.9783, allocations: 0.8504 MB / 0.9165 GB, free: 28.62 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01362/0.992, allocations: 2.758 MB / 0.9192 GB, free: 28.53 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.008669/1.001, allocations: 2.208 MB / 0.9213 GB, free: 28.48 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01479/1.015, allocations: 8.09 MB / 0.9293 GB, free: 28.47 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005214/1.021, allocations: 2.04 MB / 0.9312 GB, free: 28.21 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007508/1.028, allocations: 2.386 MB / 0.9336 GB, free: 28.19 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00809/1.036, allocations: 1.921 MB / 0.9354 GB, free: 27.8 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001277/1.038, allocations: 104.4 kB / 0.9355 GB, free: 27.8 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005515/1.043, allocations: 1.035 MB / 0.9366 GB, free: 27.7 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001172/1.044, allocations: 466.8 kB / 0.937 GB, free: 27.59 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002094/1.047, allocations: 0.6317 MB / 0.9376 GB, free: 27.45 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.006243/1.053, allocations: 3.887 MB / 0.9414 GB, free: 27.19 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.086e-05/1.053, allocations: 3.234 kB / 0.9414 GB, free: 27.19 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.725e-06/1.053, allocations: 1.188 kB / 0.9414 GB, free: 27.19 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001735/1.053, allocations: 0 / 0.9414 GB, free: 27.19 MB / 0.7169 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.008326/1.061, allocations: 2.869 MB / 0.9442 GB, free: 25.73 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.384e-05/1.061, allocations: 9.25 kB / 0.9442 GB, free: 25.73 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006192/1.068, allocations: 1.101 MB / 0.9453 GB, free: 25.52 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006115/1.074, allocations: 2.383 MB / 0.9476 GB, free: 24.97 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001588/1.074, allocations: 144.9 kB / 0.9478 GB, free: 24.97 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004369/1.074, allocations: 193.5 kB / 0.948 GB, free: 24.97 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006026/1.08, allocations: 2.513 MB / 0.9504 GB, free: 24.64 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.757e-05/1.081, allocations: 5.562 kB / 0.9504 GB, free: 24.64 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002108/1.081, allocations: 77.97 kB / 0.9505 GB, free: 24.64 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.071e-05/1.081, allocations: 49.78 kB / 0.9505 GB, free: 24.64 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005884/1.087, allocations: 2.377 MB / 0.9529 GB, free: 24.57 MB / 0.7169 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.01667/1.103, allocations: 12.13 MB / 0.9647 GB, free: 16.97 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007386/1.111, allocations: 2.346 MB / 0.967 GB, free: 16.43 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002188/1.113, allocations: 0.9434 MB / 0.9679 GB, free: 16.26 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009964/1.114, allocations: 1.373 MB / 0.9693 GB, free: 14.71 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.969e-05/1.114, allocations: 49 kB / 0.9693 GB, free: 14.67 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001876/1.116, allocations: 229.2 kB / 0.9695 GB, free: 14.57 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=105): time 6.122e-06/1.116, allocations: 3.188 kB / 0.9695 GB, free: 14.57 MB / 0.7169 GB Notification: Performance of matching and sorting (n=111): time 0.03261/1.149, allocations: 9.152 MB / 0.9785 GB, free: 11.44 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.77e-05/1.149, allocations: 171.4 kB / 0.9786 GB, free: 11.25 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003518/1.152, allocations: 2.058 MB / 0.9806 GB, free: 10.7 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002881/1.153, allocations: 53.86 kB / 0.9807 GB, free: 10.66 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000886/1.154, allocations: 1.198 MB / 0.9819 GB, free: 10.14 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004291/1.154, allocations: 392.4 kB / 0.9822 GB, free: 9.855 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/1.154, allocations: 28.25 kB / 0.9823 GB, free: 9.855 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001145/1.154, allocations: 359.4 kB / 0.9826 GB, free: 9.535 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002161/1.156, allocations: 0.897 MB / 0.9835 GB, free: 9.363 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002366/1.159, allocations: 1.308 MB / 0.9848 GB, free: 8.727 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002252/1.161, allocations: 0.9839 MB / 0.9857 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/1.161, allocations: 7.344 kB / 0.9857 GB, free: 8.562 MB / 0.7169 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.007383/1.168, allocations: 2.995 MB / 0.9886 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001789/1.169, allocations: 374.3 kB / 0.989 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/1.169, allocations: 11.06 kB / 0.989 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005539/1.174, allocations: 1.444 MB / 0.9904 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001518/1.176, allocations: 332.8 kB / 0.9907 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01129/1.187, allocations: 6.08 MB / 0.9967 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003572/1.191, allocations: 382.8 kB / 0.997 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002777/1.191, allocations: 75.39 kB / 0.9971 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.456e-06/1.191, allocations: 4 kB / 0.9971 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005217/1.196, allocations: 2.362 MB / 0.9994 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/1.196, allocations: 8 kB / 0.9994 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0023/1.199, allocations: 0.6865 MB / 1 GB, free: 92 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001764/1.2, allocations: 387.2 kB / 1 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01229/1.213, allocations: 6.786 MB / 1.007 GB, free: 9.922 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003438/1.216, allocations: 343.3 kB / 1.007 GB, free: 9.586 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003149/1.216, allocations: 67.97 kB / 1.007 GB, free: 9.52 MB / 0.7325 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.001763/1.218, allocations: 0.614 MB / 1.008 GB, free: 8.895 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006446/1.219, allocations: 233.1 kB / 1.008 GB, free: 8.664 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005913/1.225, allocations: 2.515 MB / 1.011 GB, free: 6.16 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.339e-05/1.225, allocations: 15.98 kB / 1.011 GB, free: 6.145 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/1.225, allocations: 3.953 kB / 1.011 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004752/1.23, allocations: 2.341 MB / 1.013 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01192/1.242, allocations: 5.138 MB / 1.018 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/1.242, allocations: 0 / 1.018 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001247/1.243, allocations: 267.8 kB / 1.018 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003044/1.246, allocations: 0.818 MB / 1.019 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001569/1.246, allocations: 43.92 kB / 1.019 GB, free: 13.42 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002321/1.248, allocations: 1.481 MB / 1.021 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/1.248, allocations: 3.984 kB / 1.021 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008063/1.256, allocations: 3.554 MB / 1.024 GB, free: 8.34 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001929/1.258, allocations: 0.5251 MB / 1.025 GB, free: 7.793 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004645/1.259, allocations: 24 kB / 1.025 GB, free: 7.77 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002116/1.261, allocations: 307.5 kB / 1.025 GB, free: 7.469 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001833/1.261, allocations: 76.84 kB / 1.025 GB, free: 7.395 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001457/1.261, allocations: 47.95 kB / 1.025 GB, free: 7.348 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.003805/1.265, allocations: 1.395 MB / 1.026 GB, free: 5.941 MB / 0.7481 GB Notification: Performance of sort global known variables: time 7.31e-07/1.265, allocations: 0 / 1.026 GB, free: 5.941 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.008195/1.273, allocations: 1.148 MB / 1.028 GB, free: 4.793 MB / 0.7481 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.00182/1.275, allocations: 0.5015 MB / 1.028 GB, free: 4.332 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.01002/1.285, allocations: 3.828 MB / 1.032 GB, free: 492 kB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 9.488e-06/1.285, allocations: 0 / 1.032 GB, free: 492 kB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.002629/1.288, allocations: 0.9872 MB / 1.033 GB, free: 15.5 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006397/1.294, allocations: 1.153 MB / 1.034 GB, free: 14.37 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01547/1.31, allocations: 5.768 MB / 1.039 GB, free: 8.582 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002682/1.313, allocations: 1.622 MB / 1.041 GB, free: 6.934 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.003213/1.316, allocations: 487.2 kB / 1.042 GB, free: 6.477 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006592/1.317, allocations: 175.4 kB / 1.042 GB, free: 6.305 MB / 0.7637 GB Notification: Performance of SimCode: time 2.184e-06/1.317, allocations: 3.938 kB / 1.042 GB, free: 6.301 MB / 0.7637 GB Notification: Performance of Templates: time 0.1071/1.424, allocations: 55.3 MB / 1.096 GB, free: 15.77 MB / 0.8262 GB make -j1 -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.pipe ; mkfifo Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.pipe >> ../files/Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.sim & ./Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.pipe 2>&1) Environment - environmentSimulation: