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.53/2.53, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001102/0.001102, allocations: 182 kB / 498.1 MB, free: 5.734 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.674/1.674, allocations: 223.1 MB / 0.7948 GB, free: 17.95 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.0009123/0.0009123, allocations: 100.2 kB / 0.9346 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003927/0.0003929, allocations: 12.72 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.3359, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.355/1.691, allocations: 445.6 MB / 1.658 GB, free: 15.54 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004363/1.692, allocations: 96.77 kB / 1.658 GB, free: 15.49 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 5.411/7.103, allocations: 1.309 GB / 2.967 GB, free: 165.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.355e-06/7.103, allocations: 0 / 2.967 GB, free: 165.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0003498/7.103, allocations: 82.44 kB / 2.967 GB, free: 165 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.008939/7.112, allocations: 3.246 MB / 2.97 GB, free: 163.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.464e-05/7.112, allocations: 14 kB / 2.97 GB, free: 163.7 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008404/7.113, allocations: 263.7 kB / 2.97 GB, free: 163.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005379/7.118, allocations: 1.006 MB / 2.971 GB, free: 163.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007464/7.126, allocations: 2.955 MB / 2.974 GB, free: 162.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001244/7.126, allocations: 149.2 kB / 2.974 GB, free: 162.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004807/7.126, allocations: 193.7 kB / 2.974 GB, free: 162.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005184/7.132, allocations: 2.498 MB / 2.977 GB, free: 162.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.713e-05/7.132, allocations: 3.906 kB / 2.977 GB, free: 162.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002038/7.132, allocations: 79.86 kB / 2.977 GB, free: 162.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.88e-05/7.132, allocations: 50.5 kB / 2.977 GB, free: 162.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00536/7.137, allocations: 2.354 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.01764/7.155, allocations: 12.15 MB / 2.991 GB, free: 156.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006043/7.161, allocations: 2.106 MB / 2.993 GB, free: 156.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009614/7.162, allocations: 1.379 MB / 2.995 GB, free: 155.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.582e-05/7.162, allocations: 42.62 kB / 2.995 GB, free: 155 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002085/7.164, allocations: 284.3 kB / 2.995 GB, free: 155 MB / 1.167 GB Notification: Performance of pre-optimization done (n=105): time 4.789e-06/7.164, allocations: 0 / 2.995 GB, free: 155 MB / 1.167 GB Notification: Performance of matching and sorting (n=111): time 0.03074/7.195, allocations: 8.288 MB / 3.003 GB, free: 154.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.394e-05/7.195, allocations: 171.4 kB / 3.003 GB, free: 153.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003263/7.198, allocations: 1.887 MB / 3.005 GB, free: 153.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003109/7.199, allocations: 55.77 kB / 3.005 GB, free: 153.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000891/7.2, allocations: 1.191 MB / 3.006 GB, free: 153.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003346/7.2, allocations: 388.7 kB / 3.007 GB, free: 152.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.179e-05/7.2, allocations: 26.31 kB / 3.007 GB, free: 152.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.783e-05/7.2, allocations: 365.6 kB / 3.007 GB, free: 152.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002126/7.202, allocations: 0.8924 MB / 3.008 GB, free: 152.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002418/7.205, allocations: 1.359 MB / 3.009 GB, free: 151.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002234/7.207, allocations: 0.9844 MB / 3.01 GB, free: 151.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.862e-06/7.207, allocations: 3.969 kB / 3.01 GB, free: 151.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.007797/7.215, allocations: 3.003 MB / 3.013 GB, free: 150.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007915/7.216, allocations: 3.734 MB / 3.017 GB, free: 146.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/7.216, allocations: 11.47 kB / 3.017 GB, free: 146.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005239/7.221, allocations: 1.364 MB / 3.018 GB, free: 146 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001529/7.222, allocations: 336.3 kB / 3.018 GB, free: 145.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01209/7.234, allocations: 6.217 MB / 3.024 GB, free: 142.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004081/7.239, allocations: 396.2 kB / 3.025 GB, free: 142.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004006/7.239, allocations: 75.75 kB / 3.025 GB, free: 142.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/7.239, allocations: 3.844 kB / 3.025 GB, free: 142.3 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005609/7.245, allocations: 2.324 MB / 3.027 GB, free: 141.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.552e-05/7.245, allocations: 7.719 kB / 3.027 GB, free: 141.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002611/7.247, allocations: 0.6633 MB / 3.028 GB, free: 141.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001744/7.249, allocations: 400.8 kB / 3.028 GB, free: 141.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0123/7.261, allocations: 6.866 MB / 3.035 GB, free: 136.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003873/7.265, allocations: 341.1 kB / 3.035 GB, free: 136.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004773/7.266, allocations: 74.86 kB / 3.035 GB, free: 136.9 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.002082/7.268, allocations: 0.6185 MB / 3.036 GB, free: 136.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008146/7.269, allocations: 231.8 kB / 3.036 GB, free: 136.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006048/7.275, allocations: 2.506 MB / 3.039 GB, free: 135.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.382e-05/7.275, allocations: 20.8 kB / 3.039 GB, free: 135.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/7.275, allocations: 0 / 3.039 GB, free: 135.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004459/7.279, allocations: 2.342 MB / 3.041 GB, free: 134.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01048/7.29, allocations: 4.896 MB / 3.046 GB, free: 132.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.877e-06/7.29, allocations: 0 / 3.046 GB, free: 132.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001263/7.291, allocations: 261 kB / 3.046 GB, free: 132.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003008/7.294, allocations: 0.8154 MB / 3.047 GB, free: 132.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001278/7.294, allocations: 34.3 kB / 3.047 GB, free: 132 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002218/7.297, allocations: 1.47 MB / 3.048 GB, free: 131.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.633e-06/7.297, allocations: 7.891 kB / 3.048 GB, free: 131.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007986/7.305, allocations: 3.594 MB / 3.052 GB, free: 129.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001896/7.306, allocations: 0.5306 MB / 3.052 GB, free: 129.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006814/7.307, allocations: 27.81 kB / 3.052 GB, free: 129.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002762/7.31, allocations: 310.5 kB / 3.052 GB, free: 129.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000165/7.31, allocations: 76.91 kB / 3.053 GB, free: 129.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001245/7.31, allocations: 52.12 kB / 3.053 GB, free: 129.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.00253/7.313, allocations: 1.457 MB / 3.054 GB, free: 128.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.9e-07/7.313, allocations: 0 / 3.054 GB, free: 128.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.005475/7.318, allocations: 1.289 MB / 3.055 GB, free: 128.4 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.009606/7.328, allocations: 5.36 MB / 3.061 GB, free: 125.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.008471/7.336, allocations: 3.798 MB / 3.064 GB, free: 121.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 8.335e-06/7.336, allocations: 0 / 3.064 GB, free: 121.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.002202/7.339, allocations: 0.9916 MB / 3.065 GB, free: 120.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005615/7.344, allocations: 1.115 MB / 3.066 GB, free: 119.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01806/7.362, allocations: 13.77 MB / 3.08 GB, free: 105.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001252/7.364, allocations: 1.677 MB / 3.081 GB, free: 103.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.003029/7.367, allocations: 482.9 kB / 3.082 GB, free: 103.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001514/7.368, allocations: 1.042 MB / 3.083 GB, free: 102.2 MB / 1.167 GB Notification: Performance of SimCode: time 1.423e-06/7.368, allocations: 0 / 3.083 GB, free: 102.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1301/7.498, allocations: 85.08 MB / 3.166 GB, free: 19.47 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002191/7.499, allocations: 302.3 kB / 3.166 GB, free: 19.11 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.241/12.74, allocations: 2.922 kB / 3.166 GB, free: 19.11 MB / 1.167 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