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: "" <> buildModelFMU(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.429/1.429, allocations: 252 MB / 267.3 MB, free: 10.84 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.001201/0.001201, allocations: 171.9 kB / 327 MB, free: 2.094 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.879/1.879, allocations: 205.4 MB / 0.578 GB, free: 20.17 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.0008307/0.0008308, allocations: 89.84 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003602/0.0003603, allocations: 11.73 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2044/0.2048, allocations: 106.3 MB / 0.9009 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating): time 0.08451/0.2893, allocations: 112.9 MB / 1.011 GB, free: 14.1 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.03289/0.3223, allocations: 26.24 MB / 1.037 GB, free: 3.805 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004986/0.3273, allocations: 111.1 kB / 1.037 GB, free: 3.695 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.003796/0.3311, allocations: 1.041 MB / 1.038 GB, free: 2.648 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01021/0.3414, allocations: 3.302 MB / 1.041 GB, free: 15.34 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.007375/0.3488, allocations: 2.945 MB / 1.044 GB, free: 12.42 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01084/0.3596, allocations: 9.382 MB / 1.053 GB, free: 3.016 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003425/0.3631, allocations: 2.279 MB / 1.055 GB, free: 0.6758 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.488/0.8511, allocations: 2.592 MB / 1.058 GB, free: 26.93 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00468/0.8558, allocations: 2.038 MB / 1.06 GB, free: 26.93 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0009403/0.8568, allocations: 101.2 kB / 1.06 GB, free: 26.93 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005445/0.8623, allocations: 1.377 MB / 1.061 GB, free: 26.93 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001246/0.8635, allocations: 497 kB / 1.062 GB, free: 26.93 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.003604/0.8672, allocations: 1.434 MB / 1.063 GB, free: 26.62 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01042/0.8776, allocations: 4.822 MB / 1.068 GB, free: 26.16 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.8776, allocations: 0.5312 kB / 1.068 GB, free: 26.16 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.498e-06/0.8777, allocations: 2.469 kB / 1.068 GB, free: 26.16 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001697/0.8778, allocations: 0 / 1.068 GB, free: 26.16 MB / 0.698 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.007655/0.8855, allocations: 2.838 MB / 1.071 GB, free: 24.78 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.61e-05/0.8856, allocations: 10.09 kB / 1.071 GB, free: 24.78 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006357/0.8862, allocations: 268.7 kB / 1.071 GB, free: 24.73 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006022/0.8923, allocations: 1.098 MB / 1.072 GB, free: 24.54 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005212/0.8975, allocations: 2.456 MB / 1.074 GB, free: 23.95 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001362/0.8977, allocations: 150.1 kB / 1.075 GB, free: 23.95 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003632/0.898, allocations: 189.3 kB / 1.075 GB, free: 23.95 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005431/0.9035, allocations: 2.52 MB / 1.077 GB, free: 23.63 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.4e-05/0.9035, allocations: 1.375 kB / 1.077 GB, free: 23.63 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002218/0.9038, allocations: 77.16 kB / 1.077 GB, free: 23.63 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.396e-05/0.9038, allocations: 54.16 kB / 1.077 GB, free: 23.63 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005972/0.9098, allocations: 2.385 MB / 1.08 GB, free: 23.57 MB / 0.698 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.01735/0.9272, allocations: 12.12 MB / 1.092 GB, free: 17.51 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007933/0.9351, allocations: 2.34 MB / 1.094 GB, free: 17.42 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00231/0.9375, allocations: 0.9421 MB / 1.095 GB, free: 17.39 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001012/0.9386, allocations: 1.377 MB / 1.096 GB, free: 15.88 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.098e-05/0.9386, allocations: 48.25 kB / 1.096 GB, free: 15.84 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002028/0.9407, allocations: 225.8 kB / 1.096 GB, free: 15.77 MB / 0.698 GB Notification: Performance of pre-optimization done (n=105): time 1.112e-05/0.9407, allocations: 0 / 1.096 GB, free: 15.77 MB / 0.698 GB Notification: Performance of matching and sorting (n=111): time 0.03375/0.9744, allocations: 9.018 MB / 1.105 GB, free: 14.63 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.703e-05/0.9746, allocations: 171.7 kB / 1.105 GB, free: 14.44 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004795/0.9794, allocations: 2.081 MB / 1.107 GB, free: 14.21 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.000332/0.9797, allocations: 51.23 kB / 1.107 GB, free: 14.18 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001303/0.981, allocations: 1.192 MB / 1.109 GB, free: 13.77 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005603/0.9816, allocations: 390.1 kB / 1.109 GB, free: 13.52 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002098/0.9818, allocations: 28.56 kB / 1.109 GB, free: 13.52 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.982, allocations: 359.6 kB / 1.109 GB, free: 13.21 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00299/0.985, allocations: 0.9141 MB / 1.11 GB, free: 13.19 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002813/0.9878, allocations: 1.32 MB / 1.111 GB, free: 12.73 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004696/0.9925, allocations: 2.053 MB / 1.113 GB, free: 12.34 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.361e-05/0.9925, allocations: 3.656 kB / 1.114 GB, free: 12.34 MB / 0.698 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.008542/1.001, allocations: 3.044 MB / 1.116 GB, free: 11.75 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000192/1.001, allocations: 378.5 kB / 1.117 GB, free: 11.31 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.967e-05/1.001, allocations: 10.56 kB / 1.117 GB, free: 11.31 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005885/1.007, allocations: 1.59 MB / 1.118 GB, free: 10.86 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001539/1.009, allocations: 332.5 kB / 1.119 GB, free: 10.79 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01205/1.021, allocations: 6.062 MB / 1.125 GB, free: 8.078 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003885/1.025, allocations: 387.7 kB / 1.125 GB, free: 7.945 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000468/1.025, allocations: 75.2 kB / 1.125 GB, free: 7.934 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/1.025, allocations: 3.344 kB / 1.125 GB, free: 7.934 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006442/1.032, allocations: 2.368 MB / 1.127 GB, free: 7.508 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.799e-05/1.032, allocations: 11.31 kB / 1.127 GB, free: 7.508 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00251/1.034, allocations: 0.6902 MB / 1.128 GB, free: 7.297 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001747/1.036, allocations: 397.1 kB / 1.128 GB, free: 7.219 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01176/1.048, allocations: 6.775 MB / 1.135 GB, free: 3.656 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003594/1.052, allocations: 335.2 kB / 1.135 GB, free: 3.539 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004294/1.052, allocations: 71.86 kB / 1.135 GB, free: 3.527 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (127): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,16), (3,36)} Notification: Performance of prepare postOptimizeDAE: time 0.001992/1.054, allocations: 0.6162 MB / 1.136 GB, free: 3.32 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007796/1.055, allocations: 232 kB / 1.136 GB, free: 3.199 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006427/1.061, allocations: 2.519 MB / 1.139 GB, free: 2.602 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.629e-05/1.061, allocations: 10.28 kB / 1.139 GB, free: 2.602 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/1.061, allocations: 0 / 1.139 GB, free: 2.602 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004752/1.066, allocations: 2.354 MB / 1.141 GB, free: 1.801 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01256/1.079, allocations: 5.117 MB / 1.146 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.398e-06/1.079, allocations: 0 / 1.146 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001265/1.08, allocations: 265.3 kB / 1.146 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002909/1.083, allocations: 0.7973 MB / 1.147 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001428/1.083, allocations: 33.41 kB / 1.147 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002451/1.086, allocations: 1.48 MB / 1.149 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/1.086, allocations: 0 / 1.149 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008482/1.094, allocations: 3.545 MB / 1.152 GB, free: 9.914 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001669/1.096, allocations: 0.5234 MB / 1.153 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008319/1.097, allocations: 23.31 kB / 1.153 GB, free: 9.516 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002946/1.1, allocations: 306.2 kB / 1.153 GB, free: 9.234 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001984/1.1, allocations: 82.34 kB / 1.153 GB, free: 9.168 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001717/1.1, allocations: 48.91 kB / 1.153 GB, free: 9.129 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.003496/1.104, allocations: 1.416 MB / 1.154 GB, free: 8.105 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.71e-07/1.104, allocations: 0 / 1.154 GB, free: 8.105 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.006524/1.11, allocations: 1.152 MB / 1.155 GB, free: 7.043 MB / 0.7136 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,37)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01039/1.12, allocations: 4.524 MB / 1.16 GB, free: 3.547 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.009482/1.13, allocations: 3.849 MB / 1.164 GB, free: 28 kB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/1.13, allocations: 0 / 1.164 GB, free: 28 kB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002584/1.133, allocations: 0.9952 MB / 1.165 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007055/1.14, allocations: 1.144 MB / 1.166 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06943/1.209, allocations: 22.77 MB / 1.188 GB, free: 5.82 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001136/1.21, allocations: 1.618 MB / 1.19 GB, free: 4.172 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.002513/1.213, allocations: 491.9 kB / 1.19 GB, free: 3.715 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001316/1.214, allocations: 1.046 MB / 1.191 GB, free: 2.668 MB / 0.7448 GB Notification: Performance of SimCode: time 9.02e-07/1.214, allocations: 0 / 1.191 GB, free: 2.668 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1142/1.328, allocations: 75.04 MB / 1.264 GB, free: 8.547 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002287/1.329, allocations: 344.7 kB / 1.265 GB, free: 8.164 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.541/5.87, allocations: 4.062 kB / 1.265 GB, free: 8.16 MB / 0.823 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating.fmu > Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.pipe 2>&1)