Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.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_Cooling,fileNamePrefix="Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling,fileNamePrefix="Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling",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.529/2.529, allocations: 387.1 MB / 399.7 MB, free: 9.453 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.001242/0.001242, allocations: 172.8 kB / 492.3 MB, free: 0.5938 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.901/1.901, allocations: 221.3 MB / 0.7872 GB, free: 12.89 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.001546/0.001546, allocations: 94.59 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.792e-05/5.83e-05, allocations: 8 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4208/0.4209, allocations: 142.4 MB / 1.212 GB, free: 38.4 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.558/1.979, allocations: 445.5 MB / 1.648 GB, free: 1.312 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003695/1.979, allocations: 92.81 kB / 1.648 GB, free: 1.262 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 6.449/8.428, allocations: 1.305 GB / 2.952 GB, free: 121.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.645e-06/8.428, allocations: 0 / 2.952 GB, free: 121.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0008605/8.429, allocations: 79.92 kB / 2.952 GB, free: 121.6 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.01293/8.442, allocations: 2.754 MB / 2.955 GB, free: 118.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 8.859e-05/8.442, allocations: 8.031 kB / 2.955 GB, free: 118.7 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001926/8.444, allocations: 257.9 kB / 2.955 GB, free: 118.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007306/8.451, allocations: 1.003 MB / 2.956 GB, free: 117.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01502/8.466, allocations: 2.934 MB / 2.959 GB, free: 114.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003875/8.467, allocations: 147.7 kB / 2.959 GB, free: 114.3 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001567/8.468, allocations: 207.5 kB / 2.959 GB, free: 114.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0124/8.481, allocations: 2.126 MB / 2.961 GB, free: 111.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001765/8.481, allocations: 11.89 kB / 2.961 GB, free: 111.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001084/8.482, allocations: 80 kB / 2.962 GB, free: 111.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001333/8.482, allocations: 51.98 kB / 2.962 GB, free: 111.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008209/8.491, allocations: 1.67 MB / 2.963 GB, free: 110.1 MB / 1.167 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.0431/8.534, allocations: 12.15 MB / 2.975 GB, free: 97.14 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006781/8.541, allocations: 1.421 MB / 2.977 GB, free: 95.71 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002177/8.543, allocations: 0.6499 MB / 2.977 GB, free: 95.06 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001762/8.545, allocations: 1.37 MB / 2.978 GB, free: 93.39 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.43e-05/8.545, allocations: 47.56 kB / 2.979 GB, free: 93.34 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004/8.549, allocations: 278.5 kB / 2.979 GB, free: 93.06 MB / 1.167 GB Notification: Performance of pre-optimization done (n=105): time 1.85e-05/8.549, allocations: 4 kB / 2.979 GB, free: 93.06 MB / 1.167 GB Notification: Performance of matching and sorting (n=111): time 0.01567/8.565, allocations: 3.331 MB / 2.982 GB, free: 89.66 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001337/8.565, allocations: 171.2 kB / 2.982 GB, free: 89.46 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005639/8.571, allocations: 1.816 MB / 2.984 GB, free: 87.62 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0006485/8.571, allocations: 57.7 kB / 2.984 GB, free: 87.56 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001591/8.573, allocations: 1.196 MB / 2.985 GB, free: 86.35 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.000755/8.574, allocations: 382.4 kB / 2.986 GB, free: 85.97 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001309/8.574, allocations: 28 kB / 2.986 GB, free: 85.94 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.000174/8.574, allocations: 358.1 kB / 2.986 GB, free: 85.59 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001649/8.576, allocations: 0.5585 MB / 2.986 GB, free: 85.03 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001774/8.577, allocations: 1.021 MB / 2.987 GB, free: 83.82 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001676/8.579, allocations: 0.6553 MB / 2.988 GB, free: 83.16 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-05/8.579, allocations: 4 kB / 2.988 GB, free: 83.16 MB / 1.167 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.0104/8.59, allocations: 2.471 MB / 2.991 GB, free: 80.68 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001449/8.591, allocations: 3.743 MB / 2.994 GB, free: 76.59 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.242e-05/8.591, allocations: 12 kB / 2.994 GB, free: 76.58 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006363/8.597, allocations: 1.128 MB / 2.995 GB, free: 75.46 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002512/8.6, allocations: 326.5 kB / 2.996 GB, free: 75.14 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01457/8.615, allocations: 5.29 MB / 3.001 GB, free: 69.71 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006732/8.621, allocations: 407.3 kB / 3.001 GB, free: 69.32 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000811/8.622, allocations: 79.52 kB / 3.001 GB, free: 69.24 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/8.622, allocations: 4 kB / 3.001 GB, free: 69.24 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01127/8.634, allocations: 2.101 MB / 3.003 GB, free: 67.13 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.495e-05/8.634, allocations: 8 kB / 3.003 GB, free: 67.12 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003485/8.637, allocations: 0.5977 MB / 3.004 GB, free: 66.53 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002986/8.64, allocations: 398.5 kB / 3.004 GB, free: 66.14 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01633/8.657, allocations: 6.206 MB / 3.01 GB, free: 59.68 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004923/8.662, allocations: 355.4 kB / 3.011 GB, free: 59.34 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006991/8.662, allocations: 75.95 kB / 3.011 GB, free: 59.26 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (125): * Single equations (assignments): 123 * 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 36} Notification: Performance of prepare postOptimizeDAE: time 0.001082/8.664, allocations: 188.6 kB / 3.011 GB, free: 59.07 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001268/8.665, allocations: 237.1 kB / 3.011 GB, free: 58.84 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005782/8.671, allocations: 1.869 MB / 3.013 GB, free: 56.95 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.257e-05/8.671, allocations: 19.94 kB / 3.013 GB, free: 56.93 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.308e-05/8.671, allocations: 4 kB / 3.013 GB, free: 56.93 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002879/8.674, allocations: 1.709 MB / 3.015 GB, free: 55.13 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01249/8.686, allocations: 4.277 MB / 3.019 GB, free: 50.79 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.418e-05/8.686, allocations: 0 / 3.019 GB, free: 50.79 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001489/8.688, allocations: 267.8 kB / 3.019 GB, free: 50.53 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00288/8.691, allocations: 0.6368 MB / 3.02 GB, free: 49.89 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002399/8.691, allocations: 39.97 kB / 3.02 GB, free: 49.86 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001871/8.693, allocations: 1.247 MB / 3.021 GB, free: 48.58 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/8.693, allocations: 4 kB / 3.021 GB, free: 48.58 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007856/8.701, allocations: 2.895 MB / 3.024 GB, free: 45.63 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00314/8.704, allocations: 0.538 MB / 3.024 GB, free: 45.07 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001208/8.705, allocations: 23.94 kB / 3.024 GB, free: 45.05 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003906/8.709, allocations: 311.5 kB / 3.025 GB, free: 44.75 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002637/8.709, allocations: 76.84 kB / 3.025 GB, free: 44.68 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001947/8.71, allocations: 51.91 kB / 3.025 GB, free: 44.62 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.003833/8.713, allocations: 1.387 MB / 3.026 GB, free: 43.22 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.7e-07/8.713, allocations: 0 / 3.026 GB, free: 43.22 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.01019/8.724, allocations: 1.277 MB / 3.027 GB, free: 41.95 MB / 1.167 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 (86): * Single equations (assignments): 78 * 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 37} Notification: Performance of Backend phase and start with SimCode phase: time 0.0114/8.735, allocations: 4.677 MB / 3.032 GB, free: 37.28 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.00716/8.742, allocations: 2.976 MB / 3.035 GB, free: 34.27 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.128e-05/8.742, allocations: 0 / 3.035 GB, free: 34.27 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001576/8.744, allocations: 0.7059 MB / 3.036 GB, free: 33.56 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008102/8.752, allocations: 1.115 MB / 3.037 GB, free: 32.51 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01799/8.77, allocations: 4.212 MB / 3.041 GB, free: 28.25 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001595/8.772, allocations: 1.681 MB / 3.042 GB, free: 26.54 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.005287/8.777, allocations: 0.603 MB / 3.043 GB, free: 25.97 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002431/8.78, allocations: 0.9991 MB / 3.044 GB, free: 24.97 MB / 1.167 GB Notification: Performance of SimCode: time 3.226e-06/8.78, allocations: 0 / 3.044 GB, free: 24.97 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.452/10.23, allocations: 90.98 MB / 3.133 GB, free: 162.1 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000236/10.23, allocations: 277.7 kB / 3.133 GB, free: 161.8 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.294/16.53, allocations: 0 / 3.133 GB, free: 161.8 MB / 1.182 GB (rm -f Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe ; mkfifo Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe >> ../files/Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling_res.mat --tempDir=temp_Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling.fmu > Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling_res.mat does not exist to compare? outputFormat=mat