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.304/1.304, allocations: 252 MB / 267.9 MB, free: 10.91 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.0009818/0.0009821, allocations: 178.3 kB / 327.6 MB, free: 2.156 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.529/1.529, allocations: 205.4 MB / 0.5785 GB, free: 20.22 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.0006882/0.0006881, allocations: 94.27 kB / 0.6831 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000362/0.000362, allocations: 13.03 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1811/0.1815, allocations: 106.3 MB / 0.9012 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8214/1.003, allocations: 439.2 MB / 1.33 GB, free: 9.441 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003416/1.003, allocations: 94.58 kB / 1.33 GB, free: 9.391 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4/5.003, allocations: 1.237 GB / 2.567 GB, free: 92.09 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.503e-06/5.004, allocations: 1.094 kB / 2.567 GB, free: 92.09 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0004986/5.004, allocations: 80.39 kB / 2.567 GB, free: 92.07 MB / 0.9011 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.00905/5.013, allocations: 3.195 MB / 2.571 GB, free: 90.7 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/5.013, allocations: 15.28 kB / 2.571 GB, free: 90.7 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004895/5.018, allocations: 1.001 MB / 2.572 GB, free: 90.54 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006693/5.025, allocations: 2.937 MB / 2.574 GB, free: 89.91 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001444/5.025, allocations: 150.8 kB / 2.575 GB, free: 89.91 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000532/5.025, allocations: 208 kB / 2.575 GB, free: 89.9 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004363/5.03, allocations: 2.494 MB / 2.577 GB, free: 89.61 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.935e-05/5.03, allocations: 1.406 kB / 2.577 GB, free: 89.61 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001865/5.03, allocations: 76.34 kB / 2.577 GB, free: 89.61 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.998e-05/5.03, allocations: 48.66 kB / 2.577 GB, free: 89.61 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004796/5.035, allocations: 2.357 MB / 2.58 GB, free: 89.59 MB / 0.9011 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.0144/5.049, allocations: 12.09 MB / 2.591 GB, free: 83.6 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006877/5.056, allocations: 2.33 MB / 2.594 GB, free: 83.57 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00189/5.058, allocations: 0.9357 MB / 2.595 GB, free: 83.55 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009021/5.059, allocations: 1.375 MB / 2.596 GB, free: 82.05 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.602e-05/5.059, allocations: 42.59 kB / 2.596 GB, free: 82.01 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001865/5.061, allocations: 273.5 kB / 2.596 GB, free: 81.95 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=105): time 3.927e-06/5.061, allocations: 0 / 2.596 GB, free: 81.95 MB / 0.9011 GB Notification: Performance of matching and sorting (n=111): time 0.02667/5.088, allocations: 8.477 MB / 2.605 GB, free: 81.06 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.982e-05/5.088, allocations: 170.8 kB / 2.605 GB, free: 80.87 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002809/5.091, allocations: 2.071 MB / 2.607 GB, free: 80.64 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001883/5.091, allocations: 51.77 kB / 2.607 GB, free: 80.61 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006843/5.092, allocations: 1.2 MB / 2.608 GB, free: 80.2 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002526/5.092, allocations: 382.9 kB / 2.608 GB, free: 79.96 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.514e-05/5.092, allocations: 28.84 kB / 2.608 GB, free: 79.96 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.131e-05/5.092, allocations: 360.2 kB / 2.609 GB, free: 79.65 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001948/5.094, allocations: 0.8954 MB / 2.61 GB, free: 79.65 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002196/5.096, allocations: 1.374 MB / 2.611 GB, free: 79.12 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003799/5.1, allocations: 2.005 MB / 2.613 GB, free: 78.73 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/5.1, allocations: 3.656 kB / 2.613 GB, free: 78.73 MB / 0.9011 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.007477/5.107, allocations: 3.009 MB / 2.616 GB, free: 78.48 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001832/5.108, allocations: 365.2 kB / 2.616 GB, free: 78.05 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/5.108, allocations: 9.5 kB / 2.616 GB, free: 78.05 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004638/5.112, allocations: 1.369 MB / 2.618 GB, free: 77.99 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001357/5.114, allocations: 333.9 kB / 2.618 GB, free: 77.98 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01132/5.125, allocations: 6.066 MB / 2.624 GB, free: 76.02 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003188/5.128, allocations: 396.9 kB / 2.624 GB, free: 75.99 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001638/5.128, allocations: 71.28 kB / 2.624 GB, free: 75.99 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 8.767e-06/5.128, allocations: 10 kB / 2.624 GB, free: 75.98 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004724/5.133, allocations: 2.33 MB / 2.627 GB, free: 75.89 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/5.133, allocations: 9.875 kB / 2.627 GB, free: 75.89 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002254/5.135, allocations: 0.6824 MB / 2.627 GB, free: 75.85 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001429/5.137, allocations: 390.1 kB / 2.628 GB, free: 75.84 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01064/5.148, allocations: 6.77 MB / 2.634 GB, free: 73.05 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003088/5.151, allocations: 340.3 kB / 2.634 GB, free: 73.02 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001649/5.151, allocations: 71.19 kB / 2.635 GB, free: 73.02 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * 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 (125): * Single equations (assignments): 123 * 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.001476/5.152, allocations: 0.6234 MB / 2.635 GB, free: 72.82 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004017/5.153, allocations: 230.2 kB / 2.635 GB, free: 72.7 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00508/5.158, allocations: 2.503 MB / 2.638 GB, free: 72.54 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.557e-05/5.158, allocations: 11.72 kB / 2.638 GB, free: 72.54 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/5.158, allocations: 2.531 kB / 2.638 GB, free: 72.54 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004037/5.162, allocations: 2.338 MB / 2.64 GB, free: 72.03 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008351/5.17, allocations: 4.846 MB / 2.645 GB, free: 71.57 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.962e-06/5.17, allocations: 0 / 2.645 GB, free: 71.57 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001094/5.171, allocations: 261.7 kB / 2.645 GB, free: 71.57 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002281/5.174, allocations: 0.7906 MB / 2.646 GB, free: 71.52 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.74e-05/5.174, allocations: 33.11 kB / 2.646 GB, free: 71.52 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001905/5.176, allocations: 1.481 MB / 2.647 GB, free: 70.96 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/5.176, allocations: 5.656 kB / 2.647 GB, free: 70.96 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006812/5.182, allocations: 3.535 MB / 2.651 GB, free: 70.56 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001179/5.184, allocations: 0.5068 MB / 2.651 GB, free: 70.34 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002396/5.184, allocations: 27 kB / 2.651 GB, free: 70.34 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001783/5.186, allocations: 305.7 kB / 2.652 GB, free: 70.31 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/5.186, allocations: 80.22 kB / 2.652 GB, free: 70.31 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.816e-05/5.186, allocations: 49.81 kB / 2.652 GB, free: 70.31 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.002027/5.188, allocations: 1.394 MB / 2.653 GB, free: 70.16 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.8e-07/5.188, allocations: 3.938 kB / 2.653 GB, free: 70.16 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.003875/5.192, allocations: 1.272 MB / 2.654 GB, free: 70.11 MB / 0.9011 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.001535/5.193, allocations: 1.13 MB / 2.655 GB, free: 69.71 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.007332/5.201, allocations: 3.799 MB / 2.659 GB, free: 68.8 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/5.201, allocations: 0 / 2.659 GB, free: 68.8 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.001944/5.203, allocations: 0.9975 MB / 2.66 GB, free: 68.51 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004964/5.208, allocations: 1.128 MB / 2.661 GB, free: 68.28 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01068/5.218, allocations: 5.742 MB / 2.667 GB, free: 65.33 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001232/5.22, allocations: 1.621 MB / 2.668 GB, free: 64.53 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.00251/5.222, allocations: 482 kB / 2.669 GB, free: 64.44 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004634/5.223, allocations: 181.8 kB / 2.669 GB, free: 64.41 MB / 0.9011 GB Notification: Performance of SimCode: time 8.51e-07/5.223, allocations: 0 / 2.669 GB, free: 64.41 MB / 0.9011 GB Notification: Performance of Templates: time 0.07918/5.302, allocations: 61.79 MB / 2.729 GB, free: 18.69 MB / 0.9011 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)