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="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_Heating") translateModel(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating,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_Heating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.346/1.346, allocations: 251.9 MB / 266.9 MB, free: 10.99 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.001096/0.001096, allocations: 190.3 kB / 326.5 MB, free: 2.211 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.804/1.804, allocations: 205.4 MB / 0.5775 GB, free: 20.2 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.0008761/0.0008761, allocations: 82.42 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003641/0.0003641, allocations: 10.06 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.234/0.2343, allocations: 106.3 MB / 0.9001 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9836/1.218, allocations: 439 MB / 1.329 GB, free: 9.918 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002412/1.218, allocations: 96.56 kB / 1.329 GB, free: 9.863 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.779/5.997, allocations: 1.245 GB / 2.574 GB, free: 93.22 MB / 0.9011 GB Notification: Performance of FrontEnd: time 3.426e-06/5.997, allocations: 0 / 2.574 GB, free: 93.22 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0005168/5.997, allocations: 78.41 kB / 2.574 GB, free: 93.21 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.01171/6.009, allocations: 3.238 MB / 2.577 GB, free: 91.82 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/6.009, allocations: 10.19 kB / 2.577 GB, free: 91.82 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005485/6.015, allocations: 0.9997 MB / 2.578 GB, free: 91.66 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006771/6.022, allocations: 2.945 MB / 2.581 GB, free: 91.12 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/6.022, allocations: 146.2 kB / 2.581 GB, free: 91.12 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003758/6.022, allocations: 199.8 kB / 2.581 GB, free: 91.12 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004796/6.027, allocations: 2.469 MB / 2.583 GB, free: 90.83 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.515e-05/6.027, allocations: 12.97 kB / 2.583 GB, free: 90.83 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002048/6.027, allocations: 76.47 kB / 2.584 GB, free: 90.83 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.289e-05/6.027, allocations: 53.72 kB / 2.584 GB, free: 90.83 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005165/6.032, allocations: 2.35 MB / 2.586 GB, free: 90.81 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.01633/6.049, allocations: 12.12 MB / 2.598 GB, free: 84.82 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007496/6.056, allocations: 2.336 MB / 2.6 GB, free: 84.79 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001123/6.057, allocations: 1.371 MB / 2.601 GB, free: 83.29 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.658e-05/6.057, allocations: 47.72 kB / 2.601 GB, free: 83.25 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002522/6.06, allocations: 277.8 kB / 2.602 GB, free: 83.18 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=105): time 5.681e-06/6.06, allocations: 0 / 2.602 GB, free: 83.18 MB / 0.9011 GB Notification: Performance of matching and sorting (n=111): time 0.0274/6.087, allocations: 8.176 MB / 2.61 GB, free: 82.29 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.765e-05/6.088, allocations: 166 kB / 2.61 GB, free: 82.1 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002944/6.09, allocations: 1.857 MB / 2.612 GB, free: 81.89 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0002348/6.091, allocations: 56.17 kB / 2.612 GB, free: 81.86 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007841/6.092, allocations: 1.193 MB / 2.613 GB, free: 81.45 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.000298/6.092, allocations: 397 kB / 2.613 GB, free: 81.2 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.21e-05/6.092, allocations: 29.34 kB / 2.613 GB, free: 81.2 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 9.045e-05/6.092, allocations: 356.1 kB / 2.614 GB, free: 80.9 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002006/6.094, allocations: 0.8886 MB / 2.614 GB, free: 80.89 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002215/6.096, allocations: 1.368 MB / 2.616 GB, free: 80.38 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002077/6.098, allocations: 0.9814 MB / 2.617 GB, free: 80.34 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/6.098, allocations: 8.234 kB / 2.617 GB, free: 80.33 MB / 0.9011 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.007407/6.106, allocations: 2.986 MB / 2.62 GB, free: 80.07 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009022/6.107, allocations: 3.739 MB / 2.623 GB, free: 76.09 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/6.107, allocations: 7.594 kB / 2.623 GB, free: 76.09 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004706/6.111, allocations: 1.324 MB / 2.625 GB, free: 76.02 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001514/6.113, allocations: 335.1 kB / 2.625 GB, free: 76.02 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01182/6.125, allocations: 6.209 MB / 2.631 GB, free: 74.06 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003656/6.128, allocations: 389.2 kB / 2.631 GB, free: 74.02 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002205/6.129, allocations: 83.75 kB / 2.631 GB, free: 74.02 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/6.129, allocations: 7.75 kB / 2.631 GB, free: 74.02 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00491/6.134, allocations: 2.315 MB / 2.634 GB, free: 73.92 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/6.134, allocations: 7.344 kB / 2.634 GB, free: 73.92 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002388/6.136, allocations: 0.6671 MB / 2.634 GB, free: 73.89 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001507/6.138, allocations: 390.5 kB / 2.635 GB, free: 73.88 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01137/6.149, allocations: 6.871 MB / 2.641 GB, free: 71.09 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003405/6.152, allocations: 342.7 kB / 2.642 GB, free: 71.05 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001803/6.153, allocations: 75.22 kB / 2.642 GB, free: 71.05 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.001553/6.154, allocations: 0.6129 MB / 2.642 GB, free: 70.86 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004656/6.155, allocations: 230.4 kB / 2.643 GB, free: 70.74 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005213/6.16, allocations: 2.5 MB / 2.645 GB, free: 70.56 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.882e-05/6.16, allocations: 21.08 kB / 2.645 GB, free: 70.56 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/6.16, allocations: 0 / 2.645 GB, free: 70.56 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004024/6.164, allocations: 2.332 MB / 2.647 GB, free: 70.05 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009138/6.173, allocations: 4.85 MB / 2.652 GB, free: 69.59 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.656e-06/6.173, allocations: 3.891 kB / 2.652 GB, free: 69.59 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001172/6.174, allocations: 260.5 kB / 2.652 GB, free: 69.59 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002401/6.177, allocations: 0.7853 MB / 2.653 GB, free: 69.54 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001017/6.177, allocations: 36.86 kB / 2.653 GB, free: 69.54 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001953/6.179, allocations: 1.463 MB / 2.655 GB, free: 68.98 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/6.179, allocations: 2.5 kB / 2.655 GB, free: 68.98 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006959/6.186, allocations: 3.57 MB / 2.658 GB, free: 68.51 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001651/6.188, allocations: 0.5158 MB / 2.659 GB, free: 68.22 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003071/6.188, allocations: 23.88 kB / 2.659 GB, free: 68.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001993/6.19, allocations: 310.5 kB / 2.659 GB, free: 68.15 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001493/6.19, allocations: 82.73 kB / 2.659 GB, free: 68.14 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001055/6.19, allocations: 51.84 kB / 2.659 GB, free: 68.13 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.00224/6.192, allocations: 1.435 MB / 2.66 GB, free: 67.55 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.11e-07/6.192, allocations: 0 / 2.66 GB, free: 67.55 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.004521/6.197, allocations: 1.288 MB / 2.662 GB, free: 67.36 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.00191/6.199, allocations: 1.151 MB / 2.663 GB, free: 66.92 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.007653/6.206, allocations: 3.79 MB / 2.667 GB, free: 65.5 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/6.207, allocations: 3.781 kB / 2.667 GB, free: 65.5 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.002082/6.209, allocations: 0.9862 MB / 2.668 GB, free: 65.2 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005264/6.214, allocations: 1.138 MB / 2.669 GB, free: 64.95 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01181/6.226, allocations: 5.729 MB / 2.674 GB, free: 62 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001052/6.227, allocations: 1.676 MB / 2.676 GB, free: 61.2 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.002711/6.23, allocations: 481.4 kB / 2.676 GB, free: 61.11 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005169/6.23, allocations: 174.3 kB / 2.677 GB, free: 61.09 MB / 0.9011 GB Notification: Performance of SimCode: time 1.352e-06/6.23, allocations: 0 / 2.677 GB, free: 61.09 MB / 0.9011 GB Notification: Performance of Templates: time 0.08351/6.314, allocations: 61.49 MB / 2.737 GB, free: 11.08 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 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.pipe 2>&1)