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.321/2.321, allocations: 387.4 MB / 394.9 MB, free: 13.4 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.001809/0.001809, allocations: 184.8 kB / 487.4 MB, free: 5.07 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.619/1.619, allocations: 221.5 MB / 0.7824 GB, free: 0.9805 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009992/0.0009993, allocations: 103.8 kB / 0.9219 GB, free: 2.227 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.335e-05/2.336e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3386/0.3387, allocations: 142.4 MB / 1.206 GB, free: 43.89 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.332/1.671, allocations: 444.5 MB / 1.64 GB, free: 10.18 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002824/1.671, allocations: 92.86 kB / 1.64 GB, free: 10.13 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 4.895/6.566, allocations: 1.299 GB / 2.939 GB, free: 113.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.613e-06/6.566, allocations: 4 kB / 2.939 GB, free: 113.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0003005/6.567, allocations: 85.47 kB / 2.939 GB, free: 113.7 MB / 1.151 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.005848/6.572, allocations: 2.74 MB / 2.942 GB, free: 111 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/6.572, allocations: 14.66 kB / 2.942 GB, free: 110.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004894/6.577, allocations: 1.009 MB / 2.943 GB, free: 109.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005525/6.583, allocations: 2.92 MB / 2.946 GB, free: 107 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.399e-05/6.583, allocations: 56 kB / 2.946 GB, free: 107 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002713/6.583, allocations: 116 kB / 2.946 GB, free: 106.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002602/6.586, allocations: 1.582 MB / 2.947 GB, free: 105.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002699/6.589, allocations: 1.882 MB / 2.949 GB, free: 103.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.901e-05/6.589, allocations: 0 / 2.949 GB, free: 103.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001541/6.589, allocations: 4 kB / 2.949 GB, free: 103.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-05/6.589, allocations: 48 kB / 2.949 GB, free: 103.2 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.01372/6.603, allocations: 11.8 MB / 2.961 GB, free: 90.74 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00494/6.608, allocations: 1.631 MB / 2.962 GB, free: 89.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009177/6.608, allocations: 0.6686 MB / 2.963 GB, free: 88.43 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009097/6.609, allocations: 1.369 MB / 2.964 GB, free: 86.77 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/6.609, allocations: 47.88 kB / 2.964 GB, free: 86.71 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001924/6.611, allocations: 238.1 kB / 2.965 GB, free: 86.48 MB / 1.151 GB Notification: Performance of pre-optimization done (n=105): time 4.037e-06/6.611, allocations: 0 / 2.965 GB, free: 86.48 MB / 1.151 GB Notification: Performance of matching and sorting (n=111): time 0.008137/6.62, allocations: 3.455 MB / 2.968 GB, free: 82.98 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.392e-05/6.62, allocations: 167.5 kB / 2.968 GB, free: 82.77 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002119/6.622, allocations: 1.579 MB / 2.97 GB, free: 81.17 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001669/6.622, allocations: 29.7 kB / 2.97 GB, free: 81.14 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000642/6.623, allocations: 1.19 MB / 2.971 GB, free: 79.93 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002414/6.623, allocations: 370.5 kB / 2.971 GB, free: 79.57 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.916e-05/6.623, allocations: 4 kB / 2.971 GB, free: 79.56 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.309e-05/6.623, allocations: 357.9 kB / 2.972 GB, free: 79.21 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007374/6.624, allocations: 0.5428 MB / 2.972 GB, free: 78.66 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009042/6.625, allocations: 0.985 MB / 2.973 GB, free: 77.49 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001366/6.626, allocations: 0.7227 MB / 2.974 GB, free: 76.77 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/6.626, allocations: 4 kB / 2.974 GB, free: 76.77 MB / 1.151 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.00629/6.632, allocations: 2.388 MB / 2.976 GB, free: 74.36 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006122/6.633, allocations: 3.706 MB / 2.98 GB, free: 70.28 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.686e-05/6.633, allocations: 8 kB / 2.98 GB, free: 70.27 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002974/6.636, allocations: 0.8517 MB / 2.981 GB, free: 69.42 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001606/6.638, allocations: 367.5 kB / 2.981 GB, free: 69.06 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008048/6.646, allocations: 5.289 MB / 2.986 GB, free: 63.61 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003365/6.649, allocations: 371.4 kB / 2.986 GB, free: 63.25 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000271/6.649, allocations: 75.95 kB / 2.987 GB, free: 63.18 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/6.649, allocations: 4 kB / 2.987 GB, free: 63.17 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006245/6.656, allocations: 2.015 MB / 2.989 GB, free: 61.15 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.086e-05/6.656, allocations: 8 kB / 2.989 GB, free: 61.14 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002046/6.658, allocations: 0.5794 MB / 2.989 GB, free: 60.56 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001784/6.66, allocations: 394 kB / 2.989 GB, free: 60.18 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009111/6.669, allocations: 6.959 MB / 2.996 GB, free: 52.86 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003323/6.672, allocations: 318.7 kB / 2.997 GB, free: 52.55 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000238/6.672, allocations: 75.89 kB / 2.997 GB, free: 52.48 MB / 1.151 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (140): * Single equations (assignments): 137 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 16,1 19,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0004347/6.673, allocations: 140.6 kB / 2.997 GB, free: 52.34 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002861/6.676, allocations: 1.451 MB / 2.998 GB, free: 50.87 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002963/6.676, allocations: 221.3 kB / 2.998 GB, free: 50.65 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003274/6.679, allocations: 1.769 MB / 3 GB, free: 48.87 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.575e-05/6.679, allocations: 19.28 kB / 3 GB, free: 48.85 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/6.679, allocations: 3.938 kB / 3 GB, free: 48.85 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002134/6.681, allocations: 1.656 MB / 3.002 GB, free: 47.11 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00676/6.688, allocations: 4.009 MB / 3.006 GB, free: 43.05 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/6.688, allocations: 0 / 3.006 GB, free: 43.05 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001326/6.69, allocations: 295.7 kB / 3.006 GB, free: 42.77 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001219/6.691, allocations: 405.6 kB / 3.006 GB, free: 42.37 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.976e-05/6.691, allocations: 19.97 kB / 3.006 GB, free: 42.35 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001068/6.692, allocations: 1.543 MB / 3.008 GB, free: 40.76 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/6.692, allocations: 0 / 3.008 GB, free: 40.76 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003962/6.696, allocations: 2.501 MB / 3.01 GB, free: 38.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001347/6.697, allocations: 0.5136 MB / 3.011 GB, free: 37.66 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003007/6.698, allocations: 4 kB / 3.011 GB, free: 37.66 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002105/6.7, allocations: 303.5 kB / 3.011 GB, free: 37.36 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/6.7, allocations: 73.2 kB / 3.011 GB, free: 37.29 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001032/6.7, allocations: 47.95 kB / 3.011 GB, free: 37.25 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001685/6.702, allocations: 1.178 MB / 3.012 GB, free: 36.05 MB / 1.151 GB Notification: Performance of sort global known variables: time 4.01e-07/6.702, allocations: 0 / 3.012 GB, free: 36.05 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.006329/6.708, allocations: 1.281 MB / 3.014 GB, free: 34.77 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (hex.port_b1.h_outflow,hex.port_a2.h_outflow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 92 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 20,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.006039/6.714, allocations: 4.262 MB / 3.018 GB, free: 30.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.004249/6.718, allocations: 2.893 MB / 3.021 GB, free: 27.67 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.924e-06/6.718, allocations: 8.25 kB / 3.021 GB, free: 27.66 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0009284/6.719, allocations: 0.6697 MB / 3.021 GB, free: 26.99 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005465/6.725, allocations: 1.019 MB / 3.022 GB, free: 26.03 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01136/6.736, allocations: 4.084 MB / 3.026 GB, free: 21.89 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009458/6.737, allocations: 1.684 MB / 3.028 GB, free: 20.18 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.00296/6.74, allocations: 0.5783 MB / 3.028 GB, free: 19.65 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001109/6.741, allocations: 1.015 MB / 3.029 GB, free: 18.64 MB / 1.151 GB Notification: Performance of SimCode: time 1.372e-06/6.741, allocations: 0 / 3.029 GB, free: 18.64 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9261/7.667, allocations: 77.13 MB / 3.105 GB, free: 175.9 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002743/7.668, allocations: 235.7 kB / 3.105 GB, free: 175.6 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.04/12.71, allocations: 0.75 kB / 3.105 GB, free: 175.6 MB / 1.182 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