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.001304/0.001304, allocations: 103.9 kB / 15.98 MB, free: 6.312 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.001188/0.001188, allocations: 197.8 kB / 16.91 MB, free: 6.16 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.38/1.38, allocations: 222.9 MB / 240.6 MB, free: 13.68 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8593/0.8593, allocations: 135.1 MB / 425.9 MB, free: 4.332 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002526/0.002526, allocations: 59.91 kB / 0.5055 GB, free: 8.758 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4193/0.4219, allocations: 80.91 MB / 0.5845 GB, free: 25.04 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T): time 0.04429/0.4662, allocations: 52.8 MB / 0.6361 GB, free: 5.867 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02247/0.4887, allocations: 15.09 MB / 0.6508 GB, free: 6.734 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003412/0.4922, allocations: 83.5 kB / 0.6509 GB, free: 6.652 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003604/0.4959, allocations: 0.9835 MB / 0.6519 GB, free: 5.668 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006728/0.5026, allocations: 2.162 MB / 0.654 GB, free: 3.5 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005937/0.5085, allocations: 2.081 MB / 0.656 GB, free: 1.438 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.007069/0.5156, allocations: 4.644 MB / 0.6605 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002999/0.5187, allocations: 1.631 MB / 0.6621 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004959/0.5236, allocations: 1.931 MB / 0.664 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002607/0.5263, allocations: 1.408 MB / 0.6654 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006258/0.5269, allocations: 172 kB / 0.6655 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004199/0.5311, allocations: 1.848 MB / 0.6674 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008279/0.532, allocations: 0.5254 MB / 0.6679 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002055/0.534, allocations: 1.038 MB / 0.6689 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004339/0.5384, allocations: 2.506 MB / 0.6713 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.5384, allocations: 0 / 0.6713 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.224e-06/0.5384, allocations: 0 / 0.6713 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.000103/0.5385, allocations: 0 / 0.6713 GB, free: 1.672 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.005444/0.544, allocations: 2.529 MB / 0.6738 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.5441, allocations: 13.11 kB / 0.6738 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002195/0.5463, allocations: 457.5 kB / 0.6742 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003733/0.55, allocations: 1.651 MB / 0.6759 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000391/0.5504, allocations: 146.4 kB / 0.676 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003107/0.5508, allocations: 120 kB / 0.6761 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003235/0.554, allocations: 1.35 MB / 0.6774 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.617e-05/0.5541, allocations: 3.938 kB / 0.6774 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001417/0.5542, allocations: 48 kB / 0.6775 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.141e-05/0.5543, allocations: 46.02 kB / 0.6775 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002828/0.5571, allocations: 1.093 MB / 0.6786 GB, free: 10.01 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.01045/0.5676, allocations: 6.963 MB / 0.6854 GB, free: 2.512 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002547/0.5701, allocations: 1.382 MB / 0.6867 GB, free: 1.016 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009703/0.5711, allocations: 422.9 kB / 0.6871 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005806/0.577, allocations: 3.087 MB / 0.6902 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00113/0.5781, allocations: 454.9 kB / 0.6906 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006885/0.5788, allocations: 67.36 kB / 0.6907 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 4.488e-06/0.5789, allocations: 0 / 0.6907 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.003262/0.5821, allocations: 1.24 MB / 0.6919 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.475e-05/0.5822, allocations: 55.97 kB / 0.6919 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002621/0.5848, allocations: 1.525 MB / 0.6934 GB, free: 9.785 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001103/0.585, allocations: 37.7 kB / 0.6934 GB, free: 9.742 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008176/0.5858, allocations: 0.8801 MB / 0.6943 GB, free: 8.852 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002405/0.586, allocations: 216.9 kB / 0.6945 GB, free: 8.637 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003633/0.5864, allocations: 206.4 kB / 0.6947 GB, free: 8.43 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.5865, allocations: 341.9 kB / 0.695 GB, free: 8.09 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00098/0.5875, allocations: 388.6 kB / 0.6954 GB, free: 7.707 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00125/0.5888, allocations: 0.7592 MB / 0.6961 GB, free: 6.773 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002181/0.591, allocations: 1.132 MB / 0.6973 GB, free: 5.484 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.568e-06/0.591, allocations: 0 / 0.6973 GB, free: 5.484 MB / 0.5294 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.003087/0.5941, allocations: 1.317 MB / 0.6985 GB, free: 4.152 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.739e-05/0.5942, allocations: 36.2 kB / 0.6986 GB, free: 4.113 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.294e-05/0.5942, allocations: 12 kB / 0.6986 GB, free: 4.102 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.395e-05/0.5942, allocations: 16 kB / 0.6986 GB, free: 4.086 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/0.5953, allocations: 260 kB / 0.6988 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.953e-05/0.5953, allocations: 27.86 kB / 0.6989 GB, free: 3.805 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001458/0.5968, allocations: 120.4 kB / 0.699 GB, free: 3.688 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001303/0.5969, allocations: 51.98 kB / 0.699 GB, free: 3.637 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001574/0.5985, allocations: 0.6776 MB / 0.6997 GB, free: 2.953 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001188/0.5997, allocations: 0.7475 MB / 0.7004 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002075/0.6018, allocations: 1.101 MB / 0.7015 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.131e-05/0.6018, allocations: 4 kB / 0.7015 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.003044/0.6049, allocations: 1.274 MB / 0.7028 GB, free: 15.48 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.214e-05/0.6049, allocations: 45.62 kB / 0.7028 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.697e-05/0.6049, allocations: 12 kB / 0.7028 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.605, allocations: 16 kB / 0.7028 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009995/0.606, allocations: 256.2 kB / 0.7031 GB, free: 15.15 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.614e-05/0.606, allocations: 19.94 kB / 0.7031 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001484/0.6075, allocations: 120.5 kB / 0.7032 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001311/0.6077, allocations: 55.98 kB / 0.7033 GB, free: 14.96 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 (121): * Single equations (assignments): 119 * 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.0003691/0.608, allocations: 255 kB / 0.7035 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005176/0.6086, allocations: 161.9 kB / 0.7037 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002953/0.6115, allocations: 1.131 MB / 0.7048 GB, free: 13.41 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.802e-05/0.6116, allocations: 15.98 kB / 0.7048 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/0.6116, allocations: 4 kB / 0.7048 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001981/0.6136, allocations: 0.9743 MB / 0.7057 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005617/0.6192, allocations: 2.405 MB / 0.7081 GB, free: 9.887 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.732e-06/0.6192, allocations: 3.938 kB / 0.7081 GB, free: 9.883 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000786/0.62, allocations: 147.9 kB / 0.7082 GB, free: 9.738 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001851/0.6202, allocations: 28.83 kB / 0.7082 GB, free: 9.707 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-05/0.6203, allocations: 23.98 kB / 0.7083 GB, free: 9.684 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001202/0.6215, allocations: 1.406 MB / 0.7096 GB, free: 8.137 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.6216, allocations: 8.094 kB / 0.7097 GB, free: 8.129 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003461/0.625, allocations: 1.573 MB / 0.7112 GB, free: 6.531 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008285/0.6259, allocations: 330.7 kB / 0.7115 GB, free: 6.188 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004651/0.6263, allocations: 23.94 kB / 0.7115 GB, free: 6.164 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001242/0.6276, allocations: 103.8 kB / 0.7116 GB, free: 6.062 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001468/0.6278, allocations: 64.52 kB / 0.7117 GB, free: 6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.813e-05/0.6279, allocations: 27.98 kB / 0.7117 GB, free: 5.973 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00209/0.63, allocations: 1.077 MB / 0.7128 GB, free: 4.871 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.11e-07/0.63, allocations: 0 / 0.7128 GB, free: 4.871 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003151/0.6331, allocations: 0.8732 MB / 0.7136 GB, free: 3.996 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 (72): * Single equations (assignments): 63 * 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.00202/0.6352, allocations: 0.7223 MB / 0.7143 GB, free: 3.434 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.004122/0.6393, allocations: 1.668 MB / 0.716 GB, free: 1.746 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/0.6393, allocations: 4.562 kB / 0.716 GB, free: 1.742 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001269/0.6406, allocations: 0.5453 MB / 0.7165 GB, free: 1.188 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003841/0.6445, allocations: 0.7695 MB / 0.7172 GB, free: 460 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006649/0.6511, allocations: 3.783 MB / 0.7209 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001185/0.6523, allocations: 1.36 MB / 0.7223 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005704/0.6529, allocations: 147.4 kB / 0.7224 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of SimCode: time 1.272e-06/0.6529, allocations: 0 / 0.7224 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of Templates: time 0.3897/1.043, allocations: 32.99 MB / 0.7546 GB, free: 151.1 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)