Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.914/3.914, allocations: 251.1 MB / 266.7 MB, free: 11.58 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.002183/0.002183, allocations: 185.5 kB / 326.2 MB, free: 2.867 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.893/3.893, allocations: 205.4 MB / 0.5772 GB, free: 20.74 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.001462/0.001462, allocations: 92.72 kB / 0.6817 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0008149/0.0008152, allocations: 15.72 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3817/0.3825, allocations: 106.3 MB / 0.8995 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.052/2.434, allocations: 439.2 MB / 1.328 GB, free: 12.75 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005788/2.435, allocations: 99.38 kB / 1.328 GB, free: 12.69 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 10.57/13.01, allocations: 1.237 GB / 2.566 GB, free: 93.69 MB / 0.9011 GB Notification: Performance of FrontEnd: time 3.246e-06/13.01, allocations: 0 / 2.566 GB, free: 93.69 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0008146/13.01, allocations: 82.17 kB / 2.566 GB, free: 93.68 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.01931/13.03, allocations: 3.233 MB / 2.569 GB, free: 92.32 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 6.853e-05/13.03, allocations: 10.19 kB / 2.569 GB, free: 92.32 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01344/13.04, allocations: 1.004 MB / 2.57 GB, free: 92.15 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01597/13.06, allocations: 2.847 MB / 2.573 GB, free: 91.62 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003818/13.06, allocations: 152.7 kB / 2.573 GB, free: 91.61 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001478/13.06, allocations: 198.7 kB / 2.573 GB, free: 91.61 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01529/13.07, allocations: 2.49 MB / 2.576 GB, free: 91.32 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001378/13.07, allocations: 5.969 kB / 2.576 GB, free: 91.32 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008363/13.07, allocations: 80.72 kB / 2.576 GB, free: 91.32 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001058/13.07, allocations: 50.34 kB / 2.576 GB, free: 91.32 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01665/13.09, allocations: 2.354 MB / 2.578 GB, free: 91.3 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.04139/13.13, allocations: 12.1 MB / 2.59 GB, free: 85.3 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01747/13.15, allocations: 2.104 MB / 2.592 GB, free: 85.27 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006023/13.16, allocations: 0.9368 MB / 2.593 GB, free: 85.25 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002163/13.16, allocations: 1.369 MB / 2.594 GB, free: 83.75 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.147e-05/13.16, allocations: 46.45 kB / 2.594 GB, free: 83.71 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004456/13.16, allocations: 275 kB / 2.594 GB, free: 83.65 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=105): time 1.646e-05/13.16, allocations: 0.9375 kB / 2.594 GB, free: 83.65 MB / 0.9011 GB Notification: Performance of matching and sorting (n=111): time 0.07943/13.24, allocations: 8.427 MB / 2.603 GB, free: 82.75 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001155/13.24, allocations: 169.9 kB / 2.603 GB, free: 82.57 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008097/13.25, allocations: 2.072 MB / 2.605 GB, free: 82.34 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0006935/13.25, allocations: 51.08 kB / 2.605 GB, free: 82.3 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.002332/13.25, allocations: 1.197 MB / 2.606 GB, free: 81.9 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.001096/13.26, allocations: 381.6 kB / 2.606 GB, free: 81.66 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003534/13.26, allocations: 33.78 kB / 2.606 GB, free: 81.66 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002198/13.26, allocations: 365.3 kB / 2.607 GB, free: 81.35 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006472/13.26, allocations: 0.8908 MB / 2.608 GB, free: 81.35 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007315/13.27, allocations: 1.37 MB / 2.609 GB, free: 80.83 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006735/13.28, allocations: 0.9879 MB / 2.61 GB, free: 80.81 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-05/13.28, allocations: 3.344 kB / 2.61 GB, free: 80.81 MB / 0.9011 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.0224/13.3, allocations: 3.007 MB / 2.613 GB, free: 80.57 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003921/13.3, allocations: 367 kB / 2.613 GB, free: 80.14 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.292e-05/13.3, allocations: 13.75 kB / 2.613 GB, free: 80.14 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0141/13.31, allocations: 1.371 MB / 2.615 GB, free: 80.07 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003868/13.32, allocations: 329.5 kB / 2.615 GB, free: 80.07 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03242/13.35, allocations: 6.073 MB / 2.621 GB, free: 78.09 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008506/13.36, allocations: 389.8 kB / 2.621 GB, free: 78.05 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008599/13.36, allocations: 83.16 kB / 2.621 GB, free: 78.05 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/13.36, allocations: 3 kB / 2.621 GB, free: 78.05 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01562/13.38, allocations: 2.331 MB / 2.624 GB, free: 77.95 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.757e-05/13.38, allocations: 9.438 kB / 2.624 GB, free: 77.95 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006841/13.38, allocations: 0.6745 MB / 2.624 GB, free: 77.92 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004726/13.39, allocations: 391.3 kB / 2.625 GB, free: 77.91 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03129/13.42, allocations: 6.778 MB / 2.631 GB, free: 75.13 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007579/13.43, allocations: 340.5 kB / 2.632 GB, free: 75.1 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007323/13.43, allocations: 71.89 kB / 2.632 GB, free: 75.1 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.003419/13.43, allocations: 0.6215 MB / 2.632 GB, free: 74.9 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001213/13.43, allocations: 229.6 kB / 2.632 GB, free: 74.78 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0168/13.45, allocations: 2.501 MB / 2.635 GB, free: 74.61 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.535e-05/13.45, allocations: 17.66 kB / 2.635 GB, free: 74.61 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/13.45, allocations: 2.156 kB / 2.635 GB, free: 74.61 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01326/13.46, allocations: 2.334 MB / 2.637 GB, free: 74.1 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02458/13.49, allocations: 4.842 MB / 2.642 GB, free: 73.65 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-05/13.49, allocations: 4.094 kB / 2.642 GB, free: 73.64 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003466/13.49, allocations: 257.7 kB / 2.642 GB, free: 73.64 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007097/13.5, allocations: 0.7823 MB / 2.643 GB, free: 73.6 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004881/13.5, allocations: 36.84 kB / 2.643 GB, free: 73.6 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006324/13.5, allocations: 1.483 MB / 2.644 GB, free: 73.04 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/13.5, allocations: 3.375 kB / 2.644 GB, free: 73.04 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02186/13.53, allocations: 3.537 MB / 2.648 GB, free: 72.64 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002949/13.53, allocations: 0.506 MB / 2.648 GB, free: 72.42 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001423/13.53, allocations: 24.53 kB / 2.648 GB, free: 72.42 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006692/13.54, allocations: 312.3 kB / 2.649 GB, free: 72.39 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005324/13.54, allocations: 78.73 kB / 2.649 GB, free: 72.38 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003591/13.54, allocations: 48.06 kB / 2.649 GB, free: 72.38 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.006232/13.54, allocations: 1.394 MB / 2.65 GB, free: 72.23 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.303e-06/13.54, allocations: 0 / 2.65 GB, free: 72.23 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.01255/13.56, allocations: 1.271 MB / 2.651 GB, free: 72.18 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.004026/13.56, allocations: 1.135 MB / 2.652 GB, free: 71.79 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.02265/13.58, allocations: 3.796 MB / 2.656 GB, free: 71.29 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.477e-05/13.58, allocations: 4.719 kB / 2.656 GB, free: 71.29 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.006656/13.59, allocations: 0.994 MB / 2.657 GB, free: 71.26 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01533/13.61, allocations: 1.153 MB / 2.658 GB, free: 71.2 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03044/13.64, allocations: 5.753 MB / 2.664 GB, free: 68.5 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003338/13.64, allocations: 1.624 MB / 2.665 GB, free: 67.7 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.006349/13.65, allocations: 473.2 kB / 2.666 GB, free: 67.61 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001685/13.65, allocations: 175.4 kB / 2.666 GB, free: 67.59 MB / 0.9011 GB Notification: Performance of SimCode: time 1.703e-06/13.65, allocations: 0 / 2.666 GB, free: 67.59 MB / 0.9011 GB Notification: Performance of Templates: time 0.2097/13.86, allocations: 61.11 MB / 2.726 GB, free: 25.88 MB / 0.9011 GB make -j1 -f Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.makefile (rm -f Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe ; mkfifo Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe >> ../files/Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.sim & ./Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe 2>&1)