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.284/2.284, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001065/0.001066, allocations: 184.8 kB / 487.4 MB, free: 5.043 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.644/1.644, allocations: 221.5 MB / 0.7824 GB, free: 0.9453 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.001084/0.001083, allocations: 98.03 kB / 0.9219 GB, free: 2.184 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.092e-05/2.095e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3162, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.345/1.661, allocations: 444.9 MB / 1.64 GB, free: 9.832 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003137/1.662, allocations: 89.69 kB / 1.641 GB, free: 9.785 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 4.887/6.548, allocations: 1.299 GB / 2.94 GB, free: 113.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.434e-06/6.548, allocations: 0 / 2.94 GB, free: 113.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0003534/6.549, allocations: 83.06 kB / 2.94 GB, free: 113 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.007301/6.556, allocations: 2.745 MB / 2.942 GB, free: 110.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/6.556, allocations: 8.031 kB / 2.942 GB, free: 110.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005115/6.561, allocations: 0.9992 MB / 2.943 GB, free: 109.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006017/6.567, allocations: 2.935 MB / 2.946 GB, free: 106.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.49e-05/6.567, allocations: 60 kB / 2.946 GB, free: 106.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002696/6.568, allocations: 116 kB / 2.946 GB, free: 106.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002761/6.57, allocations: 1.58 MB / 2.948 GB, free: 104.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002862/6.573, allocations: 1.876 MB / 2.95 GB, free: 102.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.458e-05/6.573, allocations: 3.938 kB / 2.95 GB, free: 102.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001622/6.574, allocations: 8 kB / 2.95 GB, free: 102.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.927e-05/6.574, allocations: 51.98 kB / 2.95 GB, free: 102.5 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.0157/6.589, allocations: 11.8 MB / 2.961 GB, free: 90.02 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003383/6.593, allocations: 1.399 MB / 2.963 GB, free: 88.61 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009843/6.594, allocations: 0.6638 MB / 2.963 GB, free: 87.95 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001056/6.595, allocations: 1.37 MB / 2.965 GB, free: 86.29 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.524e-05/6.595, allocations: 51.77 kB / 2.965 GB, free: 86.23 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002131/6.597, allocations: 233.9 kB / 2.965 GB, free: 86 MB / 1.151 GB Notification: Performance of pre-optimization done (n=105): time 4.849e-06/6.597, allocations: 4 kB / 2.965 GB, free: 86 MB / 1.151 GB Notification: Performance of matching and sorting (n=111): time 0.008556/6.606, allocations: 3.456 MB / 2.968 GB, free: 82.49 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.365e-05/6.606, allocations: 167.5 kB / 2.969 GB, free: 82.29 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002142/6.608, allocations: 1.579 MB / 2.97 GB, free: 80.68 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001653/6.608, allocations: 29.7 kB / 2.97 GB, free: 80.65 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006654/6.609, allocations: 1.191 MB / 2.971 GB, free: 79.44 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000282/6.609, allocations: 374.4 kB / 2.972 GB, free: 79.07 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.612e-05/6.609, allocations: 0 / 2.972 GB, free: 79.07 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.675e-05/6.609, allocations: 357.9 kB / 2.972 GB, free: 78.71 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007284/6.61, allocations: 0.5429 MB / 2.972 GB, free: 78.17 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001007/6.611, allocations: 0.9849 MB / 2.973 GB, free: 77 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001543/6.612, allocations: 0.7261 MB / 2.974 GB, free: 76.27 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/6.613, allocations: 3.938 kB / 2.974 GB, free: 76.27 MB / 1.151 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.006592/6.619, allocations: 2.378 MB / 2.976 GB, free: 73.88 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007718/6.62, allocations: 3.714 MB / 2.98 GB, free: 69.79 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.987e-05/6.62, allocations: 11.62 kB / 2.98 GB, free: 69.78 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003021/6.623, allocations: 0.8495 MB / 2.981 GB, free: 68.93 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001603/6.625, allocations: 363.5 kB / 2.981 GB, free: 68.57 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008221/6.633, allocations: 5.292 MB / 2.986 GB, free: 63.12 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003969/6.637, allocations: 367.3 kB / 2.987 GB, free: 62.76 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003732/6.637, allocations: 79.94 kB / 2.987 GB, free: 62.68 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/6.637, allocations: 4 kB / 2.987 GB, free: 62.68 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006385/6.644, allocations: 2.023 MB / 2.989 GB, free: 60.65 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.162e-05/6.644, allocations: 8 kB / 2.989 GB, free: 60.64 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002155/6.646, allocations: 0.5792 MB / 2.989 GB, free: 60.06 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001871/6.648, allocations: 393.6 kB / 2.99 GB, free: 59.68 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009675/6.657, allocations: 6.956 MB / 2.997 GB, free: 52.37 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003362/6.661, allocations: 319.5 kB / 2.997 GB, free: 52.05 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002821/6.661, allocations: 75.95 kB / 2.997 GB, free: 51.98 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.0004209/6.662, allocations: 128.7 kB / 2.997 GB, free: 51.85 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003034/6.665, allocations: 1.454 MB / 2.999 GB, free: 50.38 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004365/6.665, allocations: 217.3 kB / 2.999 GB, free: 50.17 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003455/6.669, allocations: 1.789 MB / 3 GB, free: 48.37 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-05/6.669, allocations: 16 kB / 3 GB, free: 48.35 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/6.669, allocations: 0 / 3 GB, free: 48.35 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002199/6.671, allocations: 1.656 MB / 3.002 GB, free: 46.61 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006952/6.678, allocations: 4.003 MB / 3.006 GB, free: 42.57 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.215e-06/6.678, allocations: 0 / 3.006 GB, free: 42.57 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001299/6.679, allocations: 302.8 kB / 3.006 GB, free: 42.28 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001172/6.68, allocations: 401.5 kB / 3.007 GB, free: 41.88 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.124e-05/6.68, allocations: 23.97 kB / 3.007 GB, free: 41.86 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00115/6.682, allocations: 1.536 MB / 3.008 GB, free: 40.27 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/6.682, allocations: 3.938 kB / 3.008 GB, free: 40.27 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003789/6.685, allocations: 2.503 MB / 3.011 GB, free: 37.71 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001294/6.687, allocations: 0.5136 MB / 3.011 GB, free: 37.17 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003487/6.687, allocations: 4 kB / 3.011 GB, free: 37.17 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002369/6.689, allocations: 299.5 kB / 3.011 GB, free: 36.88 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001467/6.69, allocations: 73.2 kB / 3.012 GB, free: 36.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001115/6.69, allocations: 58.39 kB / 3.012 GB, free: 36.75 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001789/6.692, allocations: 1.174 MB / 3.013 GB, free: 35.56 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.3e-07/6.692, allocations: 0 / 3.013 GB, free: 35.56 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.006376/6.698, allocations: 1.265 MB / 3.014 GB, free: 34.3 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.005707/6.704, allocations: 4.268 MB / 3.018 GB, free: 30.12 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.004722/6.708, allocations: 2.907 MB / 3.021 GB, free: 27.17 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/6.708, allocations: 0 / 3.021 GB, free: 27.17 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.00108/6.71, allocations: 0.6685 MB / 3.022 GB, free: 26.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005422/6.715, allocations: 1.022 MB / 3.023 GB, free: 25.54 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0123/6.727, allocations: 4.087 MB / 3.027 GB, free: 21.4 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00103/6.728, allocations: 1.684 MB / 3.028 GB, free: 19.69 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.003283/6.732, allocations: 0.5703 MB / 3.029 GB, free: 19.16 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001228/6.733, allocations: 1.011 MB / 3.03 GB, free: 18.15 MB / 1.151 GB Notification: Performance of SimCode: time 1.202e-06/6.733, allocations: 0 / 3.03 GB, free: 18.15 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9287/7.662, allocations: 77.13 MB / 3.105 GB, free: 174.6 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002016/7.662, allocations: 231.2 kB / 3.105 GB, free: 174.3 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.885/12.55, allocations: 1.828 kB / 3.105 GB, free: 174.3 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