Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling") translateModel(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.556/1.556, allocations: 289.9 MB / 297.4 MB, free: 6.371 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009236/0.0009237, allocations: 180.8 kB / 366.7 MB, free: 1.637 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.32/1.32, allocations: 205.2 MB / 0.626 GB, free: 7.195 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007898/0.0007897, allocations: 89.06 kB / 0.74 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.727e-05/1.728e-05, allocations: 4 kB / 0.8597 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5649/0.5649, allocations: 116.3 MB / 0.9732 GB, free: 76.11 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9028/1.468, allocations: 447.3 MB / 1.41 GB, free: 110.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002711/1.468, allocations: 93.19 kB / 1.41 GB, free: 110.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.902/5.37, allocations: 1.272 GB / 2.682 GB, free: 35.1 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.754e-06/5.371, allocations: 4 kB / 2.682 GB, free: 35.09 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0002606/5.371, allocations: 71.5 kB / 2.682 GB, free: 35.03 MB / 0.9636 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.004782/5.376, allocations: 2.73 MB / 2.685 GB, free: 32.27 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/5.376, allocations: 8.031 kB / 2.685 GB, free: 32.26 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004269/5.38, allocations: 1.007 MB / 2.686 GB, free: 31.25 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004683/5.385, allocations: 2.918 MB / 2.689 GB, free: 28.32 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.881e-05/5.385, allocations: 60 kB / 2.689 GB, free: 28.26 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000227/5.385, allocations: 119.9 kB / 2.689 GB, free: 28.14 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002465/5.387, allocations: 1.577 MB / 2.69 GB, free: 26.57 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002672/5.39, allocations: 1.871 MB / 2.692 GB, free: 24.61 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.03e-05/5.39, allocations: 8 kB / 2.692 GB, free: 24.6 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001527/5.39, allocations: 4 kB / 2.692 GB, free: 24.6 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.886e-05/5.39, allocations: 48 kB / 2.692 GB, free: 24.55 MB / 0.9636 GB Warning: The model contains alias variables with conflicting start and/or 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.01262/5.403, allocations: 11.8 MB / 2.704 GB, free: 11.94 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003117/5.406, allocations: 1.393 MB / 2.705 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008492/5.407, allocations: 0.662 MB / 2.706 GB, free: 9.883 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009104/5.408, allocations: 1.37 MB / 2.707 GB, free: 8.215 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/5.408, allocations: 47.88 kB / 2.707 GB, free: 8.16 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001646/5.41, allocations: 234.9 kB / 2.707 GB, free: 7.93 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=105): time 4.709e-06/5.41, allocations: 7.938 kB / 2.707 GB, free: 7.922 MB / 0.9636 GB Notification: Performance of matching and sorting (n=111): time 0.00743/5.417, allocations: 3.448 MB / 2.711 GB, free: 4.414 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.803e-05/5.417, allocations: 167.5 kB / 2.711 GB, free: 4.215 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002135/5.419, allocations: 1.559 MB / 2.712 GB, free: 2.633 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001142/5.419, allocations: 29.7 kB / 2.713 GB, free: 2.598 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007842/5.42, allocations: 1.203 MB / 2.714 GB, free: 1.379 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002216/5.42, allocations: 370.5 kB / 2.714 GB, free: 1.012 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.462e-05/5.42, allocations: 0 / 2.714 GB, free: 1.012 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.394e-05/5.421, allocations: 357.9 kB / 2.714 GB, free: 0.6562 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007075/5.421, allocations: 0.5426 MB / 2.715 GB, free: 120 kB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001167/5.422, allocations: 1.006 MB / 2.716 GB, free: 14.92 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001448/5.424, allocations: 0.7188 MB / 2.717 GB, free: 14.2 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/5.424, allocations: 4 kB / 2.717 GB, free: 14.2 MB / 0.9792 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.006561/5.43, allocations: 2.385 MB / 2.719 GB, free: 11.8 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.001244/5.432, allocations: 3.699 MB / 2.723 GB, free: 7.715 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.485e-05/5.432, allocations: 12 kB / 2.723 GB, free: 7.703 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003088/5.435, allocations: 0.8629 MB / 2.723 GB, free: 6.832 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001465/5.436, allocations: 363.5 kB / 2.724 GB, free: 6.477 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008525/5.445, allocations: 5.29 MB / 2.729 GB, free: 1.02 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003036/5.448, allocations: 367.4 kB / 2.729 GB, free: 0.6602 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001587/5.448, allocations: 75.95 kB / 2.729 GB, free: 0.5859 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 8.536e-06/5.448, allocations: 8 kB / 2.729 GB, free: 0.5781 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.6519/6.1, allocations: 2.013 MB / 2.731 GB, free: 106.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.104e-05/6.1, allocations: 11.25 kB / 2.731 GB, free: 106.2 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00223/6.102, allocations: 0.5742 MB / 2.732 GB, free: 106.1 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001785/6.104, allocations: 397.1 kB / 2.732 GB, free: 106.1 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01029/6.114, allocations: 6.96 MB / 2.739 GB, free: 102.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003328/6.118, allocations: 317 kB / 2.739 GB, free: 102.3 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002496/6.118, allocations: 76.64 kB / 2.739 GB, free: 102.3 MB / 0.9792 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (140): * Single equations (assignments): 137 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 16,1 19,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0005213/6.119, allocations: 137.8 kB / 2.74 GB, free: 102.2 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005538/6.119, allocations: 220.2 kB / 2.74 GB, free: 102.2 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005101/6.124, allocations: 1.784 MB / 2.741 GB, free: 102.1 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-05/6.124, allocations: 12.59 kB / 2.742 GB, free: 102.1 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/6.124, allocations: 0 / 2.742 GB, free: 102.1 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002823/6.127, allocations: 1.655 MB / 2.743 GB, free: 101.6 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007913/6.135, allocations: 3.983 MB / 2.747 GB, free: 101.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/6.135, allocations: 0.9062 kB / 2.747 GB, free: 101.2 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001407/6.137, allocations: 296.1 kB / 2.747 GB, free: 101.2 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001325/6.138, allocations: 405.6 kB / 2.748 GB, free: 101.2 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.824e-05/6.138, allocations: 23.34 kB / 2.748 GB, free: 101.2 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001199/6.139, allocations: 1.536 MB / 2.749 GB, free: 100.1 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/6.139, allocations: 1.609 kB / 2.749 GB, free: 100.1 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003872/6.143, allocations: 2.514 MB / 2.752 GB, free: 99.84 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001046/6.144, allocations: 0.5066 MB / 2.752 GB, free: 99.63 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002631/6.144, allocations: 0 / 2.752 GB, free: 99.63 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001966/6.146, allocations: 304.6 kB / 2.752 GB, free: 99.62 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001458/6.147, allocations: 76.95 kB / 2.753 GB, free: 99.62 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001109/6.147, allocations: 51.52 kB / 2.753 GB, free: 99.62 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.001743/6.148, allocations: 1.159 MB / 2.754 GB, free: 99.48 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.8e-07/6.148, allocations: 0 / 2.754 GB, free: 99.48 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.005429/6.154, allocations: 1.271 MB / 2.755 GB, free: 99.48 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (hex.port_b1.h_outflow,hex.port_a2.h_outflow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 92 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 20,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001856/6.156, allocations: 1.139 MB / 2.756 GB, free: 99.24 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.004832/6.161, allocations: 2.898 MB / 2.759 GB, free: 98.75 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/6.161, allocations: 3.781 kB / 2.759 GB, free: 98.75 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001038/6.162, allocations: 0.6717 MB / 2.76 GB, free: 98.74 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004969/6.167, allocations: 1.035 MB / 2.761 GB, free: 98.73 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009194/6.176, allocations: 3.648 MB / 2.764 GB, free: 97.86 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001452/6.177, allocations: 1.676 MB / 2.766 GB, free: 97.12 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.003127/6.18, allocations: 0.5818 MB / 2.766 GB, free: 97.1 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003911/6.181, allocations: 139.9 kB / 2.766 GB, free: 97.1 MB / 0.9792 GB Notification: Performance of SimCode: time 6.51e-07/6.181, allocations: 0 / 2.766 GB, free: 97.1 MB / 0.9792 GB Notification: Performance of Templates: time 0.1019/6.283, allocations: 56.52 MB / 2.822 GB, free: 94.94 MB / 0.9792 GB make -j1 -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.makefile (rm -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe ; mkfifo Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe >> ../files/Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.sim & ./Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe 2>&1)