Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u.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_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u") translateModel(IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 106.2 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.001045/0.001045, allocations: 189.8 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.341/1.341, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8001/0.8001, allocations: 135.1 MB / 426.2 MB, free: 4.227 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001839/0.001839, allocations: 59.91 kB / 0.506 GB, free: 8.43 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/0.3623, allocations: 80.91 MB / 0.585 GB, free: 25.46 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u): time 0.06277/0.4251, allocations: 66.98 MB / 0.6504 GB, free: 7.598 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02656/0.4517, allocations: 16.75 MB / 0.6668 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003623/0.4554, allocations: 103.4 kB / 0.6669 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003967/0.4594, allocations: 1.169 MB / 0.668 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.008481/0.468, allocations: 2.649 MB / 0.6706 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006964/0.475, allocations: 2.324 MB / 0.6729 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.008043/0.483, allocations: 5.351 MB / 0.6781 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00386/0.4869, allocations: 1.903 MB / 0.6799 GB, free: 9.25 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005513/0.4924, allocations: 2.082 MB / 0.682 GB, free: 7.168 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002978/0.4954, allocations: 1.493 MB / 0.6834 GB, free: 5.668 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0008674/0.4963, allocations: 192 kB / 0.6836 GB, free: 5.48 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004691/0.501, allocations: 1.958 MB / 0.6855 GB, free: 3.52 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001047/0.5021, allocations: 0.5606 MB / 0.6861 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002441/0.5045, allocations: 1.135 MB / 0.6872 GB, free: 1.816 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.007329/0.5119, allocations: 3.595 MB / 0.6907 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/0.5119, allocations: 0 / 0.6907 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.978e-06/0.512, allocations: 3.984 kB / 0.6907 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001382/0.5121, allocations: 0 / 0.6907 GB, free: 14.21 MB / 0.5294 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.006372/0.5185, allocations: 2.675 MB / 0.6933 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.5185, allocations: 13.11 kB / 0.6933 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001828/0.5204, allocations: 369.9 kB / 0.6937 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004037/0.5244, allocations: 1.737 MB / 0.6954 GB, free: 9.293 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004582/0.5249, allocations: 162.4 kB / 0.6955 GB, free: 9.133 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003458/0.5253, allocations: 132 kB / 0.6957 GB, free: 9.004 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003312/0.5286, allocations: 1.42 MB / 0.697 GB, free: 7.496 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.053e-05/0.5287, allocations: 11.89 kB / 0.6971 GB, free: 7.484 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001641/0.5288, allocations: 56 kB / 0.6971 GB, free: 7.43 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-05/0.5289, allocations: 50.25 kB / 0.6972 GB, free: 7.379 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00281/0.5317, allocations: 1.106 MB / 0.6982 GB, free: 6.266 MB / 0.5294 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.01113/0.5429, allocations: 7.421 MB / 0.7055 GB, free: 14.28 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002316/0.5452, allocations: 1.302 MB / 0.7068 GB, free: 12.86 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001023/0.5462, allocations: 462.5 kB / 0.7072 GB, free: 12.41 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004827/0.5511, allocations: 2.631 MB / 0.7098 GB, free: 9.543 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0011/0.5522, allocations: 482.6 kB / 0.7102 GB, free: 9.047 MB / 0.545 GB Notification: Performance of pre-optimization done (n=63): time 2.184e-06/0.5522, allocations: 0 / 0.7102 GB, free: 9.047 MB / 0.545 GB Notification: Performance of matching and sorting (n=63): time 0.003279/0.5555, allocations: 1.221 MB / 0.7114 GB, free: 7.797 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.899e-05/0.5556, allocations: 111.4 kB / 0.7115 GB, free: 7.664 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00216/0.5578, allocations: 1.48 MB / 0.713 GB, free: 6.184 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 9.448e-05/0.5579, allocations: 45.7 kB / 0.713 GB, free: 6.133 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008052/0.5587, allocations: 0.8957 MB / 0.7139 GB, free: 5.227 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002356/0.5589, allocations: 228.8 kB / 0.7141 GB, free: 5 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003092/0.5593, allocations: 206.4 kB / 0.7143 GB, free: 4.793 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.5594, allocations: 345.9 kB / 0.7146 GB, free: 4.449 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009217/0.5603, allocations: 376.6 kB / 0.715 GB, free: 4.078 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001219/0.5616, allocations: 0.7398 MB / 0.7157 GB, free: 3.18 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002079/0.5636, allocations: 1.09 MB / 0.7168 GB, free: 1.945 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.244e-06/0.5637, allocations: 4 kB / 0.7168 GB, free: 1.941 MB / 0.545 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002892/0.5666, allocations: 1.27 MB / 0.718 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.003e-05/0.5666, allocations: 45.69 kB / 0.7181 GB, free: 0.6055 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.812e-05/0.5667, allocations: 8 kB / 0.7181 GB, free: 0.5977 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.569e-05/0.5667, allocations: 16.62 kB / 0.7181 GB, free: 0.582 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009646/0.5677, allocations: 243.6 kB / 0.7183 GB, free: 352 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.568e-05/0.5677, allocations: 23.92 kB / 0.7183 GB, free: 328 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001201/0.5689, allocations: 139.5 kB / 0.7185 GB, free: 188 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001083/0.569, allocations: 51.98 kB / 0.7185 GB, free: 136 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001512/0.5706, allocations: 0.6854 MB / 0.7192 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001148/0.5717, allocations: 0.7203 MB / 0.7199 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002024/0.5737, allocations: 1.063 MB / 0.7209 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.883e-06/0.5738, allocations: 4.125 kB / 0.7209 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.002771/0.5765, allocations: 1.251 MB / 0.7222 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.715e-05/0.5766, allocations: 38.27 kB / 0.7222 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/0.5766, allocations: 16 kB / 0.7222 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.5766, allocations: 19.98 kB / 0.7222 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/0.5777, allocations: 243.6 kB / 0.7225 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.941e-05/0.5777, allocations: 19.92 kB / 0.7225 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001126/0.5788, allocations: 123.9 kB / 0.7226 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.93e-05/0.5789, allocations: 47.98 kB / 0.7226 GB, free: 11.57 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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.0003973/0.5793, allocations: 259.8 kB / 0.7229 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002927/0.5796, allocations: 165.9 kB / 0.7231 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002735/0.5824, allocations: 1.065 MB / 0.7241 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-05/0.5824, allocations: 12 kB / 0.7241 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/0.5824, allocations: 0 / 0.7241 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00181/0.5842, allocations: 0.7925 MB / 0.7249 GB, free: 9.25 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004842/0.5891, allocations: 2.696 MB / 0.7275 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/0.5891, allocations: 4 kB / 0.7275 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007376/0.5899, allocations: 156 kB / 0.7277 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001662/0.59, allocations: 24.84 kB / 0.7277 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.918e-05/0.5901, allocations: 27.98 kB / 0.7277 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001128/0.5913, allocations: 1.437 MB / 0.7291 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.5913, allocations: 0 / 0.7291 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003379/0.5947, allocations: 1.576 MB / 0.7307 GB, free: 3.059 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006592/0.5953, allocations: 358.5 kB / 0.731 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000216/0.5956, allocations: 16.12 kB / 0.731 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009015/0.5965, allocations: 67.94 kB / 0.7311 GB, free: 2.605 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001575/0.5966, allocations: 60.42 kB / 0.7311 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.579e-05/0.5967, allocations: 31.97 kB / 0.7312 GB, free: 2.516 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001635/0.5984, allocations: 1.07 MB / 0.7322 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.31e-07/0.5984, allocations: 0 / 0.7322 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002536/0.6009, allocations: 0.9353 MB / 0.7331 GB, free: 496 kB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (75): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.00126/0.6022, allocations: 0.5501 MB / 0.7337 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004031/0.6062, allocations: 1.652 MB / 0.7353 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.6063, allocations: 0 / 0.7353 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001231/0.6075, allocations: 0.5451 MB / 0.7358 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004118/0.6116, allocations: 0.896 MB / 0.7367 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005925/0.6176, allocations: 3.229 MB / 0.7398 GB, free: 9.582 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00102/0.6186, allocations: 1.388 MB / 0.7412 GB, free: 8.16 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004796/0.6191, allocations: 151.3 kB / 0.7413 GB, free: 8.012 MB / 0.5762 GB Notification: Performance of SimCode: time 1.233e-06/0.6191, allocations: 0 / 0.7413 GB, free: 8.012 MB / 0.5762 GB Notification: Performance of Templates: time 0.322/0.9412, allocations: 35.14 MB / 0.7757 GB, free: 139.3 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe 2>&1)