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.34/2.34, allocations: 387.1 MB / 399.7 MB, free: 9.523 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.001564/0.001564, allocations: 192.3 kB / 492.3 MB, free: 0.6055 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.764/1.764, allocations: 221.3 MB / 0.7871 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.001285/0.001285, allocations: 89.33 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.669e-05/5.684e-05, allocations: 6.578 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4328/0.4329, allocations: 142.3 MB / 1.212 GB, free: 38.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.589/2.022, allocations: 445.2 MB / 1.647 GB, free: 1.625 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003002/2.022, allocations: 97.42 kB / 1.647 GB, free: 1.57 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 5.964/7.986, allocations: 1.304 GB / 2.952 GB, free: 119.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.154e-06/7.986, allocations: 0 / 2.952 GB, free: 119.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.00062/7.987, allocations: 75.92 kB / 2.952 GB, free: 119.3 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.009702/7.997, allocations: 2.75 MB / 2.954 GB, free: 116.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.674e-05/7.997, allocations: 12.03 kB / 2.954 GB, free: 116.5 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001089/7.998, allocations: 257.9 kB / 2.955 GB, free: 116.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006069/8.004, allocations: 1.011 MB / 2.956 GB, free: 115.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00951/8.013, allocations: 2.918 MB / 2.959 GB, free: 112.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002127/8.014, allocations: 151.7 kB / 2.959 GB, free: 112.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001142/8.015, allocations: 199.9 kB / 2.959 GB, free: 111.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00708/8.022, allocations: 2.142 MB / 2.961 GB, free: 109.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-05/8.022, allocations: 3.953 kB / 2.961 GB, free: 109.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004632/8.022, allocations: 79.98 kB / 2.961 GB, free: 109.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.426e-05/8.023, allocations: 52 kB / 2.961 GB, free: 109.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003433/8.026, allocations: 1.677 MB / 2.963 GB, free: 107.9 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.01889/8.045, allocations: 12.15 MB / 2.975 GB, free: 94.92 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005296/8.05, allocations: 1.651 MB / 2.976 GB, free: 93.26 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001143/8.051, allocations: 0.6489 MB / 2.977 GB, free: 92.61 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001071/8.053, allocations: 1.374 MB / 2.978 GB, free: 90.94 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.698e-05/8.053, allocations: 43.56 kB / 2.978 GB, free: 90.89 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002433/8.055, allocations: 286.5 kB / 2.978 GB, free: 90.61 MB / 1.167 GB Notification: Performance of pre-optimization done (n=105): time 4.718e-06/8.055, allocations: 0 / 2.978 GB, free: 90.61 MB / 1.167 GB Notification: Performance of matching and sorting (n=111): time 0.007729/8.063, allocations: 3.331 MB / 2.982 GB, free: 87.21 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.798e-05/8.063, allocations: 171.2 kB / 2.982 GB, free: 87.01 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002899/8.066, allocations: 1.82 MB / 2.984 GB, free: 85.17 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001745/8.066, allocations: 53.7 kB / 2.984 GB, free: 85.11 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008887/8.067, allocations: 1.192 MB / 2.985 GB, free: 83.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003317/8.067, allocations: 382.4 kB / 2.985 GB, free: 83.52 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.265e-05/8.067, allocations: 28 kB / 2.985 GB, free: 83.5 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001179/8.067, allocations: 364.8 kB / 2.986 GB, free: 83.14 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008852/8.068, allocations: 0.5546 MB / 2.986 GB, free: 82.58 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001229/8.07, allocations: 1.03 MB / 2.987 GB, free: 81.36 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001056/8.071, allocations: 0.6592 MB / 2.988 GB, free: 80.71 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/8.071, allocations: 0 / 2.988 GB, free: 80.71 MB / 1.167 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.006794/8.077, allocations: 2.471 MB / 2.99 GB, free: 78.22 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001105/8.079, allocations: 3.739 MB / 2.994 GB, free: 74.14 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.866e-05/8.079, allocations: 8 kB / 2.994 GB, free: 74.13 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004376/8.083, allocations: 1.12 MB / 2.995 GB, free: 73.02 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001567/8.085, allocations: 339.5 kB / 2.995 GB, free: 72.69 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009197/8.094, allocations: 5.284 MB / 3 GB, free: 67.27 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004288/8.098, allocations: 403.3 kB / 3.001 GB, free: 66.88 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002787/8.098, allocations: 75.95 kB / 3.001 GB, free: 66.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/8.099, allocations: 4 kB / 3.001 GB, free: 66.8 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006085/8.105, allocations: 2.101 MB / 3.003 GB, free: 64.69 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.864e-05/8.105, allocations: 12 kB / 3.003 GB, free: 64.68 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002243/8.107, allocations: 0.5984 MB / 3.004 GB, free: 64.09 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00188/8.109, allocations: 391.5 kB / 3.004 GB, free: 63.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01004/8.119, allocations: 6.216 MB / 3.01 GB, free: 57.23 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003878/8.123, allocations: 354.9 kB / 3.01 GB, free: 56.89 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002771/8.123, allocations: 71.95 kB / 3.01 GB, free: 56.82 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.0005188/8.124, allocations: 192.6 kB / 3.011 GB, free: 56.62 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005257/8.124, allocations: 229.1 kB / 3.011 GB, free: 56.39 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003674/8.128, allocations: 1.878 MB / 3.013 GB, free: 54.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-05/8.128, allocations: 15.95 kB / 3.013 GB, free: 54.48 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/8.128, allocations: 0 / 3.013 GB, free: 54.48 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002022/8.13, allocations: 1.701 MB / 3.014 GB, free: 52.7 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007563/8.137, allocations: 4.283 MB / 3.019 GB, free: 48.34 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.086e-06/8.138, allocations: 4.031 kB / 3.019 GB, free: 48.34 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001196/8.139, allocations: 255.7 kB / 3.019 GB, free: 48.09 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002397/8.141, allocations: 0.6559 MB / 3.019 GB, free: 47.44 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001034/8.141, allocations: 31.98 kB / 3.019 GB, free: 47.41 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001451/8.143, allocations: 1.25 MB / 3.021 GB, free: 46.13 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/8.143, allocations: 0 / 3.021 GB, free: 46.13 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004371/8.147, allocations: 2.645 MB / 3.023 GB, free: 43.43 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001805/8.149, allocations: 0.529 MB / 3.024 GB, free: 42.88 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003974/8.149, allocations: 24 kB / 3.024 GB, free: 42.86 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00224/8.152, allocations: 315.5 kB / 3.024 GB, free: 42.55 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001424/8.152, allocations: 72.89 kB / 3.024 GB, free: 42.48 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001208/8.152, allocations: 47.97 kB / 3.024 GB, free: 42.43 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002199/8.154, allocations: 1.389 MB / 3.026 GB, free: 41.03 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.9e-07/8.154, allocations: 0 / 3.026 GB, free: 41.03 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.005069/8.159, allocations: 1.281 MB / 3.027 GB, free: 39.75 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.006194/8.165, allocations: 4.422 MB / 3.031 GB, free: 35.35 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0054/8.171, allocations: 2.978 MB / 3.034 GB, free: 32.33 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.104e-05/8.171, allocations: 3.938 kB / 3.034 GB, free: 32.33 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001262/8.172, allocations: 0.7168 MB / 3.035 GB, free: 31.61 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006237/8.178, allocations: 1.103 MB / 3.036 GB, free: 30.57 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01368/8.192, allocations: 4.212 MB / 3.04 GB, free: 26.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001188/8.193, allocations: 1.688 MB / 3.042 GB, free: 24.59 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.003478/8.197, allocations: 0.598 MB / 3.042 GB, free: 24.04 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001258/8.198, allocations: 1.011 MB / 3.043 GB, free: 23.02 MB / 1.167 GB Notification: Performance of SimCode: time 9.11e-07/8.198, allocations: 0 / 3.043 GB, free: 23.02 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.287/9.485, allocations: 90.98 MB / 3.132 GB, free: 162.9 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003232/9.485, allocations: 275.5 kB / 3.132 GB, free: 162.6 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.74/15.22, allocations: 3.938 kB / 3.132 GB, free: 162.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