Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.conf.json 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/IDEAS 3.0.0-master/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_Examples_WaterHeater_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_Examples_WaterHeater_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01043/0.01043, allocations: 172 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7247/0.7247, allocations: 135.2 MB / 151 MB, free: 13.83 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.631/1.631, allocations: 223.2 MB / 406.8 MB, free: 3.23 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 93.48 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003675/0.0003673, allocations: 8 kB / 0.5691 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4461/0.4464, allocations: 82.31 MB / 0.6495 GB, free: 36.13 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.145/1.591, allocations: 415 MB / 1.055 GB, free: 250.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002737/1.591, allocations: 102 kB / 1.055 GB, free: 250.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.391/5.983, allocations: 1.187 GB / 2.242 GB, free: 95.31 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.683e-06/5.983, allocations: 0 / 2.242 GB, free: 95.31 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003876/5.983, allocations: 52.56 kB / 2.242 GB, free: 95.3 MB / 0.698 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.008199/5.991, allocations: 2.527 MB / 2.244 GB, free: 94.05 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/5.991, allocations: 7.812 kB / 2.244 GB, free: 94.05 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006915/5.992, allocations: 176.9 kB / 2.244 GB, free: 94.01 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002713/5.995, allocations: 451.8 kB / 2.245 GB, free: 93.89 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007856/6.003, allocations: 2.289 MB / 2.247 GB, free: 93.44 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000146/6.003, allocations: 95.64 kB / 2.247 GB, free: 93.43 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004926/6.003, allocations: 124.9 kB / 2.247 GB, free: 93.43 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003408/6.007, allocations: 1.294 MB / 2.249 GB, free: 93.16 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.781e-05/6.007, allocations: 1.625 kB / 2.249 GB, free: 93.16 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002124/6.007, allocations: 48.7 kB / 2.249 GB, free: 93.16 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.718e-05/6.007, allocations: 45.8 kB / 2.249 GB, free: 93.15 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002464/6.01, allocations: 0.9636 MB / 2.25 GB, free: 93.14 MB / 0.698 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.009886/6.02, allocations: 6.913 MB / 2.256 GB, free: 88.68 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001854/6.022, allocations: 1.287 MB / 2.258 GB, free: 87.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005426/6.027, allocations: 2.985 MB / 2.26 GB, free: 85.45 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008405/6.028, allocations: 408.5 kB / 2.261 GB, free: 85.3 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008835/6.029, allocations: 94.12 kB / 2.261 GB, free: 85.26 MB / 0.698 GB Notification: Performance of pre-optimization done (n=63): time 4.528e-06/6.029, allocations: 0 / 2.261 GB, free: 85.26 MB / 0.698 GB Notification: Performance of matching and sorting (n=63): time 0.002737/6.032, allocations: 1.134 MB / 2.262 GB, free: 84.78 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.9e-05/6.032, allocations: 109 kB / 2.262 GB, free: 84.66 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002161/6.034, allocations: 1.345 MB / 2.263 GB, free: 84.14 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001225/6.034, allocations: 41.55 kB / 2.264 GB, free: 84.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007587/6.035, allocations: 0.8789 MB / 2.264 GB, free: 83.41 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002046/6.035, allocations: 223.8 kB / 2.265 GB, free: 83.25 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.607e-05/6.035, allocations: 19.59 kB / 2.265 GB, free: 83.23 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.982e-05/6.035, allocations: 345.6 kB / 2.265 GB, free: 82.91 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006932/6.036, allocations: 318.1 kB / 2.265 GB, free: 82.82 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009044/6.037, allocations: 0.7232 MB / 2.266 GB, free: 82.21 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008438/6.037, allocations: 439 kB / 2.266 GB, free: 82.04 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/6.038, allocations: 3.594 kB / 2.266 GB, free: 82.04 MB / 0.698 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002561/6.04, allocations: 1.195 MB / 2.268 GB, free: 81.57 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.00129/6.041, allocations: 4.454 MB / 2.272 GB, free: 76.81 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.404e-05/6.041, allocations: 14.41 kB / 2.272 GB, free: 76.81 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.954e-05/6.041, allocations: 16.75 kB / 2.272 GB, free: 76.81 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001058/6.043, allocations: 246.4 kB / 2.272 GB, free: 76.79 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.642e-05/6.043, allocations: 24.77 kB / 2.272 GB, free: 76.79 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001757/6.044, allocations: 116.9 kB / 2.272 GB, free: 76.76 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001181/6.044, allocations: 58.5 kB / 2.272 GB, free: 76.75 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/6.045, allocations: 3.969 kB / 2.272 GB, free: 76.75 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002042/6.047, allocations: 1.02 MB / 2.273 GB, free: 76.37 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/6.047, allocations: 12.88 kB / 2.273 GB, free: 76.37 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/6.047, allocations: 16.78 kB / 2.273 GB, free: 76.37 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008667/6.047, allocations: 245.8 kB / 2.274 GB, free: 76.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.761e-05/6.048, allocations: 23.11 kB / 2.274 GB, free: 76.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001587/6.049, allocations: 110.5 kB / 2.274 GB, free: 76.32 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001182/6.049, allocations: 53.02 kB / 2.274 GB, free: 76.31 MB / 0.698 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.001248/6.05, allocations: 486.2 kB / 2.274 GB, free: 75.96 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004458/6.051, allocations: 167.2 kB / 2.274 GB, free: 75.88 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002393/6.053, allocations: 1.067 MB / 2.275 GB, free: 75.49 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.788e-05/6.053, allocations: 10.95 kB / 2.275 GB, free: 75.49 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/6.053, allocations: 3.531 kB / 2.275 GB, free: 75.49 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001421/6.055, allocations: 0.9054 MB / 2.276 GB, free: 75 MB / 0.698 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.004947/6.06, allocations: 2.313 MB / 2.279 GB, free: 73.97 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/6.06, allocations: 5.219 kB / 2.279 GB, free: 73.97 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006542/6.06, allocations: 135.8 kB / 2.279 GB, free: 73.96 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002096/6.061, allocations: 35.5 kB / 2.279 GB, free: 73.94 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.537e-05/6.061, allocations: 19.61 kB / 2.279 GB, free: 73.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009024/6.062, allocations: 1.314 MB / 2.28 GB, free: 72.61 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/6.062, allocations: 3.938 kB / 2.28 GB, free: 72.61 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002866/6.065, allocations: 1.489 MB / 2.282 GB, free: 71.91 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001013/6.066, allocations: 345.4 kB / 2.282 GB, free: 71.66 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000246/6.066, allocations: 22.95 kB / 2.282 GB, free: 71.65 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009659/6.067, allocations: 100.4 kB / 2.282 GB, free: 71.63 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001408/6.067, allocations: 60.56 kB / 2.282 GB, free: 71.62 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.494e-05/6.067, allocations: 26.77 kB / 2.282 GB, free: 71.62 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001601/6.069, allocations: 1.091 MB / 2.283 GB, free: 71.17 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/6.069, allocations: 2.719 kB / 2.283 GB, free: 71.17 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003745/6.072, allocations: 0.9784 MB / 2.284 GB, free: 70.93 MB / 0.698 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,hea.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.005309/6.078, allocations: 3.343 MB / 2.287 GB, free: 69.15 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002898/6.081, allocations: 1.467 MB / 2.289 GB, free: 68.43 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.003e-05/6.081, allocations: 4.5 kB / 2.289 GB, free: 68.43 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009594/6.082, allocations: 0.5132 MB / 2.289 GB, free: 68.13 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003532/6.085, allocations: 0.7163 MB / 2.29 GB, free: 67.79 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009481/6.095, allocations: 12.4 MB / 2.302 GB, free: 56.59 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008494/6.096, allocations: 1.4 MB / 2.303 GB, free: 55.32 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002095/6.098, allocations: 434.9 kB / 2.304 GB, free: 54.93 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008894/6.099, allocations: 0.7179 MB / 2.305 GB, free: 54.21 MB / 0.698 GB Notification: Performance of SimCode: time 1.603e-06/6.099, allocations: 0 / 2.305 GB, free: 54.21 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09101/6.19, allocations: 51.83 MB / 2.355 GB, free: 3.562 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002672/6.19, allocations: 237.1 kB / 2.355 GB, free: 3.316 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.272/10.46, allocations: 0 / 2.355 GB, free: 3.316 MB / 0.698 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_Examples_WaterHeater_T_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_Examples_WaterHeater_T.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe 2>&1)