Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u.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_u,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_Examples_WaterHeater_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_Examples_WaterHeater_u",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.008606/0.008605, allocations: 170.8 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7874/0.7874, 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.471/1.471, allocations: 223.2 MB / 406.8 MB, free: 3.246 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.0009013/0.0009013, allocations: 88.58 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003769/0.0003769, allocations: 8 kB / 0.5691 GB, free: 14.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4426/0.443, allocations: 82.31 MB / 0.6495 GB, free: 36.15 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.15/1.593, allocations: 408.2 MB / 1.048 GB, free: 252.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004013/1.594, allocations: 98.59 kB / 1.048 GB, free: 252.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.697/5.291, allocations: 1.152 GB / 2.201 GB, free: 93.71 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.404e-06/5.291, allocations: 0 / 2.201 GB, free: 93.71 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000218/5.292, allocations: 56.88 kB / 2.201 GB, free: 93.7 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: 310 * Number of variables: 310 Notification: Performance of Generate backend data structure: time 0.005817/5.297, allocations: 2.639 MB / 2.203 GB, free: 92.55 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/5.297, allocations: 10.31 kB / 2.203 GB, free: 92.55 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002983/5.298, allocations: 180.4 kB / 2.203 GB, free: 92.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001425/5.299, allocations: 368.8 kB / 2.204 GB, free: 92.39 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005324/5.305, allocations: 2.474 MB / 2.206 GB, free: 91.92 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.19e-05/5.305, allocations: 102.4 kB / 2.206 GB, free: 91.92 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000176/5.305, allocations: 131.7 kB / 2.206 GB, free: 91.92 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002236/5.307, allocations: 1.391 MB / 2.208 GB, free: 91.66 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.226e-05/5.307, allocations: 1.031 kB / 2.208 GB, free: 91.66 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001174/5.307, allocations: 58.08 kB / 2.208 GB, free: 91.66 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.647e-05/5.307, allocations: 55.86 kB / 2.208 GB, free: 91.65 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001876/5.309, allocations: 1.032 MB / 2.209 GB, free: 91.64 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.008606/5.318, allocations: 7.198 MB / 2.216 GB, free: 87.61 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001604/5.319, allocations: 1.276 MB / 2.217 GB, free: 87.02 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004391/5.324, allocations: 2.581 MB / 2.22 GB, free: 85.69 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000825/5.325, allocations: 440.7 kB / 2.22 GB, free: 85.64 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007314/5.325, allocations: 88.33 kB / 2.22 GB, free: 85.61 MB / 0.698 GB Notification: Performance of pre-optimization done (n=68): time 2.895e-06/5.325, allocations: 0 / 2.22 GB, free: 85.61 MB / 0.698 GB Notification: Performance of matching and sorting (n=68): time 0.002306/5.328, allocations: 1.19 MB / 2.221 GB, free: 85.36 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5e-05/5.328, allocations: 117.2 kB / 2.221 GB, free: 85.24 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001767/5.33, allocations: 1.295 MB / 2.223 GB, free: 85.08 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.496e-05/5.33, allocations: 41.67 kB / 2.223 GB, free: 85.05 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007177/5.33, allocations: 0.897 MB / 2.224 GB, free: 84.73 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001821/5.331, allocations: 239.7 kB / 2.224 GB, free: 84.58 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.474e-05/5.331, allocations: 16.66 kB / 2.224 GB, free: 84.58 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.838e-05/5.331, allocations: 344.8 kB / 2.224 GB, free: 84.27 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000654/5.331, allocations: 323.7 kB / 2.225 GB, free: 84.27 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008158/5.332, allocations: 0.7022 MB / 2.225 GB, free: 83.84 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000754/5.333, allocations: 450.2 kB / 2.226 GB, free: 83.79 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/5.333, allocations: 0 / 2.226 GB, free: 83.79 MB / 0.698 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002011/5.335, allocations: 1.185 MB / 2.227 GB, free: 83.63 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000864/5.336, allocations: 3.82 MB / 2.231 GB, free: 79.62 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/5.336, allocations: 9.969 kB / 2.231 GB, free: 79.62 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.139e-05/5.336, allocations: 19.56 kB / 2.231 GB, free: 79.62 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008865/5.337, allocations: 241.7 kB / 2.231 GB, free: 79.62 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.468e-05/5.337, allocations: 21.19 kB / 2.231 GB, free: 79.62 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001432/5.338, allocations: 138.1 kB / 2.231 GB, free: 79.61 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/5.338, allocations: 53.23 kB / 2.231 GB, free: 79.61 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/5.338, allocations: 3.375 kB / 2.231 GB, free: 79.61 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001851/5.34, allocations: 1.018 MB / 2.232 GB, free: 79.56 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/5.34, allocations: 6.938 kB / 2.232 GB, free: 79.56 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/5.34, allocations: 22.27 kB / 2.232 GB, free: 79.56 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008358/5.341, allocations: 238.5 kB / 2.232 GB, free: 79.56 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.871e-05/5.341, allocations: 20.88 kB / 2.232 GB, free: 79.56 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001199/5.342, allocations: 127.6 kB / 2.232 GB, free: 79.55 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.45e-05/5.342, allocations: 46.16 kB / 2.232 GB, free: 79.55 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (120): * Single equations (assignments): 118 * 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.001101/5.344, allocations: 494.5 kB / 2.233 GB, free: 79.36 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001992/5.344, allocations: 164.1 kB / 2.233 GB, free: 79.27 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002013/5.346, allocations: 1.078 MB / 2.234 GB, free: 79.17 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-05/5.346, allocations: 9.547 kB / 2.234 GB, free: 79.17 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/5.346, allocations: 0 / 2.234 GB, free: 79.17 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001361/5.347, allocations: 0.7749 MB / 2.235 GB, free: 79.09 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.004168/5.351, allocations: 2.511 MB / 2.237 GB, free: 78.66 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.882e-06/5.351, allocations: 2.25 kB / 2.237 GB, free: 78.66 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006656/5.352, allocations: 155.6 kB / 2.237 GB, free: 78.66 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001648/5.352, allocations: 30.59 kB / 2.237 GB, free: 78.65 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.507e-05/5.352, allocations: 24.83 kB / 2.238 GB, free: 78.64 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007692/5.353, allocations: 1.317 MB / 2.239 GB, free: 77.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/5.353, allocations: 5.406 kB / 2.239 GB, free: 77.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002407/5.356, allocations: 1.686 MB / 2.24 GB, free: 76.86 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007047/5.356, allocations: 370 kB / 2.241 GB, free: 76.66 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001872/5.356, allocations: 24.3 kB / 2.241 GB, free: 76.66 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009721/5.357, allocations: 114.3 kB / 2.241 GB, free: 76.66 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/5.358, allocations: 66.95 kB / 2.241 GB, free: 76.65 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.945e-05/5.358, allocations: 34.48 kB / 2.241 GB, free: 76.65 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0015/5.359, allocations: 1.081 MB / 2.242 GB, free: 76.51 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.01e-07/5.359, allocations: 0 / 2.242 GB, free: 76.51 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003537/5.363, allocations: 1.072 MB / 2.243 GB, free: 76.34 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 6 (vol.dynBal.U,mov.filter.s[1],mov.filter.s[2],conPI.I.y,THeaOut.T,hea.vol.dynBal.U) * 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 (79): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.004812/5.368, allocations: 3.777 MB / 2.247 GB, free: 74.63 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002639/5.37, allocations: 1.487 MB / 2.248 GB, free: 74.49 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.082e-06/5.37, allocations: 1.875 kB / 2.248 GB, free: 74.49 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009373/5.371, allocations: 0.5497 MB / 2.249 GB, free: 74.38 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003674/5.375, allocations: 0.8527 MB / 2.25 GB, free: 74.36 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007817/5.383, allocations: 11.47 MB / 2.261 GB, free: 65.24 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007977/5.384, allocations: 1.439 MB / 2.262 GB, free: 64.49 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001973/5.385, allocations: 433.9 kB / 2.263 GB, free: 64.42 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008547/5.386, allocations: 0.7563 MB / 2.263 GB, free: 64.41 MB / 0.698 GB Notification: Performance of SimCode: time 1.222e-06/5.386, allocations: 0 / 2.263 GB, free: 64.41 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08488/5.471, allocations: 55.75 MB / 2.318 GB, free: 39.04 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000185/5.471, allocations: 234.8 kB / 2.318 GB, free: 38.79 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.178/9.65, allocations: 0 / 2.318 GB, free: 38.79 MB / 0.698 GB (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_Examples_WaterHeater_u_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_Examples_WaterHeater_u.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe 2>&1)