Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.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.Fluid.HeatExchangers.Examples.WaterCooler_T,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T",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.201/2.201, allocations: 390.3 MB / 405.3 MB, free: 13.47 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.001169/0.001169, allocations: 181.2 kB / 498.1 MB, free: 5.738 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.43/1.43, allocations: 223.2 MB / 0.7948 GB, free: 17.94 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.0009509/0.0009508, allocations: 104.8 kB / 0.9346 GB, free: 6.277 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000339/0.0003391, allocations: 10.44 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2484/0.2488, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9257/1.175, allocations: 453.3 MB / 1.666 GB, free: 7.926 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002815/1.175, allocations: 102.8 kB / 1.666 GB, free: 7.871 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 4.268/5.442, allocations: 1.186 GB / 2.851 GB, free: 211 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.813e-06/5.442, allocations: 0 / 2.851 GB, free: 211 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0003956/5.443, allocations: 53.59 kB / 2.851 GB, free: 211 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.009632/5.453, allocations: 2.521 MB / 2.854 GB, free: 210.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.553e-05/5.453, allocations: 10.56 kB / 2.854 GB, free: 210.2 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006893/5.453, allocations: 166.6 kB / 2.854 GB, free: 210.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003152/5.456, allocations: 0.5336 MB / 2.854 GB, free: 210 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006327/5.463, allocations: 2.329 MB / 2.857 GB, free: 209.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.364e-05/5.463, allocations: 94.41 kB / 2.857 GB, free: 209.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001877/5.463, allocations: 119.6 kB / 2.857 GB, free: 209.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002343/5.465, allocations: 1.313 MB / 2.858 GB, free: 209.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.29e-05/5.466, allocations: 9.062 kB / 2.858 GB, free: 209.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/5.466, allocations: 49.78 kB / 2.858 GB, free: 209.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.576e-05/5.466, allocations: 41.39 kB / 2.858 GB, free: 209.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002098/5.468, allocations: 1.011 MB / 2.859 GB, free: 209.3 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.008899/5.477, allocations: 6.969 MB / 2.866 GB, free: 205.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001881/5.479, allocations: 1.307 MB / 2.867 GB, free: 204.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005375/5.484, allocations: 3.035 MB / 2.87 GB, free: 202.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008942/5.485, allocations: 444.1 kB / 2.871 GB, free: 202.7 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007413/5.486, allocations: 82.5 kB / 2.871 GB, free: 202.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=63): time 5.861e-06/5.486, allocations: 3.703 kB / 2.871 GB, free: 202.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=63): time 0.002764/5.488, allocations: 1.194 MB / 2.872 GB, free: 202.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.234e-05/5.489, allocations: 113.4 kB / 2.872 GB, free: 202.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002028/5.491, allocations: 1.341 MB / 2.873 GB, free: 202.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 8.271e-05/5.491, allocations: 47.44 kB / 2.874 GB, free: 202.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007475/5.491, allocations: 0.8777 MB / 2.874 GB, free: 201.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001977/5.492, allocations: 219.7 kB / 2.875 GB, free: 201.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.89e-05/5.492, allocations: 24.12 kB / 2.875 GB, free: 201.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001006/5.492, allocations: 346.2 kB / 2.875 GB, free: 201.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007794/5.493, allocations: 342.7 kB / 2.875 GB, free: 201.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009579/5.494, allocations: 0.7416 MB / 2.876 GB, free: 201 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008976/5.494, allocations: 460.2 kB / 2.876 GB, free: 200.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/5.494, allocations: 3.938 kB / 2.876 GB, free: 200.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002634/5.497, allocations: 1.23 MB / 2.878 GB, free: 200.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009236/5.498, allocations: 4.455 MB / 2.882 GB, free: 196.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.791e-05/5.498, allocations: 10.97 kB / 2.882 GB, free: 196.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.656e-05/5.498, allocations: 14.97 kB / 2.882 GB, free: 196.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/5.499, allocations: 259.3 kB / 2.882 GB, free: 196.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.363e-05/5.499, allocations: 18.59 kB / 2.882 GB, free: 196.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001664/5.501, allocations: 131.6 kB / 2.882 GB, free: 196.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/5.501, allocations: 56.59 kB / 2.882 GB, free: 196.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/5.501, allocations: 3.969 kB / 2.882 GB, free: 196.1 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002037/5.503, allocations: 1.056 MB / 2.883 GB, free: 196 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/5.503, allocations: 11.03 kB / 2.883 GB, free: 196 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/5.503, allocations: 19.84 kB / 2.884 GB, free: 196 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000932/5.504, allocations: 251.6 kB / 2.884 GB, free: 196 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.045e-05/5.504, allocations: 23.55 kB / 2.884 GB, free: 196 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001513/5.506, allocations: 126.2 kB / 2.884 GB, free: 196 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.335e-05/5.506, allocations: 56.92 kB / 2.884 GB, free: 196 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 119 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001076/5.507, allocations: 492.9 kB / 2.884 GB, free: 195.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000318/5.507, allocations: 163.5 kB / 2.885 GB, free: 195.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002386/5.509, allocations: 1.109 MB / 2.886 GB, free: 195.7 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-05/5.509, allocations: 11.03 kB / 2.886 GB, free: 195.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/5.51, allocations: 2.812 kB / 2.886 GB, free: 195.7 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001604/5.511, allocations: 0.9484 MB / 2.887 GB, free: 195.4 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 postOpt removeSimpleEquations (simulation): time 0.004721/5.516, allocations: 2.362 MB / 2.889 GB, free: 195 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/5.516, allocations: 0 / 2.889 GB, free: 195 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007183/5.517, allocations: 142.8 kB / 2.889 GB, free: 195 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001901/5.517, allocations: 32.86 kB / 2.889 GB, free: 195 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.937e-05/5.517, allocations: 27.42 kB / 2.889 GB, free: 195 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008577/5.518, allocations: 1.305 MB / 2.89 GB, free: 193.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/5.518, allocations: 1.031 kB / 2.89 GB, free: 193.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002926/5.521, allocations: 1.551 MB / 2.892 GB, free: 193.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001051/5.522, allocations: 350.9 kB / 2.892 GB, free: 193.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002753/5.522, allocations: 18.73 kB / 2.892 GB, free: 193.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001031/5.523, allocations: 117.8 kB / 2.892 GB, free: 193.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000131/5.523, allocations: 61.56 kB / 2.892 GB, free: 193.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.039e-05/5.523, allocations: 29.89 kB / 2.892 GB, free: 193.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001654/5.525, allocations: 1.088 MB / 2.893 GB, free: 193.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.71e-07/5.525, allocations: 0 / 2.893 GB, free: 193.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003521/5.529, allocations: 0.9815 MB / 2.894 GB, free: 192.9 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (vol.dynBal.U,mov.filter.s[1],mov.filter.s[2],conPI.I.y,THeaOut.T,coo.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005549/5.534, allocations: 3.426 MB / 2.898 GB, free: 191.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003226/5.537, allocations: 1.534 MB / 2.899 GB, free: 191.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/5.537, allocations: 0 / 2.899 GB, free: 191.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001136/5.539, allocations: 0.5367 MB / 2.9 GB, free: 191.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003864/5.542, allocations: 0.7115 MB / 2.901 GB, free: 191.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009246/5.552, allocations: 12.43 MB / 2.913 GB, free: 181.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007967/5.552, allocations: 1.393 MB / 2.914 GB, free: 180.8 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.00212/5.555, allocations: 431.2 kB / 2.914 GB, free: 180.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009193/5.556, allocations: 0.7178 MB / 2.915 GB, free: 180.7 MB / 1.167 GB Notification: Performance of SimCode: time 9.72e-07/5.556, allocations: 1.781 kB / 2.915 GB, free: 180.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08194/5.638, allocations: 51.96 MB / 2.966 GB, free: 178.7 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001634/5.638, allocations: 244.2 kB / 2.966 GB, free: 178.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.4/10.04, allocations: 0 / 2.966 GB, free: 178.4 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-08 Buildings_9_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T_res.mat does not exist to compare? outputFormat=mat