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/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_Cooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.m1_flow|hex.TSetCoo|hex.TSetHea|temCol.T|temWar.T|hex.valHea.y|hex.valCoo.y|hex.QWat_flow",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="mat",numberOfIntervals=5000,variableFilter="time|hex.m1_flow|hex.TSetCoo|hex.TSetHea|temCol.T|temWar.T|hex.valHea.y|hex.valCoo.y|hex.QWat_flow",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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.33/1.33, allocations: 251.9 MB / 266.9 MB, free: 11.03 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.001167/0.001167, allocations: 173.6 kB / 326.5 MB, free: 2.277 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.778/1.778, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.0009766/0.0009763, allocations: 98.69 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003452/0.0003453, allocations: 5.625 kB / 0.7962 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2326/0.233, allocations: 106.3 MB / 0.9001 GB, free: 64 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9616/1.195, allocations: 439.4 MB / 1.329 GB, free: 9.793 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002483/1.195, allocations: 100.5 kB / 1.329 GB, free: 9.738 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.86/6.055, allocations: 1.245 GB / 2.574 GB, free: 92.98 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.074e-06/6.055, allocations: 2.844 kB / 2.574 GB, free: 92.98 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0005512/6.056, allocations: 74.7 kB / 2.574 GB, free: 92.97 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.01106/6.067, allocations: 3.225 MB / 2.577 GB, free: 91.57 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/6.067, allocations: 10.34 kB / 2.577 GB, free: 91.57 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005879/6.073, allocations: 1.009 MB / 2.578 GB, free: 91.41 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008746/6.081, allocations: 2.942 MB / 2.581 GB, free: 90.88 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001803/6.082, allocations: 152.1 kB / 2.581 GB, free: 90.87 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008847/6.082, allocations: 200 kB / 2.582 GB, free: 90.87 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008203/6.091, allocations: 2.472 MB / 2.584 GB, free: 90.58 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.985e-05/6.091, allocations: 9.5 kB / 2.584 GB, free: 90.58 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004208/6.091, allocations: 78.22 kB / 2.584 GB, free: 90.58 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.088e-05/6.091, allocations: 49.59 kB / 2.584 GB, free: 90.58 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006465/6.098, allocations: 2.35 MB / 2.586 GB, free: 90.56 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.02153/6.119, allocations: 12.12 MB / 2.598 GB, free: 84.57 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005805/6.125, allocations: 2.112 MB / 2.6 GB, free: 84.53 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009653/6.126, allocations: 1.366 MB / 2.602 GB, free: 83.03 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.86e-05/6.126, allocations: 47.2 kB / 2.602 GB, free: 82.99 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001971/6.128, allocations: 285.7 kB / 2.602 GB, free: 82.93 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=105): time 5.521e-06/6.128, allocations: 2.156 kB / 2.602 GB, free: 82.93 MB / 0.9011 GB Notification: Performance of matching and sorting (n=111): time 0.02815/6.156, allocations: 8.175 MB / 2.61 GB, free: 82.03 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.388e-05/6.157, allocations: 177 kB / 2.61 GB, free: 81.84 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003101/6.16, allocations: 1.859 MB / 2.612 GB, free: 81.63 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0002268/6.16, allocations: 52.45 kB / 2.612 GB, free: 81.6 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008328/6.161, allocations: 1.191 MB / 2.613 GB, free: 81.2 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003327/6.161, allocations: 389.3 kB / 2.614 GB, free: 80.95 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.093e-05/6.161, allocations: 26.16 kB / 2.614 GB, free: 80.95 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001101/6.161, allocations: 363.1 kB / 2.614 GB, free: 80.64 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002113/6.163, allocations: 0.8873 MB / 2.615 GB, free: 80.64 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002268/6.166, allocations: 1.365 MB / 2.616 GB, free: 80.11 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002166/6.168, allocations: 0.984 MB / 2.617 GB, free: 80.06 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/6.168, allocations: 0 / 2.617 GB, free: 80.06 MB / 0.9011 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.007779/6.176, allocations: 2.987 MB / 2.62 GB, free: 79.8 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009674/6.177, allocations: 3.741 MB / 2.624 GB, free: 75.81 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.69e-05/6.177, allocations: 11.38 kB / 2.624 GB, free: 75.81 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004848/6.182, allocations: 1.322 MB / 2.625 GB, free: 75.75 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001545/6.183, allocations: 338.2 kB / 2.625 GB, free: 75.74 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01277/6.196, allocations: 6.202 MB / 2.631 GB, free: 73.78 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004087/6.2, allocations: 393.5 kB / 2.632 GB, free: 73.74 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004992/6.201, allocations: 73.97 kB / 2.632 GB, free: 73.74 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/6.201, allocations: 3.125 kB / 2.632 GB, free: 73.74 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006136/6.207, allocations: 2.325 MB / 2.634 GB, free: 73.64 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.638e-05/6.207, allocations: 6.5 kB / 2.634 GB, free: 73.64 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002499/6.209, allocations: 0.6668 MB / 2.635 GB, free: 73.61 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001756/6.211, allocations: 395.6 kB / 2.635 GB, free: 73.6 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01253/6.224, allocations: 6.876 MB / 2.642 GB, free: 70.81 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004145/6.228, allocations: 344 kB / 2.642 GB, free: 70.78 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005813/6.228, allocations: 69.48 kB / 2.642 GB, free: 70.78 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 (126): * Single equations (assignments): 124 * 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 35} Notification: Performance of prepare postOptimizeDAE: time 0.002893/6.231, allocations: 0.6161 MB / 2.643 GB, free: 70.58 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001215/6.233, allocations: 236 kB / 2.643 GB, free: 70.46 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007809/6.24, allocations: 2.489 MB / 2.645 GB, free: 70.29 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.263e-05/6.24, allocations: 16.97 kB / 2.645 GB, free: 70.29 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/6.24, allocations: 3.953 kB / 2.645 GB, free: 70.28 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004699/6.245, allocations: 2.334 MB / 2.648 GB, free: 69.77 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01191/6.257, allocations: 4.836 MB / 2.652 GB, free: 69.32 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.117e-05/6.257, allocations: 3.953 kB / 2.652 GB, free: 69.32 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001227/6.258, allocations: 271.7 kB / 2.653 GB, free: 69.31 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002549/6.261, allocations: 0.7849 MB / 2.654 GB, free: 69.27 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001259/6.261, allocations: 34.5 kB / 2.654 GB, free: 69.27 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002174/6.263, allocations: 1.462 MB / 2.655 GB, free: 68.71 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/6.263, allocations: 0 / 2.655 GB, free: 68.71 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007691/6.271, allocations: 3.573 MB / 2.658 GB, free: 68.21 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001833/6.273, allocations: 0.5172 MB / 2.659 GB, free: 67.84 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008724/6.274, allocations: 23.22 kB / 2.659 GB, free: 67.83 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002879/6.277, allocations: 310 kB / 2.659 GB, free: 67.78 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001719/6.277, allocations: 75.41 kB / 2.659 GB, free: 67.77 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001449/6.277, allocations: 50.48 kB / 2.659 GB, free: 67.76 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.003551/6.281, allocations: 1.438 MB / 2.661 GB, free: 67.19 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.6e-07/6.281, allocations: 4 kB / 2.661 GB, free: 67.18 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.006741/6.287, allocations: 1.291 MB / 2.662 GB, free: 66.99 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 (87): * Single equations (assignments): 79 * 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 36} Notification: Performance of Backend phase and start with SimCode phase: time 0.002489/6.29, allocations: 1.156 MB / 2.663 GB, free: 66.54 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.009016/6.299, allocations: 3.783 MB / 2.667 GB, free: 65.14 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/6.299, allocations: 3.719 kB / 2.667 GB, free: 65.14 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.002333/6.301, allocations: 0.984 MB / 2.668 GB, free: 64.84 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006187/6.307, allocations: 1.138 MB / 2.669 GB, free: 64.6 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01422/6.322, allocations: 5.733 MB / 2.675 GB, free: 61.64 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002095/6.324, allocations: 1.676 MB / 2.676 GB, free: 60.85 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.003367/6.327, allocations: 479.7 kB / 2.677 GB, free: 60.75 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008212/6.328, allocations: 181.6 kB / 2.677 GB, free: 60.73 MB / 0.9011 GB Notification: Performance of SimCode: time 1.994e-06/6.328, allocations: 0 / 2.677 GB, free: 60.73 MB / 0.9011 GB Notification: Performance of Templates: time 0.09531/6.423, allocations: 61.47 MB / 2.737 GB, free: 10.85 MB / 0.9011 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.makefile (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 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe 2>&1)