Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating,fileNamePrefix="Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating,fileNamePrefix="Buildings_9_Buildings_Obsolete_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 9.1.1-maint.9.1.x/package.mo): time 2.192/2.192, allocations: 390.3 MB / 405.3 MB, free: 13.44 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 169.2 kB / 498.1 MB, free: 5.672 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.716/1.716, allocations: 223.1 MB / 0.7948 GB, free: 18.84 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 96.31 kB / 0.9346 GB, free: 7.125 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000391/0.000391, allocations: 8.453 kB / 1.084 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.3282, allocations: 142.4 MB / 1.223 GB, free: 89.45 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.304/1.632, allocations: 445.3 MB / 1.658 GB, free: 4.633 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002763/1.632, allocations: 99.75 kB / 1.658 GB, free: 4.574 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.936/6.568, allocations: 1.308 GB / 2.966 GB, free: 165.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.577e-06/6.568, allocations: 0 / 2.966 GB, free: 165.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.000326/6.568, allocations: 78.92 kB / 2.966 GB, free: 165.1 MB / 1.167 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.008868/6.577, allocations: 3.25 MB / 2.969 GB, free: 163.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.135e-05/6.577, allocations: 10.81 kB / 2.969 GB, free: 163.7 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000617/6.578, allocations: 262.1 kB / 2.97 GB, free: 163.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005147/6.583, allocations: 1.004 MB / 2.971 GB, free: 163.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007015/6.59, allocations: 2.962 MB / 2.974 GB, free: 162.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001139/6.59, allocations: 159.8 kB / 2.974 GB, free: 162.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003299/6.591, allocations: 197.7 kB / 2.974 GB, free: 162.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005087/6.596, allocations: 2.487 MB / 2.976 GB, free: 162.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.408e-05/6.596, allocations: 2.344 kB / 2.976 GB, free: 162.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002007/6.596, allocations: 85.81 kB / 2.976 GB, free: 162.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-05/6.596, allocations: 51.88 kB / 2.976 GB, free: 162.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005289/6.601, allocations: 2.353 MB / 2.979 GB, free: 162.6 MB / 1.167 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.01835/6.62, allocations: 12.15 MB / 2.991 GB, free: 156.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007991/6.628, allocations: 2.35 MB / 2.993 GB, free: 156.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001081/6.629, allocations: 1.37 MB / 2.994 GB, free: 154.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.621e-05/6.629, allocations: 51.28 kB / 2.994 GB, free: 154.9 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002295/6.631, allocations: 279.7 kB / 2.995 GB, free: 154.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=105): time 9.649e-06/6.631, allocations: 2.281 kB / 2.995 GB, free: 154.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=111): time 0.03265/6.664, allocations: 8.289 MB / 3.003 GB, free: 152.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.008e-05/6.664, allocations: 166.7 kB / 3.003 GB, free: 152.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00486/6.669, allocations: 1.893 MB / 3.005 GB, free: 151.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.00036/6.669, allocations: 53.2 kB / 3.005 GB, free: 151.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001311/6.671, allocations: 1.2 MB / 3.006 GB, free: 150.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004861/6.671, allocations: 378.1 kB / 3.006 GB, free: 150 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001704/6.671, allocations: 31.12 kB / 3.006 GB, free: 150 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001344/6.672, allocations: 366.3 kB / 3.007 GB, free: 149.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002368/6.674, allocations: 0.8921 MB / 3.007 GB, free: 149.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002734/6.677, allocations: 1.353 MB / 3.009 GB, free: 148.3 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002484/6.679, allocations: 0.9874 MB / 3.01 GB, free: 147.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.428e-06/6.679, allocations: 3.156 kB / 3.01 GB, free: 147.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.008548/6.688, allocations: 2.986 MB / 3.013 GB, free: 146.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009558/6.689, allocations: 3.744 MB / 3.016 GB, free: 142.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.733e-05/6.689, allocations: 11.19 kB / 3.016 GB, free: 142.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005515/6.694, allocations: 1.361 MB / 3.018 GB, free: 141.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001653/6.696, allocations: 330.5 kB / 3.018 GB, free: 141.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01369/6.71, allocations: 6.22 MB / 3.024 GB, free: 137.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004678/6.714, allocations: 392.6 kB / 3.024 GB, free: 137.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005472/6.715, allocations: 74.98 kB / 3.025 GB, free: 137.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/6.715, allocations: 5.906 kB / 3.025 GB, free: 137.1 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006506/6.722, allocations: 2.325 MB / 3.027 GB, free: 136 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.52e-05/6.722, allocations: 7.125 kB / 3.027 GB, free: 136 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002659/6.724, allocations: 0.6671 MB / 3.027 GB, free: 135.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00185/6.726, allocations: 401.2 kB / 3.028 GB, free: 135.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01299/6.739, allocations: 6.872 MB / 3.035 GB, free: 130.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003953/6.743, allocations: 339.7 kB / 3.035 GB, free: 130.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004901/6.744, allocations: 79.61 kB / 3.035 GB, free: 130.2 MB / 1.167 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.002292/6.746, allocations: 0.6165 MB / 3.036 GB, free: 129.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009499/6.747, allocations: 234.2 kB / 3.036 GB, free: 129.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006671/6.754, allocations: 2.499 MB / 3.038 GB, free: 128.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-05/6.754, allocations: 16.12 kB / 3.038 GB, free: 128.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/6.754, allocations: 0 / 3.038 GB, free: 128.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00487/6.759, allocations: 2.346 MB / 3.041 GB, free: 126.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01302/6.772, allocations: 4.887 MB / 3.045 GB, free: 122.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/6.772, allocations: 0 / 3.045 GB, free: 122.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001316/6.773, allocations: 267.8 kB / 3.046 GB, free: 122.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003228/6.776, allocations: 0.8052 MB / 3.046 GB, free: 121.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001512/6.776, allocations: 39.97 kB / 3.046 GB, free: 121.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002445/6.779, allocations: 1.469 MB / 3.048 GB, free: 119.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/6.779, allocations: 2.297 kB / 3.048 GB, free: 119.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00875/6.788, allocations: 3.606 MB / 3.051 GB, free: 116.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002045/6.79, allocations: 0.5291 MB / 3.052 GB, free: 115.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009155/6.791, allocations: 24 kB / 3.052 GB, free: 115.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003049/6.794, allocations: 307.6 kB / 3.052 GB, free: 115.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002061/6.794, allocations: 80.84 kB / 3.052 GB, free: 115.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000154/6.794, allocations: 47.95 kB / 3.052 GB, free: 115.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.003479/6.798, allocations: 1.459 MB / 3.054 GB, free: 113.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.5e-07/6.798, allocations: 0 / 3.054 GB, free: 113.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.00695/6.805, allocations: 1.289 MB / 3.055 GB, free: 112.5 MB / 1.167 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.01095/6.816, allocations: 5.369 MB / 3.06 GB, free: 107.2 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.009009/6.825, allocations: 3.799 MB / 3.064 GB, free: 103.4 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.066e-05/6.825, allocations: 0 / 3.064 GB, free: 103.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0023/6.827, allocations: 0.9934 MB / 3.065 GB, free: 102.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006089/6.833, allocations: 1.105 MB / 3.066 GB, free: 101.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01975/6.853, allocations: 13.75 MB / 3.079 GB, free: 87.15 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001885/6.855, allocations: 1.688 MB / 3.081 GB, free: 85.44 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.003214/6.858, allocations: 474.4 kB / 3.081 GB, free: 85.02 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001778/6.86, allocations: 1.054 MB / 3.083 GB, free: 83.96 MB / 1.167 GB Notification: Performance of SimCode: time 2.094e-06/6.86, allocations: 3.938 kB / 3.083 GB, free: 83.96 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1285/6.988, allocations: 85.07 MB / 3.166 GB, free: 1.07 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002705/6.989, allocations: 306.5 kB / 3.166 GB, free: 0.707 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.105/12.09, allocations: 0 / 3.166 GB, free: 0.707 MB / 1.167 GB (rm -f Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.pipe ; mkfifo Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.pipe >> ../files/Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating_res.mat --tempDir=temp_Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating.fmu > Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating_res.mat does not exist to compare? outputFormat=mat