Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T") translateModel(IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0008679/0.0008679, allocations: 98.77 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.0009564/0.0009564, allocations: 177.3 kB / 15.94 MB, free: 228 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.204/1.204, allocations: 223.2 MB / 239.9 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8404/0.8404, allocations: 135.2 MB / 426.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002909/0.000291, allocations: 12 kB / 0.5068 GB, free: 5.293 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1323, allocations: 82.31 MB / 0.5872 GB, free: 3.164 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T): time 0.2752/0.4076, allocations: 44.72 MB / 0.6309 GB, free: 28.45 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01527/0.4229, allocations: 13.25 MB / 0.6438 GB, free: 19.13 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002302/0.4252, allocations: 71.16 kB / 0.6439 GB, free: 19.1 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002518/0.4278, allocations: 0.9141 MB / 0.6448 GB, free: 18.61 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005873/0.4337, allocations: 2.373 MB / 0.6471 GB, free: 17.12 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005001/0.4387, allocations: 2.063 MB / 0.6491 GB, free: 16.15 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00423/0.4429, allocations: 2.76 MB / 0.6518 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001587/0.4445, allocations: 1.233 MB / 0.653 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002461/0.447, allocations: 1.368 MB / 0.6543 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001021/0.448, allocations: 0.9095 MB / 0.6552 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000149/0.4482, allocations: 69.69 kB / 0.6553 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002521/0.4507, allocations: 1.273 MB / 0.6565 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004049/0.4511, allocations: 389.6 kB / 0.6569 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004925/0.4516, allocations: 403.3 kB / 0.6573 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002785/0.4544, allocations: 2.343 MB / 0.6596 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.4544, allocations: 0 / 0.6596 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.503e-06/0.4544, allocations: 0 / 0.6596 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.142e-05/0.4545, allocations: 1.5 kB / 0.6596 GB, free: 11.85 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.003948/0.4584, allocations: 2.184 MB / 0.6617 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.4585, allocations: 9.5 kB / 0.6617 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002004/0.4605, allocations: 487.3 kB / 0.6622 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002786/0.4633, allocations: 1.535 MB / 0.6637 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003724/0.4637, allocations: 156.6 kB / 0.6638 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001846/0.4639, allocations: 120.6 kB / 0.6639 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002525/0.4664, allocations: 1.355 MB / 0.6653 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.867e-05/0.4664, allocations: 2.219 kB / 0.6653 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/0.4665, allocations: 51.88 kB / 0.6653 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.891e-05/0.4666, allocations: 40.03 kB / 0.6654 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002529/0.4691, allocations: 1.127 MB / 0.6665 GB, free: 8.312 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.008006/0.4772, allocations: 7.144 MB / 0.6734 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002349/0.4795, allocations: 1.444 MB / 0.6748 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004568/0.4841, allocations: 3.098 MB / 0.6779 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001035/0.4852, allocations: 456.5 kB / 0.6783 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005508/0.4857, allocations: 87.11 kB / 0.6784 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=62): time 2.705e-06/0.4857, allocations: 3.938 kB / 0.6784 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of matching and sorting (n=62): time 0.0031/0.4888, allocations: 1.283 MB / 0.6796 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.202e-05/0.4889, allocations: 58.69 kB / 0.6797 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002436/0.4913, allocations: 1.579 MB / 0.6812 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001212/0.4915, allocations: 42.39 kB / 0.6813 GB, free: 14 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009462/0.4924, allocations: 0.8723 MB / 0.6821 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002355/0.4927, allocations: 220.9 kB / 0.6823 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.922e-05/0.4927, allocations: 15.5 kB / 0.6824 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.4929, allocations: 348 kB / 0.6827 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000931/0.4938, allocations: 374.3 kB / 0.683 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001166/0.495, allocations: 0.7548 MB / 0.6838 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001026/0.496, allocations: 481.7 kB / 0.6842 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.496, allocations: 4 kB / 0.6842 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002785/0.4988, allocations: 1.298 MB / 0.6855 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.001572/0.5004, allocations: 4.366 MB / 0.6898 GB, free: 6.656 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.239e-05/0.5004, allocations: 14.45 kB / 0.6898 GB, free: 6.652 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.802e-05/0.5005, allocations: 18.77 kB / 0.6898 GB, free: 6.652 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/0.5015, allocations: 273.1 kB / 0.6901 GB, free: 6.625 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.728e-05/0.5016, allocations: 22.06 kB / 0.6901 GB, free: 6.621 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001532/0.5031, allocations: 140.9 kB / 0.6902 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001072/0.5032, allocations: 54.58 kB / 0.6903 GB, free: 6.582 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/0.5032, allocations: 3.875 kB / 0.6903 GB, free: 6.582 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002291/0.5055, allocations: 1.124 MB / 0.6914 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.656e-05/0.5056, allocations: 11.81 kB / 0.6914 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.5056, allocations: 16.44 kB / 0.6914 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000968/0.5066, allocations: 271.8 kB / 0.6917 GB, free: 6.133 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.395e-05/0.5066, allocations: 25.27 kB / 0.6917 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001283/0.5079, allocations: 132.2 kB / 0.6918 GB, free: 6.098 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.681e-05/0.508, allocations: 57.81 kB / 0.6919 GB, free: 6.086 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.0009234/0.5089, allocations: 482.8 kB / 0.6923 GB, free: 5.738 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002296/0.5092, allocations: 163.3 kB / 0.6925 GB, free: 5.652 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002706/0.5119, allocations: 1.158 MB / 0.6936 GB, free: 5.223 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.01e-05/0.5119, allocations: 14.95 kB / 0.6936 GB, free: 5.219 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.5119, allocations: 4.812 kB / 0.6936 GB, free: 5.215 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001918/0.5139, allocations: 1 MB / 0.6946 GB, free: 4.703 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.005305/0.5192, allocations: 2.482 MB / 0.697 GB, free: 3.543 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/0.5192, allocations: 4.969 kB / 0.697 GB, free: 3.539 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007413/0.5199, allocations: 156.1 kB / 0.6972 GB, free: 3.523 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000212/0.5202, allocations: 34.53 kB / 0.6972 GB, free: 3.512 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.089e-05/0.5202, allocations: 27.59 kB / 0.6973 GB, free: 3.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00107/0.5213, allocations: 1.376 MB / 0.6986 GB, free: 2.145 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.5213, allocations: 3.953 kB / 0.6986 GB, free: 2.141 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003102/0.5244, allocations: 1.643 MB / 0.7002 GB, free: 1.238 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006279/0.5251, allocations: 364.7 kB / 0.7006 GB, free: 0.9258 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002393/0.5253, allocations: 21.67 kB / 0.7006 GB, free: 0.9102 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00098/0.5263, allocations: 111.3 kB / 0.7007 GB, free: 0.8672 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001143/0.5264, allocations: 54.17 kB / 0.7007 GB, free: 0.8398 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.777e-05/0.5265, allocations: 31.53 kB / 0.7008 GB, free: 0.8281 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001452/0.528, allocations: 1.132 MB / 0.7019 GB, free: 192 kB / 0.5137 GB Notification: Performance of sort global known variables: time 2.51e-07/0.528, allocations: 0 / 0.7019 GB, free: 192 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002678/0.5307, allocations: 0.8985 MB / 0.7027 GB, free: 15.99 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.001399/0.5321, allocations: 0.7266 MB / 0.7035 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003227/0.5353, allocations: 1.615 MB / 0.705 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.5353, allocations: 1.375 kB / 0.705 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001122/0.5365, allocations: 0.5642 MB / 0.7056 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002758/0.5392, allocations: 0.7205 MB / 0.7063 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004785/0.544, allocations: 3.725 MB / 0.7099 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008064/0.5448, allocations: 1.396 MB / 0.7113 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001402/0.5463, allocations: 425.2 kB / 0.7117 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003081/0.5466, allocations: 146 kB / 0.7118 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of SimCode: time 6.21e-07/0.5466, allocations: 4 kB / 0.7118 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of Templates: time 0.04376/0.5903, allocations: 30.35 MB / 0.7415 GB, free: 12.65 MB / 0.5606 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe 2>&1) Environment - environmentSimulation: