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/ModelicaServices 4.0.0+maint.om/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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T") translateModel(IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008195/0.0008195, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000841/0.000841, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.193/1.193, allocations: 223.2 MB / 239.9 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8587/0.8587, allocations: 135.2 MB / 426.2 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002934/0.0002934, allocations: 12 kB / 0.5068 GB, free: 5.273 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1379, allocations: 82.31 MB / 0.5872 GB, free: 3.141 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T): time 0.2739/0.4118, allocations: 44.71 MB / 0.6309 GB, free: 28.41 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01496/0.4268, allocations: 13.26 MB / 0.6438 GB, free: 19.09 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00238/0.4292, allocations: 73.69 kB / 0.6439 GB, free: 19.05 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002448/0.4317, allocations: 0.9208 MB / 0.6448 GB, free: 18.56 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00545/0.4371, allocations: 2.37 MB / 0.6471 GB, free: 17.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004374/0.4415, allocations: 2.062 MB / 0.6491 GB, free: 16.11 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003672/0.4452, allocations: 2.746 MB / 0.6518 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001334/0.4465, allocations: 1.238 MB / 0.653 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001993/0.4485, allocations: 1.364 MB / 0.6543 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009409/0.4495, allocations: 0.9102 MB / 0.6552 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001457/0.4496, allocations: 68.12 kB / 0.6553 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002349/0.452, allocations: 1.276 MB / 0.6565 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003417/0.4523, allocations: 389.3 kB / 0.6569 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003711/0.4527, allocations: 406.4 kB / 0.6573 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00257/0.4553, allocations: 2.338 MB / 0.6596 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.4553, allocations: 0 / 0.6596 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.713e-06/0.4553, allocations: 0.9375 kB / 0.6596 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.461e-05/0.4554, allocations: 0 / 0.6596 GB, free: 11.8 MB / 0.4981 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.003616/0.459, allocations: 2.189 MB / 0.6617 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.459, allocations: 9.312 kB / 0.6617 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001942/0.461, allocations: 490.9 kB / 0.6622 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002719/0.4637, allocations: 1.524 MB / 0.6637 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003639/0.4641, allocations: 164.5 kB / 0.6638 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001738/0.4643, allocations: 120.9 kB / 0.6639 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002399/0.4667, allocations: 1.353 MB / 0.6653 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.774e-05/0.4667, allocations: 5.672 kB / 0.6653 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.968e-05/0.4668, allocations: 43.66 kB / 0.6653 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.727e-05/0.4669, allocations: 45.38 kB / 0.6654 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002514/0.4694, allocations: 1.127 MB / 0.6665 GB, free: 8.262 MB / 0.4981 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.007746/0.4771, allocations: 7.146 MB / 0.6734 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002263/0.4794, allocations: 1.434 MB / 0.6748 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004348/0.4838, allocations: 3.093 MB / 0.6779 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001019/0.4848, allocations: 458.9 kB / 0.6783 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004818/0.4853, allocations: 90.08 kB / 0.6784 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=62): time 2.555e-06/0.4853, allocations: 0 / 0.6784 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of matching and sorting (n=62): time 0.003003/0.4883, allocations: 1.279 MB / 0.6796 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.4884, allocations: 63.14 kB / 0.6797 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002251/0.4906, allocations: 1.579 MB / 0.6812 GB, free: 14 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 8.027e-05/0.4907, allocations: 43.33 kB / 0.6813 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007743/0.4915, allocations: 0.8719 MB / 0.6821 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002152/0.4917, allocations: 221.4 kB / 0.6823 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.98e-05/0.4918, allocations: 19.98 kB / 0.6824 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.4919, allocations: 346.5 kB / 0.6827 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009154/0.4929, allocations: 374.7 kB / 0.683 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001107/0.494, allocations: 0.7543 MB / 0.6838 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009969/0.495, allocations: 495.1 kB / 0.6843 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/0.495, allocations: 3.281 kB / 0.6843 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002593/0.4976, allocations: 1.294 MB / 0.6855 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.001475/0.4991, allocations: 4.358 MB / 0.6898 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.857e-05/0.4991, allocations: 14.42 kB / 0.6898 GB, free: 6.609 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.932e-05/0.4991, allocations: 18.44 kB / 0.6898 GB, free: 6.609 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001005/0.5002, allocations: 273.7 kB / 0.6901 GB, free: 6.582 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.443e-05/0.5002, allocations: 27.56 kB / 0.6901 GB, free: 6.574 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001397/0.5016, allocations: 139.1 kB / 0.6902 GB, free: 6.543 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.22e-05/0.5017, allocations: 50.34 kB / 0.6903 GB, free: 6.539 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.173e-06/0.5017, allocations: 3.906 kB / 0.6903 GB, free: 6.539 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002257/0.504, allocations: 1.129 MB / 0.6914 GB, free: 6.113 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.504, allocations: 10.48 kB / 0.6914 GB, free: 6.113 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.504, allocations: 18.31 kB / 0.6914 GB, free: 6.113 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009378/0.505, allocations: 273.5 kB / 0.6917 GB, free: 6.086 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.945e-05/0.505, allocations: 22.67 kB / 0.6917 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001195/0.5062, allocations: 131.1 kB / 0.6918 GB, free: 6.051 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.035e-05/0.5063, allocations: 52.86 kB / 0.6919 GB, free: 6.043 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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.000801/0.5071, allocations: 486.3 kB / 0.6923 GB, free: 5.691 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002039/0.5073, allocations: 164.4 kB / 0.6925 GB, free: 5.605 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002522/0.5099, allocations: 1.159 MB / 0.6936 GB, free: 5.18 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.648e-05/0.5099, allocations: 16.02 kB / 0.6936 GB, free: 5.172 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.5099, allocations: 0 / 0.6936 GB, free: 5.172 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001833/0.5117, allocations: 1.003 MB / 0.6946 GB, free: 4.66 MB / 0.5137 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.004201/0.5159, allocations: 2.49 MB / 0.697 GB, free: 3.492 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.516, allocations: 1.031 kB / 0.697 GB, free: 3.492 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007038/0.5167, allocations: 154.7 kB / 0.6972 GB, free: 3.48 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001873/0.5169, allocations: 33.3 kB / 0.6972 GB, free: 3.469 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.726e-05/0.5169, allocations: 29.09 kB / 0.6973 GB, free: 3.453 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001102/0.518, allocations: 1.368 MB / 0.6986 GB, free: 2.105 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/0.5181, allocations: 9.266 kB / 0.6986 GB, free: 2.098 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003217/0.5213, allocations: 1.636 MB / 0.7002 GB, free: 1.207 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007274/0.522, allocations: 369.4 kB / 0.7005 GB, free: 0.8906 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002411/0.5223, allocations: 21.34 kB / 0.7006 GB, free: 0.875 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001017/0.5233, allocations: 116 kB / 0.7007 GB, free: 0.8281 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.5234, allocations: 53.11 kB / 0.7007 GB, free: 0.8008 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.026e-05/0.5235, allocations: 32.31 kB / 0.7008 GB, free: 0.7891 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001652/0.5252, allocations: 1.125 MB / 0.7019 GB, free: 160 kB / 0.5137 GB Notification: Performance of sort global known variables: time 3.2e-07/0.5252, allocations: 4 kB / 0.7019 GB, free: 156 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002711/0.5279, allocations: 0.9007 MB / 0.7027 GB, free: 15.95 MB / 0.5294 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 (70): * Single equations (assignments): 61 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001461/0.5294, allocations: 0.7268 MB / 0.7035 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003242/0.5326, allocations: 1.613 MB / 0.705 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.5326, allocations: 0 / 0.705 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001111/0.5337, allocations: 0.5709 MB / 0.7056 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003028/0.5368, allocations: 0.7238 MB / 0.7063 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004999/0.5418, allocations: 3.725 MB / 0.7099 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008016/0.5426, allocations: 1.396 MB / 0.7113 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00158/0.5442, allocations: 424.7 kB / 0.7117 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003078/0.5445, allocations: 141.6 kB / 0.7118 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of SimCode: time 7.82e-07/0.5445, allocations: 0 / 0.7118 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of Templates: time 0.04621/0.5907, allocations: 30.36 MB / 0.7415 GB, free: 12.6 MB / 0.5606 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.makefile Environment - environmentSimulation: (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 & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe 2>&1) Environment - environmentSimulation: