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.001552/0.001552, allocations: 101.1 kB / 16.27 MB, free: 6.414 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.001478/0.001478, allocations: 190.3 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.329/1.329, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8101/0.8101, allocations: 135.2 MB / 426.2 MB, free: 4.164 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001829/0.001829, allocations: 63.91 kB / 0.506 GB, free: 8.359 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.346, allocations: 80.92 MB / 0.5851 GB, free: 25.38 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T): time 0.04988/0.3959, allocations: 53.25 MB / 0.6371 GB, free: 5.176 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02408/0.42, allocations: 15.2 MB / 0.6519 GB, free: 5.93 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002991/0.423, allocations: 87.5 kB / 0.652 GB, free: 5.844 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003615/0.4267, allocations: 1.103 MB / 0.6531 GB, free: 4.738 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006777/0.4335, allocations: 2.339 MB / 0.6554 GB, free: 2.391 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006334/0.4398, allocations: 2.264 MB / 0.6576 GB, free: 148 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.007026/0.4469, allocations: 4.621 MB / 0.6621 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003209/0.4501, allocations: 1.619 MB / 0.6637 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004907/0.455, allocations: 1.901 MB / 0.6655 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002419/0.4575, allocations: 1.353 MB / 0.6668 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005823/0.4581, allocations: 168 kB / 0.667 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004135/0.4622, allocations: 1.841 MB / 0.6688 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008488/0.4631, allocations: 0.5177 MB / 0.6693 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001981/0.4651, allocations: 1.038 MB / 0.6703 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.006471/0.4715, allocations: 3.279 MB / 0.6735 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.4716, allocations: 0 / 0.6735 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.824e-06/0.4716, allocations: 0 / 0.6735 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.394e-05/0.4717, allocations: 0 / 0.6735 GB, free: 15.74 MB / 0.5137 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.005539/0.4772, allocations: 2.525 MB / 0.676 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.4773, allocations: 9.109 kB / 0.676 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002296/0.4796, allocations: 461.5 kB / 0.6764 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003695/0.4833, allocations: 1.596 MB / 0.678 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000399/0.4837, allocations: 150.4 kB / 0.6781 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002669/0.484, allocations: 120 kB / 0.6782 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002942/0.487, allocations: 1.346 MB / 0.6796 GB, free: 9.332 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.159e-05/0.487, allocations: 7.938 kB / 0.6796 GB, free: 9.324 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001257/0.4872, allocations: 48 kB / 0.6796 GB, free: 9.277 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.385e-05/0.4872, allocations: 49.98 kB / 0.6797 GB, free: 9.227 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002867/0.4901, allocations: 1.085 MB / 0.6807 GB, free: 8.133 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 preOpt removeSimpleEquations (simulation): time 0.01026/0.5004, allocations: 7.126 MB / 0.6877 GB, free: 468 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002592/0.503, allocations: 1.377 MB / 0.689 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009676/0.504, allocations: 422.9 kB / 0.6894 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005328/0.5093, allocations: 3.079 MB / 0.6924 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001064/0.5104, allocations: 442.8 kB / 0.6929 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=60): time 2.635e-06/0.5104, allocations: 0 / 0.6929 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of matching and sorting (n=60): time 0.003232/0.5136, allocations: 1.217 MB / 0.694 GB, free: 9.438 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.077e-05/0.5137, allocations: 67.95 kB / 0.6941 GB, free: 9.359 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002186/0.5159, allocations: 1.529 MB / 0.6956 GB, free: 7.828 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 8.958e-05/0.516, allocations: 49.64 kB / 0.6957 GB, free: 7.773 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007933/0.5168, allocations: 0.8722 MB / 0.6965 GB, free: 6.891 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002144/0.517, allocations: 216.9 kB / 0.6967 GB, free: 6.676 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003022/0.5173, allocations: 202.4 kB / 0.6969 GB, free: 6.473 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.5175, allocations: 345.9 kB / 0.6972 GB, free: 6.129 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009804/0.5185, allocations: 388.6 kB / 0.6976 GB, free: 5.746 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001286/0.5198, allocations: 0.7515 MB / 0.6983 GB, free: 4.824 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002172/0.522, allocations: 1.128 MB / 0.6994 GB, free: 3.535 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.522, allocations: 0 / 0.6994 GB, free: 3.535 MB / 0.5294 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002956/0.5249, allocations: 1.309 MB / 0.7007 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.548e-05/0.525, allocations: 33.7 kB / 0.7008 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.722e-05/0.525, allocations: 12 kB / 0.7008 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.121e-05/0.5251, allocations: 16 kB / 0.7008 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009654/0.526, allocations: 256 kB / 0.701 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.38e-05/0.5261, allocations: 23.92 kB / 0.701 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001102/0.5272, allocations: 143.6 kB / 0.7012 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.114e-05/0.5273, allocations: 51.98 kB / 0.7012 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001513/0.5288, allocations: 0.6738 MB / 0.7019 GB, free: 1 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001276/0.5301, allocations: 0.7514 MB / 0.7026 GB, free: 80 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002151/0.5323, allocations: 1.086 MB / 0.7037 GB, free: 14.84 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.111e-05/0.5323, allocations: 4 kB / 0.7037 GB, free: 14.83 MB / 0.545 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.002885/0.5352, allocations: 1.274 MB / 0.7049 GB, free: 13.54 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.914e-05/0.5352, allocations: 37.69 kB / 0.705 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.5353, allocations: 12 kB / 0.705 GB, free: 13.49 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.5353, allocations: 16 kB / 0.705 GB, free: 13.47 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009606/0.5362, allocations: 256.2 kB / 0.7052 GB, free: 13.22 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.18e-05/0.5363, allocations: 19.94 kB / 0.7053 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001147/0.5374, allocations: 124 kB / 0.7054 GB, free: 13.08 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.869e-05/0.5375, allocations: 51.98 kB / 0.7054 GB, free: 13.03 MB / 0.545 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 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003423/0.5379, allocations: 255.2 kB / 0.7057 GB, free: 12.78 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000253/0.5381, allocations: 169.9 kB / 0.7058 GB, free: 12.61 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002746/0.5409, allocations: 1.124 MB / 0.7069 GB, free: 11.48 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-05/0.5409, allocations: 8 kB / 0.7069 GB, free: 11.47 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.036e-06/0.5409, allocations: 0 / 0.7069 GB, free: 11.47 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002017/0.543, allocations: 0.9665 MB / 0.7079 GB, free: 10.45 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004717/0.5477, allocations: 2.42 MB / 0.7102 GB, free: 7.957 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-06/0.5477, allocations: 0 / 0.7102 GB, free: 7.957 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007376/0.5485, allocations: 147.9 kB / 0.7104 GB, free: 7.812 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001601/0.5486, allocations: 24.84 kB / 0.7104 GB, free: 7.785 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.798e-05/0.5487, allocations: 23.97 kB / 0.7104 GB, free: 7.762 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00119/0.5499, allocations: 1.41 MB / 0.7118 GB, free: 6.211 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.5499, allocations: 4.094 kB / 0.7118 GB, free: 6.207 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003426/0.5533, allocations: 1.549 MB / 0.7133 GB, free: 4.633 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006645/0.554, allocations: 342.6 kB / 0.7137 GB, free: 4.277 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001964/0.5542, allocations: 23.92 kB / 0.7137 GB, free: 4.254 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008257/0.5551, allocations: 63.88 kB / 0.7137 GB, free: 4.191 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/0.5552, allocations: 52.56 kB / 0.7138 GB, free: 4.141 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.998e-05/0.5553, allocations: 35.97 kB / 0.7138 GB, free: 4.105 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001612/0.5569, allocations: 1.093 MB / 0.7149 GB, free: 2.988 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.9e-07/0.5569, allocations: 0 / 0.7149 GB, free: 2.988 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002333/0.5592, allocations: 0.8615 MB / 0.7157 GB, free: 2.125 MB / 0.545 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002141/0.5614, allocations: 0.7199 MB / 0.7164 GB, free: 1.559 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.004104/0.5655, allocations: 1.656 MB / 0.718 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/0.5655, allocations: 8.062 kB / 0.7181 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00125/0.5668, allocations: 0.5369 MB / 0.7186 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003444/0.5702, allocations: 0.7749 MB / 0.7193 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0058/0.5761, allocations: 3.153 MB / 0.7224 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00105/0.5772, allocations: 1.356 MB / 0.7237 GB, free: 10 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005349/0.5777, allocations: 143.4 kB / 0.7239 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of SimCode: time 1.062e-06/0.5777, allocations: 4 kB / 0.7239 GB, free: 9.855 MB / 0.5606 GB Notification: Performance of Templates: time 0.303/0.8807, allocations: 33.23 MB / 0.7563 GB, free: 151.4 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.makefile (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)